Re: [PATCH v4] wifi: mwifiex: validate event lengths before copying bodies
From: Zhao Li
Date: Thu Dec 03 2026 - 11:40:41 EST
Hi Pengpeng,
On Thu, Dec 03, 2026 at 03:11:52AM +0000, Pengpeng Hou wrote:
> Separate RXBA_SYNC fixes for mwifiex and nxpwifi make sense to me.
> Both mwifiex event handlers pass event_body with a length derived from
> event_skb, so changing the SDIO copy alone won't fix that mismatch.
>
> I won't resend v4 or duplicate your parser fixes. A transport-side v5
> would still need to preserve large events parsed from the skb and handle
> a rejected PCIe event without losing its receive buffer.
Sounds good, thanks for confirming.
I will prepare and send the standalone EVENT_RXBA_SYNC parser fixes for
mwifiex and nxpwifi separately so they can go in independently of your
transport validation work. Feel free to Cc me when you post v5 for the
SDIO clamping and PCIe receive buffer handling.
Thanks,
Zhao