wifi: mac80211: fix mesh fast xmit path deletion UAF
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ee3aadc43ea69d98f666431e787137ac0badbb85, Kernel 0117f1aa189495e6f1ff608681678817995aee39, Kernel 128e800a41270ab197b1cc8043637a2924865608 and 6 more.
In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: fix mesh fast xmit path deletion UAF mesh_fast_tx_cache() stores raw mesh_path pointers. Path deletion flushes the cache and then frees the path with kfree_rcu(), but a lookup that already holds the path can insert a new cache entry after the flush. The cache then points at freed memory. Set MESH_PATH_DELETED before flushing, and skip inserting a cache entry if the path or MPP path is already deleted. Check this under the cache walk lock so it is ordered with the flush. Use WRITE_ONCE() for the deletion flag updates because the cache check reads flags without taking state_lock.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=d5edb9ae8d568745f893c5c5fa3837d85311b131 <ee3aadc43ea69d98f666431e787137ac0badbb85, >=d5edb9ae8d568745f893c5c5fa3837d85311b131 <0117f1aa189495e6f1ff608681678817995aee39, >=d5edb9ae8d568745f893c5c5fa3837d85311b131 <128e800a41270ab197b1cc8043637a2924865608, >=d5edb9ae8d568745f893c5c5fa3837d85311b131 <93da3ec938bfdcfb3899428f04c6d0c56fe32952, >=d5edb9ae8d568745f893c5c5fa3837d85311b131 <ebb7cba623d38733d33d79a8c7442f5ea04c0fb0, =6.4 | ee3aadc43ea69d98f666431e787137ac0badbb85, 0117f1aa189495e6f1ff608681678817995aee39, 128e800a41270ab197b1cc8043637a2924865608, 93da3ec938bfdcfb3899428f04c6d0c56fe32952, ebb7cba623d38733d33d79a8c7442f5ea04c0fb0 |
| linux-kernel: Kernel | >=6.19.0 <7.2.10, >=6.4.0 <6.6.160, >=6.7.0 <6.12.113, >=6.13.0 <6.18.56 | 7.2.10, 6.6.160, 6.12.113, 6.18.56 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket