# CVE-2022-49479: mt76: fix tx status related use-after-free race on station removal

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/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.31%, higher than 26% of CVEs (2026-12-01)
- Published: 2025-02-26T02:13:20.011Z
- Modified: 2026-08-05T08:55:21.441Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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

mt76: fix tx status related use-after-free race on station removal

There is a small race window where ongoing tx activity can lead to a skb
getting added to the status tracking idr after that idr has already been
cleaned up, which will keep the wcid linked in the status poll list.
Fix this by only adding status skbs if the wcid pointer is still assigned
in dev->wcid, which gets cleared early by mt76_sta_pre_rcu_remove

(As written by CVE List.)

## Affected

- Linux Linux: from bd1e3e7b693c17a04e7d2bd9119daa482b7c7720 before ef7f9f894cfd0b2e471206409a529af4a26ddd55; from bd1e3e7b693c17a04e7d2bd9119daa482b7c7720 before ddd426d72aca4054045a9bd3b80a4ce1d398f11f; from bd1e3e7b693c17a04e7d2bd9119daa482b7c7720 before fcfe1b5e162bf473c1d47760962cec8523c00466; 5.16 (not affected: before 5.16; from 5.17.14 up to 5.17.*; from 5.18.3 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 5.16 before 5.17.14; from 5.18 before 5.18.3

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/ef7f9f894cfd0b2e471206409a529af4a26ddd55> (patch)
- <https://git.kernel.org/stable/c/ddd426d72aca4054045a9bd3b80a4ce1d398f11f> (patch)
- <https://git.kernel.org/stable/c/fcfe1b5e162bf473c1d47760962cec8523c00466> (patch)

## Sources

- CVE List: [CVE-2022-49479](https://www.cve.org/CVERecord?id=CVE-2022-49479), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-49479](https://nvd.nist.gov/vuln/detail/CVE-2022-49479), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-49479 · Whole record: https://cve.day/CVE-2022-49479.json · Rebuilt by cve.day 2026-11-25T22:58:20.681Z
