From: jeff.chen_1@oss.nxp.com
To: Tristan Madani <tristmd@gmail.com>
Cc: Jeff Chen <jeff.chen_1@oss.nxp.com>,
Brian Norris <briannorris@chromium.org>,
Francesco Dolcini <francesco@dolcini.it>,
linux-wireless@vger.kernel.org,
Tristan Madani <tristan@talencesecurity.com>,
Jeff Chen <jeff.chen_1@nxp.com>
Subject: Re: [PATCH wireless 2/3] wifi: mwifiex: validate intf_num in multichannel event handler
Date: Tue, 24 Nov 2026 14:57:09 +0800 [thread overview]
Message-ID: <20261124065709.803203-1-jeff.chen_1@oss.nxp.com> (raw)
In-Reply-To: <20261101205802.2909524-3-tristmd@gmail.com>
From: Jeff Chen <jeff.chen_1@oss.nxp.com>
On Sun, Nov 01, 2026 at 08:58:01 PM +0000, Tristan Madani wrote:
> From: Tristan Madani <tristan@talencesecurity.com>
>
> The intf_num field from the multichannel group info TLV indexes the
> flexible array bss_type_numlist[] without checking whether it fits
> the TLV data. An intf_num larger than the available data causes reads
> past the TLV boundary.
>
> Add a check that intf_num does not exceed the number of entries that
> fit in the TLV data.
Reviewed-by: Jeff Chen <jeff.chen_1@nxp.com>
next prev parent reply other threads:[~2026-11-24 6:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-01 20:57 [PATCH wireless 0/3] wifi: mwifiex: firmware response validation fixes Tristan Madani
2026-11-01 20:58 ` [PATCH wireless 1/3] wifi: mwifiex: validate TID in ADDBA response handler Tristan Madani
2026-11-24 6:48 ` jeff.chen_1
2026-11-01 20:58 ` [PATCH wireless 2/3] wifi: mwifiex: validate intf_num in multichannel event handler Tristan Madani
2026-11-24 6:57 ` jeff.chen_1 [this message]
2026-11-01 20:58 ` [PATCH wireless 3/3] wifi: mwifiex: cap TLV length in IBSS connected " Tristan Madani
2026-11-24 3:33 ` jeff.chen_1
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261124065709.803203-1-jeff.chen_1@oss.nxp.com \
--to=jeff.chen_1@oss.nxp.com \
--cc=briannorris@chromium.org \
--cc=francesco@dolcini.it \
--cc=jeff.chen_1@nxp.com \
--cc=linux-wireless@vger.kernel.org \
--cc=tristan@talencesecurity.com \
--cc=tristmd@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).