Description
In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: recheck injected headers after removing FCS Injecting a short frame with IEEE80211_RADIOTAP_F_FCS on a monitor interface can pass a truncated 802.11 header to transmit handlers. ieee80211_monitor_start_xmit() validates the linear 802.11 header before parsing radiotap. Radiotap parsing then removes the four-byte FCS without rechecking the remaining header length. Software encryption can subtract the larger header length and pass the resulting negative length as an unsigned size. Recheck the required linear header length after pulling the radiotap header and before handing the frame to the transmit path. Require at least addr1, which the transmit path reads even for extension frames whose header is shorter. LLM assistance was used to find the bug and review.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
f74df6e086083dc435f7500bdbc86b05277d17af to < 7c47c15a3d9ef389115c39c072883c7beea28a89affectedbddc0c411a45d3718ac535a070f349be8eca8d48 to < c350207957f775e9c4c53aa9010c2b590cf13306affectedbddc0c411a45d3718ac535a070f349be8eca8d48 to < 121f67f97753e64a2653b36735917e6009725eeeaffectedbddc0c411a45d3718ac535a070f349be8eca8d48 to < 635dcbd6c069c737428ca8b7ac2c3e627ec5c481affectedbddc0c411a45d3718ac535a070f349be8eca8d48 to < a9a914f2cdb88d81d0baf7a14e83965c1920afeeaffectedbddc0c411a45d3718ac535a070f349be8eca8d48 to < 339564c7ac50464695dfed847f89d118f4cc1dc5affected7526339f91ddcd1d4db64a3905d611282ca36bf1affected7b1b88232e40396ee1d8b19d42a050cda0a5aebbaffected5.10.46 to < 5.10.276affected5.4.285 to < 5.5affected5.12.13 to < 5.13affected
Linux Linux
Default version status: affected
5.13affected0 to < 5.13unaffected5.10.276 to ≤ 5.10.*unaffected5.15.227 to ≤ 5.15.*unaffected6.12.120 to ≤ 6.12.*unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/7c47c15a3d9ef389115c39c072883c7beea28a89 ↗
- https://git.kernel.org/stable/c/c350207957f775e9c4c53aa9010c2b590cf13306 ↗
- https://git.kernel.org/stable/c/121f67f97753e64a2653b36735917e6009725eee ↗
- https://git.kernel.org/stable/c/635dcbd6c069c737428ca8b7ac2c3e627ec5c481 ↗
- https://git.kernel.org/stable/c/a9a914f2cdb88d81d0baf7a14e83965c1920afee ↗
- https://git.kernel.org/stable/c/339564c7ac50464695dfed847f89d118f4cc1dc5 ↗