syzbot


WARNING: suspicious RCU usage in do_recvmmsg

Status: fixed on 2021/11/10 00:50
Subsystems: net
[Documentation on labels]
Fix commit: 3066820034b5 rcu: Reject RCU_LOCKDEP_WARN() false positives
First crash: 1305d, last: 1279d

Sample crash report:
=============================
WARNING: suspicious RCU usage
5.13.0-rc5-syzkaller #0 Not tainted
-----------------------------
kernel/sched/core.c:8304 Illegal context switch in RCU-bh read-side critical section!

other info that might help us debug this:


rcu_scheduler_active = 2, debug_locks = 0
no locks held by syz-executor.4/14048.

stack backtrace:
CPU: 1 PID: 14048 Comm: syz-executor.4 Not tainted 5.13.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:79 [inline]
 dump_stack+0x141/0x1d7 lib/dump_stack.c:120
 ___might_sleep+0x229/0x2c0 kernel/sched/core.c:8304
 do_recvmmsg+0x45d/0x6d0 net/socket.c:2739
 __sys_recvmmsg net/socket.c:2784 [inline]
 __do_sys_recvmmsg net/socket.c:2807 [inline]
 __se_sys_recvmmsg net/socket.c:2800 [inline]
 __x64_sys_recvmmsg+0x20b/0x260 net/socket.c:2800
 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x4665d9
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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f0d6739e188 EFLAGS: 00000246
 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665d9
RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003
RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 000000000056c038
R13: 00007ffe683095bf R14: 00007f0d6739e300 R15: 0000000000022000

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/06/10 15:43 upstream cd1245d75ce9 1ba81399 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING: suspicious RCU usage in do_recvmmsg
2021/06/10 04:56 upstream cd1245d75ce9 1ba81399 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING: suspicious RCU usage in do_recvmmsg
2021/06/09 15:52 upstream 368094df48e6 84fe5d96 .config console log report info ci-upstream-kasan-gce-smack-root WARNING: suspicious RCU usage in do_recvmmsg
2021/06/08 07:04 upstream 614124bea77e b718257f .config console log report info ci-upstream-kasan-gce-smack-root WARNING: suspicious RCU usage in do_recvmmsg
2021/06/04 13:20 upstream f88cd3fb9df2 966a236b .config console log report info ci-upstream-kasan-gce-smack-root WARNING: suspicious RCU usage in do_recvmmsg
2021/05/30 13:14 upstream 6799d4f2da49 325a8dab .config console log report info ci-upstream-kasan-gce-smack-root WARNING: suspicious RCU usage in do_recvmmsg
2021/05/27 00:22 upstream 7ac3a1c1ae51 858ea628 .config console log report info ci-upstream-kasan-gce-smack-root WARNING: suspicious RCU usage in do_recvmmsg
2021/05/15 15:37 upstream 25a1298726e9 93f844de .config console log report info ci-upstream-kasan-gce-smack-root WARNING: suspicious RCU usage in do_recvmmsg
* Struck through repros no longer work on HEAD.