All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tanuj Sharma <ertanuj96@gmail.com>
To: gregkh@linuxfoundation.org
Cc: stable@vger.kernel.org, pkshih@realtek.com, phhuang@realtek.com,
	kvalo@kernel.org, johan@kernel.org,
	Tanuj Sharma <ertanuj96@gmail.com>
Subject: Re: [PATCH] wifi: rtw89: fix OOB read in cfg80211_find_ie for 6 GHz scan
Date: Tue,  1 Dec 2026 13:53:01 +0530	[thread overview]
Message-ID: <20261201082302.92838-1-ertanuj96@gmail.com> (raw)
In-Reply-To: <2026120121-debrief-grant-677b@gregkh>

On Mon, Dec 01, 2026 at 11:22:00AM +0100, Greg KH wrote:
> On Tue, Dec 01, 2026 at 01:20:26AM +0530, Tanuj Sharma wrote:
> > This backport is for linux-7.3.y and linux-6.12.y. Both still have the
> > vulnerable cfg80211_find_ie() call in rtw89_core_cancel_6ghz_probe_tx()
> > that the upstream commit removes.
>
> I have no context here at all, how are you responding to an email
> without any quoting at all?  What just changed in email clients to do
> this so badly?
>
> remember, some of us get 1000+ emails a day...

Apologies for the broken threading. Full context below:

This patch is a backport of upstream commit 0788bad5d012b ("wifi:
rtw89: modify active scan rule for 6GHz band") to fix an OOB read
I reported on the separate thread "[SECURITY] wifi: rtw89: OOB read
in beacon/probe-resp IE parsing (OTA, pre-auth)".

On that [SECURITY] thread, Johan noted the bug appeared fixed, but
I confirmed that the fix 6c17c57d45ef only touched wow.c — the
core.c call site in rtw89_core_cancel_6ghz_probe_tx() was missed
and still passes skb->len (full frame length) instead of the IE
region length to cfg80211_find_ie(). In mainline master, this code
path was removed entirely by the refactor in 0788bad5d012b (which
switched to pure BSSID matching per IEEE 802.11ax 26.17.2.3.3),
but that was not an intentional security fix — just a spec
compliance change. That refactor was never backported to stable.

You then pointed out the correct process — submit the upstream
change as a proper backport to stable@vger. I acknowledged and
submitted this patch as that backport.

You asked:

> On Mon, Nov 30, 2026 at 09:12:00PM +0100, Greg KH wrote:
> > What stable tree(s) is this backport for?

This backport is for linux-7.3.y and linux-6.12.y.

Both trees still have the vulnerable cfg80211_find_ie() call in
drivers/net/wireless/realtek/rtw89/core.c at
rtw89_core_cancel_6ghz_probe_tx(). The upstream commit removes
this call entirely.

The patch applies cleanly to both trees (verified with git apply
--check on v7.3.6).

Thanks,
Tanuj

      reply	other threads:[~2026-12-01  8:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2026112429-chimp-relax-ebfa@gregkh>
2026-11-30 13:39 ` [PATCH] wifi: rtw89: modify active scan rule for 6GHz band Tanuj Sharma
2026-11-30 15:42   ` Greg KH
2026-11-30 19:50     ` Tanuj Sharma
2026-12-01  5:52       ` Greg KH
2026-12-01  8:23         ` Tanuj Sharma [this message]

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=20261201082302.92838-1-ertanuj96@gmail.com \
    --to=ertanuj96@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=johan@kernel.org \
    --cc=kvalo@kernel.org \
    --cc=phhuang@realtek.com \
    --cc=pkshih@realtek.com \
    --cc=stable@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.