mt76: fix tx status related use-after-free race on station removal
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
5.17.145.18.35.19In 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
From the CVE record · Linux
The Linux kernel’s mt76 driver has a use-after-free race during station removal. Ongoing transmit activity can add a packet to status tracking after cleanup, leaving the station identifier linked in the status poll list. The input does not specify attacker access requirements or user interaction.
Engineers running Linux kernels with the mt76 driver should check their kernel versions; affected versions are not specified.