CVE-2022-49479

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

State
Published
Severity
8.8 High
Published
Feb 26, 2025
Updated
Aug 5, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • bd1e3e7b693c17a04e7d2bd9119daa482b7c7720 to before ef7f9f894cfd0b2e471206409a529af4a26ddd55Affected
  • bd1e3e7b693c17a04e7d2bd9119daa482b7c7720 to before ddd426d72aca4054045a9bd3b80a4ce1d398f11fAffected
  • bd1e3e7b693c17a04e7d2bd9119daa482b7c7720 to before fcfe1b5e162bf473c1d47760962cec8523c00466Affected
LinuxLinux
  • 5.16Affected
  • before 5.16Not affected
  • 5.17.14 through 5.17.*Not affected
  • 5.18.3 through 5.18.*Not affected
  • 5.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.