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 08:34:10 +0800 [thread overview]
Message-ID: <tencent_8AC8BB0933599E021BCA4B351B8B252FBA08@qq.com> (raw)
In-Reply-To: <67f50e3e.050a0220.396535.0561.GAE@google.com>
#syz test
diff --git a/net/wireless/sme.c b/net/wireless/sme.c
index cf998500a965..f78071015d93 100644
--- a/net/wireless/sme.c
+++ b/net/wireless/sme.c
@@ -269,6 +269,12 @@ void cfg80211_conn_work(struct work_struct *work)
memcpy(bssid_buf, wdev->conn->params.bssid, ETH_ALEN);
bssid = bssid_buf;
}
+
+ if (wdev->conn->state == CFG80211_CONN_ASSOC_FAILED)
+ printk("bssid: %p, pbssid: %p, dis bssid: %p, connected: %d, %s\n",
+ wdev->conn->bssid, wdev->conn->params.bssid,
+ wdev->disconnect_bssid, wdev->connected, __func__);
+
treason = NL80211_TIMEOUT_UNSPECIFIED;
if (cfg80211_conn_do_work(wdev, &treason)) {
struct cfg80211_connect_resp_params cr;
@@ -411,6 +417,8 @@ bool cfg80211_sme_rx_assoc_resp(struct wireless_dev *wdev, u16 status)
return true;
}
+ printk("bssid: %p, pbssid: %p, dis bssid: %p, %s\n",
+ wdev->conn->bssid, wdev->conn->params.bssid, wdev->disconnect_bssid, __func__);
wdev->conn->state = CFG80211_CONN_ASSOC_FAILED;
schedule_work(&rdev->conn_work);
return false;
next prev parent reply other threads:[~2025-04-09 0:39 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 [this message]
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
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_8AC8BB0933599E021BCA4B351B8B252FBA08@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®