[PATCH wireless 0/3] wifi: mwifiex: fix UAF and ext scan TLV bounds checks

From: Elkin Cruz

Date: Wed Nov 25 2026 - 16:01:21 EST


I am trying out new Clang static analysis checks for kernel bug
classes, and they flagged this code as possibly buggy. The findings
were triaged/fixed and commit descriptions were drafted with help of AI,
then checked against linux-next (not runtime-tested on hardware).

Thanks,
Elkin

Elkin Cruz (3):
wifi: mwifiex: fix UAF after skb_realloc_headroom() in bridged RX
wifi: mwifiex: check TLV header size in ext scan report
wifi: mwifiex: validate ext scan event envelope and TLV lengths

drivers/net/wireless/marvell/mwifiex/scan.c | 30 ++++++++++++-------
.../net/wireless/marvell/mwifiex/uap_txrx.c | 13 +++++---
2 files changed, 29 insertions(+), 14 deletions(-)

--
2.56.1.839.g22a8290db9-goog