# CVE-2021-47138: cxgb4: avoid accessing registers when clearing filters

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-03-25T09:07:37.414Z
- Modified: 2026-06-17T04:16:37.710Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from b1a79360ee862f8ada4798ad2346fa45bb41b527 before 0bf49b3c8d8b3a43ce09f1b2db70e5484d31fcdf; from b1a79360ee862f8ada4798ad2346fa45bb41b527 before 02f03883fdb10ad7e66717c70ea163a8d27ae6e7; from b1a79360ee862f8ada4798ad2346fa45bb41b527 before 285207a558ab456aa7d8aa877ecc7e91fcc51710; from b1a79360ee862f8ada4798ad2346fa45bb41b527 before 88c380df84fbd03f9b137c2b9d0a44b9f2f553b0; 5.2 (not affected: before 5.2; from 5.4.124 up to 5.4.*; from 5.10.42 up to 5.10.*; from 5.12.9 up to 5.12.*; from 5.13 up to *)
- linux 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

## References

- <https://git.kernel.org/stable/c/0bf49b3c8d8b3a43ce09f1b2db70e5484d31fcdf> (patch)
- <https://git.kernel.org/stable/c/02f03883fdb10ad7e66717c70ea163a8d27ae6e7> (patch)
- <https://git.kernel.org/stable/c/285207a558ab456aa7d8aa877ecc7e91fcc51710> (patch)
- <https://git.kernel.org/stable/c/88c380df84fbd03f9b137c2b9d0a44b9f2f553b0> (patch)

## Sources

- CVE List: [CVE-2021-47138](https://www.cve.org/CVERecord?id=CVE-2021-47138), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47138](https://nvd.nist.gov/vuln/detail/CVE-2021-47138), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47138 · Whole record: https://cve.day/CVE-2021-47138.json · Rebuilt by cve.day 2026-11-25T22:58:08.682Z
