wifi: mac80211: avoid out-of-bounds read for empty PREQ elements
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 3beddbd56946577478fd5e649f556aaaebe15b0a and Kernel e6031f02269c0f51cf67886d177f02bc300b47cd.
In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: avoid out-of-bounds read for empty PREQ elements ieee80211_mesh_preq_size_ok() derives the location of the PREQ bottom fields before checking whether the element contains even the fixed header. ieee80211_mesh_hwmp_preq_get_bottom() reads the flags byte to account for the optional Address Extension field. Consequently, an empty PREQ element causes a one-byte read beyond its declared payload. Move the helper call after both size checks, so the bottom fields are only accessed when they are present.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =7.2, >=8b40b1d24a6099fe9fac8e207d4cb04ab5e0baae <3beddbd56946577478fd5e649f556aaaebe15b0a, >=8b40b1d24a6099fe9fac8e207d4cb04ab5e0baae <e6031f02269c0f51cf67886d177f02bc300b47cd | 3beddbd56946577478fd5e649f556aaaebe15b0a, e6031f02269c0f51cf67886d177f02bc300b47cd |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket