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: <tencent_FF211B3F4BBA1BCD253BBA0FBB3F33229E08@qq.com>
Date: Sun, 16 Mar 2025 09:04:45 +0800
From: Edward Adam Davis <eadavis@...com>
To: syzbot+30de9d963fdd95d745f8@...kaller.appspotmail.com
Cc: linux-kernel@...r.kernel.org,
	syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [wireless?] possible deadlock in ieee80211_change_mac (3)

#syz test

diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
index 738de269e13f..87a970c18e96 100644
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -301,7 +301,7 @@ static int ieee80211_change_mac(struct net_device *dev, void *addr)
 	 * active (maybe other cases?) and we must get removed from it.
 	 * But we really don't care anymore if it's not registered now.
 	 */
-	if (!dev->ieee80211_ptr->registered)
+	if (!dev->ieee80211_ptr->registered || dev->ieee80211_ptr->registering)
 		return 0;
 
 	guard(wiphy)(local->hw.wiphy);


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ