syzbot


WARNING in rcu_note_context_switch (4)

Status: closed as invalid on 2025/09/01 08:35
Subsystems: net
[Documentation on labels]
First crash: 63d, last: 63d
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in rcu_note_context_switch (3) net -1 1 296d 292d 0/29 auto-obsoleted due to no activity on 2025/02/18 17:10
upstream WARNING in rcu_note_context_switch kernel -1 C done 1 2164d 2164d 13/29 fixed on 2019/10/15 23:40
upstream WARNING in rcu_note_context_switch (2) rcu -1 C 13 412d 408d 0/29 auto-obsoleted due to no activity on 2024/09/25 21:55

Sample crash report:
------------[ cut here ]------------
Voluntary context switch within RCU read-side critical section!
WARNING: CPU: 1 PID: 9631 at kernel/rcu/tree_plugin.h:332 rcu_note_context_switch+0xccc/0x1e00 kernel/rcu/tree_plugin.h:332
Modules linked in:
CPU: 1 UID: 0 PID: 9631 Comm: syz.3.1084 Not tainted 6.16.0-rc4-syzkaller-00013-g66701750d556 #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:rcu_note_context_switch+0xccc/0x1e00 kernel/rcu/tree_plugin.h:332
Code: 24 30 4c 8b 54 24 28 4c 8b 44 24 20 8b 4c 24 08 e9 cc 03 00 00 c6 05 b0 72 ed 0e 01 90 48 c7 c7 20 fb ae 8b e8 15 ed d7 ff 90 <0f> 0b 90 90 e9 35 f4 ff ff 38 d0 7f 08 84 c0 0f 85 10 09 00 00 80
RSP: 0018:ffffc90006507028 EFLAGS: 00010086
RAX: 0000000000000000 RBX: ffff88806a53b2c0 RCX: ffffffff817ae278
RDX: ffff88802b4da440 RSI: ffffffff817ae285 RDI: 0000000000000001
RBP: ffff88802b4da440 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
R13: ffff88802b4da440 R14: ffffffff90a83f44 R15: ffff88806a53a2c0
FS:  00007fe0f2b966c0(0000) GS:ffff8880d6852000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe0f2b75d58 CR3: 000000004d0f6000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 __schedule+0x2f7/0x5de0 kernel/sched/core.c:6690
 __schedule_loop kernel/sched/core.c:6863 [inline]
 schedule+0xe7/0x3a0 kernel/sched/core.c:6878
 netlink_broadcast_filtered+0xa91/0xf10 net/netlink/af_netlink.c:1536
 nlmsg_multicast_filtered include/net/netlink.h:1151 [inline]
 nlmsg_multicast include/net/netlink.h:1170 [inline]
 nlmsg_notify+0x9e/0x220 net/netlink/af_netlink.c:2577
 __ip6_del_rt_siblings net/ipv6/route.c:4058 [inline]
 ip6_route_del+0x115c/0x1d70 net/ipv6/route.c:4198
 inet6_rtm_delroute+0x27c/0x3b0 net/ipv6/route.c:5629
 rtnetlink_rcv_msg+0x95b/0xe90 net/core/rtnetlink.c:6944
 netlink_rcv_skb+0x155/0x420 net/netlink/af_netlink.c:2534
 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline]
 netlink_unicast+0x53d/0x7f0 net/netlink/af_netlink.c:1339
 netlink_sendmsg+0x8d1/0xdd0 net/netlink/af_netlink.c:1883
 sock_sendmsg_nosec net/socket.c:712 [inline]
 __sock_sendmsg net/socket.c:727 [inline]
 ____sys_sendmsg+0xa95/0xc70 net/socket.c:2566
 ___sys_sendmsg+0x134/0x1d0 net/socket.c:2620
 __sys_sendmsg+0x16d/0x220 net/socket.c:2652
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe0f1d8e929
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe0f2b96038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fe0f1fb6080 RCX: 00007fe0f1d8e929
RDX: 0000000000000000 RSI: 0000200000000280 RDI: 0000000000000004
RBP: 00007fe0f1e10b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fe0f1fb6080 R15: 00007ffc32e75dd8
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/02 07:09 upstream 66701750d556 bc80e4f0 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in rcu_note_context_switch
* Struck through repros no longer work on HEAD.