lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2026020553-consult-widow-3d06@gregkh>
Date: Thu, 5 Feb 2026 18:34:00 +0100
From: Greg KH <greg@...ah.com>
To: Dhyan K Prajapati <dhyan19022009@...il.com>
Cc: Johannes Berg <johannes.berg@...el.com>, linux-wireless@...r.kernel.org,
	netdev@...r.kernel.org, stable@...r.kernel.org,
	dhyaan19022009-hue <dhyaan19022009@...il.com>
Subject: Re: [PATCH v3 wireless] mac80211: fix NULL pointer dereference in
 monitor mode

On Thu, Feb 05, 2026 at 10:53:12PM +0530, Dhyan K Prajapati wrote:
> From: dhyaan19022009-hue <dhyaan19022009@...il.com>
> 
> Signed-off-by: dhyaan19022009-hue <dhyaan19022009@...il.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>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ