wifi: mac80211: avoid out-of-bounds read for empty PREQ elements
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 7.2.8
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 8b40b1d24a6099fe9fac8e207d4cb04ab5e0baae · fixed in 3beddbd56946577478fd5e649f556aaaebe15b0a; From 8b40b1d24a6099fe9fac8e207d4cb04ab5e0baae · fixed in e6031f02269c0f51cf67886d177f02bc300b47cd
- Linux Linux
7.2
- KernelLinux
From 7.2.0 · fixed in 7.2.8