What’s Vulnerable › Vulnerabilities
CVE-2021-47138: cxgb4: avoid accessing registers when clearing filters
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-03-25 · updated 2026-06-17
- Weakness: CWE-787
Description
In the Linux kernel, the following vulnerability has been resolved: cxgb4: avoid accessing registers when clearing filters Hardware register having the server TID base can contain invalid values when adapter is in bad state (for example, due to AER fatal error). Reading these invalid values in the register can lead to out-of-bound memory access. So, fix by using the saved server TID base when clearing filters.
Affected products
- Linux kernel: from 5.2 before 5.4.124; from 5.5 before 5.10.42; from 5.11 before 5.12.9; 5.13-rc1, 5.13-rc2, 5.13-rc3 — fixed in 5.10.42, 5.12.9, 5.4.124
How to fix
Upgrade to a fixed version: Linux kernel 5.10.42, 5.12.9, 5.4.124. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/02f03883fdb10ad7e66717c70ea163a8d27ae6e7
- https://git.kernel.org/stable/c/0bf49b3c8d8b3a43ce09f1b2db70e5484d31fcdf
- https://git.kernel.org/stable/c/285207a558ab456aa7d8aa877ecc7e91fcc51710
- https://git.kernel.org/stable/c/88c380df84fbd03f9b137c2b9d0a44b9f2f553b0
- https://git.kernel.org/stable/c/02f03883fdb10ad7e66717c70ea163a8d27ae6e7
- https://git.kernel.org/stable/c/0bf49b3c8d8b3a43ce09f1b2db70e5484d31fcdf
- https://git.kernel.org/stable/c/285207a558ab456aa7d8aa877ecc7e91fcc51710
- https://git.kernel.org/stable/c/88c380df84fbd03f9b137c2b9d0a44b9f2f553b0
Get alerted when CVE-2021-47138 or the next vulnerability affects your stack