Descripción
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.
CVSS 7.8EPSS 0.129%Riesgo 0.79
Ver fuente- Publicación
- 2026-04-03 16:16:28
- Versiones afectadas
- unknown
- Tipo
- Core software
- Última modificación
- 2026-07-24 21:10:00
- Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Sistemas operativos
- Linux