# CVE-2021-46949: sfc: farch: fix TX queue lookup in TX flush done handling

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/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.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-02-27T18:40:33.496Z
- Modified: 2026-06-17T04:15:57.053Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

sfc: farch: fix TX queue lookup in TX flush done handling

We're starting from a TXQ instance number ('qid'), not a TXQ type, so
 efx_get_tx_queue() is inappropriate (and could return NULL, leading
 to panics).

(As written by CVE List.)

## Affected

- Linux Linux: from 12804793b17c0e19115a90d98f2f3df0cb79e233 before fb791572d6747ef385f628450f8d57cd132e6e5a; from 12804793b17c0e19115a90d98f2f3df0cb79e233 before a1570985ec04116cc665b760faf666a104154170; from 12804793b17c0e19115a90d98f2f3df0cb79e233 before 98d91180748986bfb6dfb3e72765f3225719a647; from 12804793b17c0e19115a90d98f2f3df0cb79e233 before 5b1faa92289b53cad654123ed2bc8e10f6ddd4ac; 5.10 (not affected: before 5.10; from 5.10.36 up to 5.10.*; from 5.11.20 up to 5.11.*; from 5.12.3 up to 5.12.*; from 5.13 up to *)
- linux linux_kernel: from 5.10.0 before 5.10.36; from 5.11.0 before 5.11.20; from 5.12.0 before 5.12.3

## References

- <https://git.kernel.org/stable/c/fb791572d6747ef385f628450f8d57cd132e6e5a> (patch)
- <https://git.kernel.org/stable/c/a1570985ec04116cc665b760faf666a104154170> (patch)
- <https://git.kernel.org/stable/c/98d91180748986bfb6dfb3e72765f3225719a647> (patch)
- <https://git.kernel.org/stable/c/5b1faa92289b53cad654123ed2bc8e10f6ddd4ac> (patch)

## Sources

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

---

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