wifi: mac80211: drop stray 'static' from fast-RX rx_result
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: mac80211: drop stray 'static' from fast-RX rx_result
ieee80211_invoke_fast_rx() is documented as safe for parallel RX, but its per-invocation rx_result is declared static. Concurrent callers then share one instance and can overwrite each other's result between ieee80211_rx_mesh_data() and the switch on res.
That can make a packet that was queued or consumed by ieee80211_rx_mesh_data() fall through into ieee80211_rx_8023(), or make a packet that should continue return as queued.
Make res an automatic variable so each invocation keeps its own result.
From the CVE record · Linux
In the Linux kernel's mac80211 fast-RX path, concurrent receive calls can overwrite a shared result. This can cause a packet already queued or consumed by mesh processing to enter another receive path, or cause a packet that should continue to be treated as queued. The input does not establish an attacker capability, authentication requirement, or user-interaction requirement.
Engineers running Linux kernels with mac80211 should check their kernel vendor's advisory for affected versions.