syzbot


WARNING: suspicious RCU usage in ieee80211_mesh_csa_beacon (2)

Status: upstream: reported C repro on 2025/11/18 09:12
Subsystems: wireless
[Documentation on labels]
Reported-by: syzbot+b59873f5699e941717ca@syzkaller.appspotmail.com
First crash: 124d, last: 21h02m
Discussions (2)
Title Replies (including bot) Last reply
[PATCH] wifi: mac80211: Fix suspicious RCU usage in ieee80211_mesh_csa_beacon() 1 (1) 2025/11/22 06:06
[syzbot] [wireless?] WARNING: suspicious RCU usage in ieee80211_mesh_csa_beacon (2) 0 (1) 2025/11/18 09:12
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: suspicious RCU usage in ieee80211_mesh_csa_beacon wireless 4 C 7 169d 197d 0/29 closed as invalid on 2025/11/04 11:28
Last patch testing requests (10)
Created Duration User Patch Repo Result
2026/03/18 16:49 22m retest repro upstream report log
2026/02/07 21:24 16m retest repro upstream log
2026/02/07 21:24 16m retest repro upstream log
2026/02/07 21:24 16m retest repro upstream log
2026/02/07 21:24 16m retest repro upstream log
2026/02/07 21:24 16m retest repro upstream log
2025/11/29 18:47 19m retest repro upstream report log
2025/11/29 18:47 15m retest repro upstream report log
2025/11/29 18:47 14m retest repro upstream report log
2025/11/29 18:47 14m retest repro upstream report log

Sample crash report:
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007efd8c615fac R14: 00007efd8c615fa0 R15: 00007efd8c615fa0
 </TASK>
=============================
WARNING: suspicious RCU usage
syzkaller #0 Not tainted
-----------------------------
net/mac80211/mesh.c:1574 suspicious rcu_dereference_check() usage!

other info that might help us debug this:


rcu_scheduler_active = 2, debug_locks = 1
2 locks held by syz.0.17/5465:
 #0: ffffffff8fc3d3f0 (cb_lock){++++}-{4:4}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1217
 #1: ffff888040e90788 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: wiphy_lock include/net/cfg80211.h:6426 [inline]
 #1: ffff888040e90788 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: nl80211_pre_doit+0x281/0x930 net/wireless/nl80211.c:18134

stack backtrace:
CPU: 0 UID: 0 PID: 5465 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
 lockdep_rcu_suspicious+0x13f/0x1d0 kernel/locking/lockdep.c:6876
 ieee80211_mesh_csa_beacon+0x280/0x2c0 net/mac80211/mesh.c:1574
 ieee80211_set_csa_beacon+0x3cc/0x9a0 net/mac80211/cfg.c:4325
 __ieee80211_channel_switch net/mac80211/cfg.c:4443 [inline]
 ieee80211_channel_switch+0x841/0xc20 net/mac80211/cfg.c:4479
 rdev_channel_switch+0xfc/0x2c0 net/wireless/rdev-ops.h:1116
 nl80211_channel_switch+0xbab/0xe40 net/wireless/nl80211.c:11602
 genl_family_rcv_msg_doit+0x22a/0x330 net/netlink/genetlink.c:1114
 genl_family_rcv_msg net/netlink/genetlink.c:1194 [inline]
 genl_rcv_msg+0x61c/0x7a0 net/netlink/genetlink.c:1209
 netlink_rcv_skb+0x232/0x4b0 net/netlink/af_netlink.c:2550
 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1218
 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
 netlink_unicast+0x80f/0x9b0 net/netlink/af_netlink.c:1344
 netlink_sendmsg+0x813/0xb40 net/netlink/af_netlink.c:1894
 sock_sendmsg_nosec net/socket.c:727 [inline]
 __sock_sendmsg net/socket.c:742 [inline]
 ____sys_sendmsg+0xa68/0xad0 net/socket.c:2592
 ___sys_sendmsg+0x2a5/0x360 net/socket.c:2646
 __sys_sendmsg net/socket.c:2678 [inline]
 __do_sys_sendmsg net/socket.c:2683 [inline]
 __se_sys_sendmsg net/socket.c:2681 [inline]
 __x64_sys_sendmsg+0x1bd/0x2a0 net/socket.c:2681
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7efd8c39c799
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd1a746fd8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007efd8c615fa0 RCX: 00007efd8c39c799
RDX: 0000000000000000 RSI: 0000200000004180 RDI: 0000000000000003
RBP: 00007ffd1a747040 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007efd8c615fac R14: 00007efd8c615fa0 R15: 00007efd8c615fa0
 </TASK>

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/03/04 16:46 upstream 0031c06807cf e6b6b96b .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING: suspicious RCU usage in ieee80211_mesh_csa_beacon
2025/11/15 18:28 upstream 7a0892d2836e f7988ea4 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING: suspicious RCU usage in ieee80211_mesh_csa_beacon
2025/11/15 16:35 upstream 7a0892d2836e f7988ea4 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING: suspicious RCU usage in ieee80211_mesh_csa_beacon
2025/11/15 14:52 upstream 7a0892d2836e f7988ea4 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING: suspicious RCU usage in ieee80211_mesh_csa_beacon
2025/11/15 13:44 upstream 7a0892d2836e f7988ea4 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING: suspicious RCU usage in ieee80211_mesh_csa_beacon
2025/11/15 12:00 upstream 7a0892d2836e f7988ea4 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING: suspicious RCU usage in ieee80211_mesh_csa_beacon
2026/03/04 13:59 upstream 0031c06807cf e6b6b96b .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING: suspicious RCU usage in ieee80211_mesh_csa_beacon
2025/11/15 10:07 upstream 7a0892d2836e f7988ea4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING: suspicious RCU usage in ieee80211_mesh_csa_beacon
* Struck through repros no longer work on HEAD.