[PATCH ath-next 0/2] wifi: ath11k/ath12k: drop TKIP frames too short for the Michael MIC

From: Julius Bairaktaris

Date: Wed Nov 11 2026 - 03:09:13 EST


ath11k and ath12k check the Michael MIC of a reassembled TKIP frame in
the driver. Both compute the length of the MIC-protected data in a
size_t without checking that the frame is long enough, so a peer that
holds the TKIP key and sends two fragments with fewer than 16 payload
bytes between them wraps the length, and michael_mic() reads on from the
skb data until it faults. Each patch drops such a frame before the
subtraction, as mac80211 does in its own MIC check.

I used Claude (Anthropic) to help write these patches.

Julius Bairaktaris (2):
wifi: ath12k: drop TKIP frames too short for the Michael MIC
wifi: ath11k: drop TKIP frames too short for the Michael MIC

drivers/net/wireless/ath/ath11k/dp_rx.c | 5 +++++
drivers/net/wireless/ath/ath12k/wifi7/dp_rx.c | 5 +++++
2 files changed, 10 insertions(+)


base-commit: d0fbb39d65dc9dcb4175fa6b23e473dec3670f4d
--
2.53.0