wifi: mac80211: free AP_VLAN bc_buf SKBs outside IRQ lock
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f3858d5b1432098c1936e03d6e03dd0e33facf60, Kernel 0d2619e708e2ef02ba1c91642ea261d3f19d8f9a, Kernel 4b8abf43bf34791c99d99dc3be13f897adefc461 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: free AP_VLAN bc_buf SKBs outside IRQ lock ieee80211_do_stop() removes AP_VLAN packets from the parent AP ps->bc_buf while holding ps->bc_buf.lock with IRQs disabled. It then calls ieee80211_free_txskb() before dropping the lock. ieee80211_free_txskb() is not just a passive SKB release. For SKBs with TX status state it can report a dropped frame through cfg80211/nl80211, and that path can reach netlink tap transmit. This is the same reason the pending queue cleanup in ieee80211_do_stop() already unlinks SKBs under the queue lock and frees them after IRQ state is restored. The buggy scenario involves two paths, with each column showing the order within that path: AP_VLAN management TX: AP_VLAN stop: 1. attach ACK-status state 1. clear the running state 2. queue a multicast SKB on 2. take ps->bc_buf.lock with IRQs parent ps->bc_buf disabled 3. unlink the AP_VLAN SKB 4. call ieee80211_free_txskb() Unlink matching AP_VLAN SKBs from ps->bc_buf under the existing lock, but move them to a local free queue. Drop the lock and restore IRQ state before calling ieee80211_free_txskb(). WARNING: kernel/softirq.c:430 at __local_bh_enable_ip
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=397a7a24ef8c2967a3e8090013f9c54714110c48 <f3858d5b1432098c1936e03d6e03dd0e33facf60, >=397a7a24ef8c2967a3e8090013f9c54714110c48 <0d2619e708e2ef02ba1c91642ea261d3f19d8f9a, >=397a7a24ef8c2967a3e8090013f9c54714110c48 <4b8abf43bf34791c99d99dc3be13f897adefc461, >=397a7a24ef8c2967a3e8090013f9c54714110c48 <659a81b62a61440b85e02c09903be861ae7679e5, >=397a7a24ef8c2967a3e8090013f9c54714110c48 <962f755a47d7ec3bbf6c709697d7f4c5f798441d, >=397a7a24ef8c2967a3e8090013f9c54714110c48 <a424985c3ef2a87ce6057a853e18d0c441a86be8, >=397a7a24ef8c2967a3e8090013f9c54714110c48 <aa01ef0ebbc3289154229ef58e65baf289eb9789, >=397a7a24ef8c2967a3e8090013f9c54714110c48 <be9dfcb0654c1f6c0fce7ba2a909683bb6f1e0ef, =3.9 | f3858d5b1432098c1936e03d6e03dd0e33facf60, 0d2619e708e2ef02ba1c91642ea261d3f19d8f9a, 4b8abf43bf34791c99d99dc3be13f897adefc461, 659a81b62a61440b85e02c09903be861ae7679e5, 962f755a47d7ec3bbf6c709697d7f4c5f798441d, a424985c3ef2a87ce6057a853e18d0c441a86be8, aa01ef0ebbc3289154229ef58e65baf289eb9789, be9dfcb0654c1f6c0fce7ba2a909683bb6f1e0ef |
| linux-kernel: Kernel | >=5.11.0 <5.15.216, >=5.16.0 <6.1.183, >=6.13.0 <6.18.42, >=6.19.0 <7.1.6, >=6.2.0 <6.6.148, >=6.7.0 <6.12.101, >=3.9.0 <5.10.265 | 5.15.216, 6.1.183, 6.18.42, 7.1.6, 6.6.148, 6.12.101, 5.10.265 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket