From: Greg KH <greg@kroah.com>
To: Dhyan K Prajapati <dhyan19022009@gmail.com>
Cc: Johannes Berg <johannes.berg@intel.com>,
linux-wireless@vger.kernel.org, netdev@vger.kernel.org,
stable@vger.kernel.org,
dhyaan19022009-hue <dhyaan19022009@gmail.com>
Subject: Re: [PATCH v3 wireless] mac80211: fix NULL pointer dereference in monitor mode
Date: Thu, 5 Feb 2026 18:34:00 +0100 [thread overview]
Message-ID: <2026020553-consult-widow-3d06@gregkh> (raw)
In-Reply-To: <20260205172313.16652-1-dhyaan19022009@gmail.com>
On Thu, Feb 05, 2026 at 10:53:12PM +0530, Dhyan K Prajapati wrote:
> From: dhyaan19022009-hue <dhyaan19022009@gmail.com>
>
> Signed-off-by: dhyaan19022009-hue <dhyaan19022009@gmail.com>
> ---
> net/mac80211/main.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/net/mac80211/main.c b/net/mac80211/main.c
> index b05e313c7..190222c26 100644
> --- a/net/mac80211/main.c
> +++ b/net/mac80211/main.c
> @@ -416,6 +416,8 @@ void ieee80211_link_info_change_notify(struct ieee80211_sub_if_data *sdata,
> case NL80211_IFTYPE_MONITOR:
> if (!ieee80211_hw_check(&local->hw, WANT_MONITOR_VIF))
> return;
> + if (!link->conf->bss)
> + return;
> break;
> default:
> break;
> --
> 2.43.0
>
>
<formletter>
This is not the correct way to submit patches for inclusion in the
stable kernel tree. Please read:
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.
</formletter>
next prev parent reply other threads:[~2026-02-05 17:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-05 17:23 [PATCH v3 wireless] mac80211: fix NULL pointer dereference in monitor mode Dhyan K Prajapati
2026-02-05 17:34 ` Greg KH [this message]
2026-02-05 17:34 ` Greg KH
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=2026020553-consult-widow-3d06@gregkh \
--to=greg@kroah.com \
--cc=dhyaan19022009@gmail.com \
--cc=dhyan19022009@gmail.com \
--cc=johannes.berg@intel.com \
--cc=linux-wireless@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--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.