mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Elkin Cruz <elkin@google.com>
To: Brian Norris <briannorris@chromium.org>
Cc: Francesco Dolcini <francesco@dolcini.it>,
	linux-wireless@vger.kernel.org,
	 Johannes Berg <johannes@sipsolutions.net>,
	linux-kernel@vger.kernel.org,  llvm@lists.linux.dev,
	irogers@google.com, Elkin Cruz <elkin@google.com>
Subject: [PATCH wireless 0/3] wifi: mwifiex: fix UAF and ext scan TLV bounds checks
Date: Wed, 25 Nov 2026 21:00:35 +0000	[thread overview]
Message-ID: <20261125210038.1277960-1-elkin@google.com> (raw)

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


             reply	other threads:[~2026-11-25 21:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 21:00 Elkin Cruz [this message]
2026-11-25 21:00 ` [PATCH wireless 1/3] wifi: mwifiex: fix UAF after skb_realloc_headroom() in bridged RX Elkin Cruz
2026-11-25 21:00 ` [PATCH wireless 2/3] wifi: mwifiex: check TLV header size in ext scan report Elkin Cruz
2026-11-25 21:00 ` [PATCH wireless 3/3] wifi: mwifiex: validate ext scan event envelope and TLV lengths Elkin Cruz

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=20261125210038.1277960-1-elkin@google.com \
    --to=elkin@google.com \
    --cc=briannorris@chromium.org \
    --cc=francesco@dolcini.it \
    --cc=irogers@google.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    /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

all inboxes | Powered by JetHome®