Re: [PATCH v3] wifi: mwifiex: Fix oob check condition in mwifiex_process_rx_packet

From: Kalle Valo
Date: Mon Sep 18 2023 - 13:02:52 EST


Pin-yen Lin <treapking@xxxxxxxxxxxx> wrote:

> Only skip the code path trying to access the rfc1042 headers when the
> buffer is too small, so the driver can still process packets without
> rfc1042 headers.
>
> Fixes: 119585281617 ("wifi: mwifiex: Fix OOB and integer underflow when rx packets")
> Signed-off-by: Pin-yen Lin <treapking@xxxxxxxxxxxx>
> Acked-by: Brian Norris <briannorris@xxxxxxxxxxxx>
> Reviewed-by: Matthew Wang <matthewmwang@xxxxxxxxxxxx>

Patch applied to wireless.git, thanks.

aef7a0300047 wifi: mwifiex: Fix oob check condition in mwifiex_process_rx_packet

--
https://patchwork.kernel.org/project/linux-wireless/patch/20230908104308.1546501-1-treapking@xxxxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches