Re: [PATCH] wifi: wfx: validate MIB read length before copying to caller
From: Aamir Ahmed
Date: Mon Sep 07 2026 - 21:10:30 EST
On Mon, Sep 07, 2026 at 05:36:20PM +0200, Jerome Pouiller wrote:
> Note you should add LKML in Cc: of all your patches (see [1]).
Will do, apologies for missing it.
> This kind of bug are typically spotted by AI agents. If you have used
> a such tool to discover/fix/review the issue, you are supposed to
> comply with [2].
Yes, an LLM-based tool was used and I missed the disclosure, sorry.
v2 will carry the Assisted-by: LLM tag.
> I believe -EIO would be more consistent. Otherwise, LGTM.
Ok, v2 will use -EIO.
While respinning I noticed the Fixes: tag points at the wrong commit -
9bca45f3d692 added the TX path, but wfx_hif_read_mib() came in with
f95a29d40782 ("staging: wfx: add HIF commands helpers"), so v2 will
reference that instead.
Kind Regards
Aamir A.