From: Edward Adam Davis <eadavis@qq.com>
To: syzbot+30754ca335e6fb7e3092@syzkaller.appspotmail.com
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [wireless?] KASAN: slab-use-after-free Read in cmp_bss
Date: Tue, 12 Aug 2025 09:16:44 +0800 [thread overview]
Message-ID: <tencent_9292DCC668099DAEC36EDE0CA4A7EE46DB06@qq.com> (raw)
In-Reply-To: <689a3d93.050a0220.7f033.0100.GAE@google.com>
#syz test
diff --git a/net/wireless/scan.c b/net/wireless/scan.c
index a8339ed52404..dcf7cfb9ba6b 100644
--- a/net/wireless/scan.c
+++ b/net/wireless/scan.c
@@ -1917,6 +1917,7 @@ cfg80211_update_known_bss(struct cfg80211_registered_device *rdev,
f = rcu_access_pointer(new->pub.beacon_ies);
kfree_rcu((struct cfg80211_bss_ies *)f, rcu_head);
+ RCU_INIT_POINTER(new->pub.beacon_ies, NULL);
return false;
}
next prev parent reply other threads:[~2025-08-12 1:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-11 18:59 syzbot
2025-08-12 1:16 ` Edward Adam Davis [this message]
2025-08-12 1:39 ` syzbot
2025-08-12 5:08 ` Hillf Danton
2025-08-12 5:31 ` syzbot
2025-08-12 8:49 ` Forwarded: #syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 53e760d8949895390e256e723e7ee46618310361 syzbot
2025-08-12 11:53 ` syzbot
[not found] <d4f0bd47-06b1-4841-924d-607386e733d4@yandex.ru>
2025-08-12 9:11 ` [syzbot] [wireless?] KASAN: slab-use-after-free Read in cmp_bss syzbot
[not found] <0d6fdeba-3bdc-4b23-bc60-eb639e628947@yandex.ru>
2025-08-12 12:19 ` 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_9292DCC668099DAEC36EDE0CA4A7EE46DB06@qq.com \
--to=eadavis@qq.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+30754ca335e6fb7e3092@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®