From: Edward Adam Davis <eadavis@qq.com>
To: syzbot+00778a9a557a2a5e1a33@syzkaller.appspotmail.com
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [wireless?] general protection fault in cfg80211_mlme_deauth
Date: Wed, 9 Apr 2025 17:20:47 +0800 [thread overview]
Message-ID: <tencent_618DFA25908DA8126BDD965DF1991ACFE007@qq.com> (raw)
In-Reply-To: <67f50e3e.050a0220.396535.0561.GAE@google.com>
#syz test: upstream 0af2f6be1b42
diff --git a/net/wireless/sme.c b/net/wireless/sme.c
index cf998500a965..39bc68b3428a 100644
--- a/net/wireless/sme.c
+++ b/net/wireless/sme.c
@@ -226,6 +226,9 @@ static int cfg80211_conn_do_work(struct wireless_dev *wdev,
*treason = NL80211_TIMEOUT_ASSOC;
fallthrough;
case CFG80211_CONN_ASSOC_FAILED:
+ BUG_ON(!wdev->conn->bssid);
+ BUG_ON(!wdev->conn->params.bssid);
+ BUG_ON(!wdev->disconnect_bssid);
cfg80211_mlme_deauth(rdev, wdev->netdev, params->bssid,
NULL, 0,
WLAN_REASON_DEAUTH_LEAVING, false);
next prev parent reply other threads:[~2025-04-09 9:25 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-08 11:53 syzbot
2025-04-08 14:17 ` Qasim Ijaz
2025-04-08 14:30 ` Edward Adam Davis
2025-04-08 14:48 ` syzbot
2025-04-09 0:34 ` Edward Adam Davis
2025-04-09 0:51 ` syzbot
2025-04-09 1:05 ` Edward Adam Davis
2025-04-09 1:22 ` syzbot
2025-04-09 1:26 ` Edward Adam Davis
2025-04-09 1:43 ` syzbot
2025-04-09 5:40 ` Edward Adam Davis
2025-04-09 6:01 ` syzbot
2025-04-09 9:20 ` Edward Adam Davis [this message]
2025-04-09 9:33 ` syzbot
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=tencent_618DFA25908DA8126BDD965DF1991ACFE007@qq.com \
--to=eadavis@qq.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+00778a9a557a2a5e1a33@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.com \
/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®