linux/drivers/net/wireless/intel/ipw2x00
Daehyeon Ko 06f42accaf wifi: libipw: reject TKIP frames without a full MIC
libipw_michael_mic_verify() assumes that an skb contains an eight-byte
Michael MIC. A short TKIP frame makes the unsigned payload length wrap,
causing michael_mic() to read past the skb.

Check that the MIC is present before verifying it, and use the existing
MICHAEL_MIC_LEN constant for all MIC lengths in the verifier.

Fixes: b453872c35 ("[NET] ieee80211 subsystem")
Cc: stable@vger.kernel.org
Assisted-by: LLM
Signed-off-by: Daehyeon Ko <4ncienth@gmail.com>
Link: https://patch.msgid.link/20260909061124.3802517-1-4ncienth@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2026-09-14 14:48:20 +02:00
..
ipw.h
ipw2100.c wifi: ipw2x00: bound management frame length to the receive buffer 2026-09-04 10:12:29 +02:00
ipw2100.h wifi: remove iw_public_data from struct net_device 2024-10-08 21:53:40 +02:00
ipw2200.c wifi: ipw2x00: bound management frame length to the receive buffer 2026-09-04 10:12:29 +02:00
ipw2200.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-10-31 18:10:07 -07:00
Kconfig wifi: ipw2x00: Use michael_mic() from cfg80211 2026-04-08 08:55:16 +02:00
libipw_crypto_ccmp.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
libipw_crypto_tkip.c wifi: libipw: reject TKIP frames without a full MIC 2026-09-14 14:48:20 +02:00
libipw_crypto_wep.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
libipw_crypto.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
libipw_geo.c
libipw_module.c Convert more 'alloc_obj' cases to default GFP_KERNEL arguments 2026-02-21 20:03:00 -08:00
libipw_rx.c wifi: libipw: reject too-short association responses 2026-09-04 10:12:29 +02:00
libipw_spy.c wifi: remove iw_public_data from struct net_device 2024-10-08 21:53:40 +02:00
libipw_tx.c treewide: Replace kmalloc with kmalloc_obj for non-scalar types 2026-02-21 01:02:28 -08:00
libipw_wx.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
libipw.h wifi: ipw2x00: Remove unused libipw_rx_any() 2025-01-28 20:15:05 +02:00
Makefile wifi: wext/libipw: move spy implementation to libipw 2024-10-08 21:53:18 +02:00