Linux
wifi: mac80211: defer link RX stats percpu free to RCU
In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: defer link RX stats percpu free to RCU sta_remove_link() frees a removed MLO link's RX stats percpu buffer right away, but defers only the link container to RCU: sta_info_free_link(&alloc->info); kfree_rcu(alloc, rcu_head); The RX fast path reads link_sta under rcu_read_lock and writes the percpu stats. A reader that resolved link_sta before the removal keeps the pointer. The container stays alive from the kfree_rcu, so the read still works. But the percpu block it points to is already freed. This needs uses_rss. That is when pcpu_rx_stats exists. The full STA teardown frees the deflink stats only after synchronize_net(). The link removal path had no such barrier. The race is hard to win in practice, but the free should still wait for RCU. Free the link together with its data from a single RCU callback, so the percpu block is reclaimed only after readers drain.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= c71420db653aba30a234d1e4cf86dde376e604fa, < acd5931d5adf12f0163f83dc00320e7011f4da92
- >= c71420db653aba30a234d1e4cf86dde376e604fa, < a5afc00280986063f1c355821544fabbb2a960f7
- >= c71420db653aba30a234d1e4cf86dde376e604fa, < b679c1cffb2f3d0854b8b05ea9e909ad6489046f
- >= c71420db653aba30a234d1e4cf86dde376e604fa, < 2aa1789880fa5e41049b0f6a74a4fc2fa1997610
- >= c71420db653aba30a234d1e4cf86dde376e604fa, < a03fceae0c65b31ce31840dac5e26684ceecb65b
- >= c71420db653aba30a234d1e4cf86dde376e604fa, < aa2eb62525188269cdd402a583b9a8ed94657ff0
Fixed in acd5931d5adf12f0163f83dc00320e7011f4da92, a5afc00280986063f1c355821544fabbb2a960f7, b679c1cffb2f3d0854b8b05ea9e909ad6489046f, 2aa1789880fa5e41049b0f6a74a4fc2fa1997610, a03fceae0c65b31ce31840dac5e26684ceecb65b, aa2eb62525188269cdd402a583b9a8ed94657ff0
- 6.0
Fixed in 0, 6.1.191, 6.6.160, 6.12.114, 6.18.42, 7.1.6, 7.2
Mitigation
Upgrade Linux to acd5931d5adf12f0163f83dc00320e7011f4da92 or a5afc00280986063f1c355821544fabbb2a960f7 or b679c1cffb2f3d0854b8b05ea9e909ad6489046f or 2aa1789880fa5e41049b0f6a74a4fc2fa1997610 or a03fceae0c65b31ce31840dac5e26684ceecb65b or aa2eb62525188269cdd402a583b9a8ed94657ff0 or later.
Upgrade Linux to 0 or 6.1.191 or 6.6.160 or 6.12.114 or 6.18.42 or 7.1.6 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.