Linux
wifi: mac80211: always free skb on ieee80211_tx_prepare_skb() failure
In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: always free skb on ieee80211_tx_prepare_skb() failure ieee80211_tx_prepare_skb() has three error paths, but only two of them free the skb. The first error path (ieee80211_tx_prepare() returning TX_DROP) does not free it, while invoke_tx_handlers() failure and the fragmentation check both do. Add kfree_skb() to the first error path so all three are consistent, and remove the now-redundant frees in callers (ath9k, mt76, mac80211_hwsim) to avoid double-free. Document the skb ownership guarantee in the function's kdoc.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 06be6b149f7e406bcf16098567f5a6c9f042bced, < 905ef207d5ed99ca64adfe39fba9ac46e434327a
- >= 06be6b149f7e406bcf16098567f5a6c9f042bced, < 5ef8ca1c164786da24169af155c1ca1ff1353cf8
- >= 06be6b149f7e406bcf16098567f5a6c9f042bced, < 9a779d1f480e83720b5384adf165604e7ee226bd
- >= 06be6b149f7e406bcf16098567f5a6c9f042bced, < f77b51bcee7be2bb686b5f7a2d4a1921e4bdb9f4
- >= 06be6b149f7e406bcf16098567f5a6c9f042bced, < 3b4d27acafaeab478fd24f79ad6e593a892828b9
- >= 06be6b149f7e406bcf16098567f5a6c9f042bced, < 06e769dddcbeb3baf2ce346273b53dd61fdbecf4
- >= 06be6b149f7e406bcf16098567f5a6c9f042bced, < 50f1b690b4868923fbd242298def2fb88662f108
- >= 06be6b149f7e406bcf16098567f5a6c9f042bced, < d5ad6ab61cbd89afdb60881f6274f74328af3ee9
Fixed in 905ef207d5ed99ca64adfe39fba9ac46e434327a, 5ef8ca1c164786da24169af155c1ca1ff1353cf8, 9a779d1f480e83720b5384adf165604e7ee226bd, f77b51bcee7be2bb686b5f7a2d4a1921e4bdb9f4, 3b4d27acafaeab478fd24f79ad6e593a892828b9, 06e769dddcbeb3baf2ce346273b53dd61fdbecf4, 50f1b690b4868923fbd242298def2fb88662f108, d5ad6ab61cbd89afdb60881f6274f74328af3ee9
- 3.13
Fixed in 0, 5.10.258, 5.15.209, 6.1.175, 6.6.136, 6.12.84, 6.18.20, 6.19.10, 7.0
Mitigation
Upgrade Linux to 905ef207d5ed99ca64adfe39fba9ac46e434327a or 5ef8ca1c164786da24169af155c1ca1ff1353cf8 or 9a779d1f480e83720b5384adf165604e7ee226bd or f77b51bcee7be2bb686b5f7a2d4a1921e4bdb9f4 or 3b4d27acafaeab478fd24f79ad6e593a892828b9 or 06e769dddcbeb3baf2ce346273b53dd61fdbecf4 or 50f1b690b4868923fbd242298def2fb88662f108 or d5ad6ab61cbd89afdb60881f6274f74328af3ee9 or later.
Upgrade Linux to 0 or 5.10.258 or 5.15.209 or 6.1.175 or 6.6.136 or 6.12.84 or 6.18.20 or 6.19.10 or 7.0 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.