syzbot


BUG: scheduling while atomic in do_sched_yield

Status: premoderation: reported on 2024/04/01 14:03
Reported-by: syzbot+9f5a953be8967abab6d8@syzkaller.appspotmail.com
First crash: 33d, last: 33d

Sample crash report:
BUG: scheduling while atomic: syz-fuzzer/937/0x00000002
Modules linked in:
Preemption disabled at:
[<ffffffff83dd3c40>] spin_lock_bh include/linux/spinlock.h:368 [inline]
[<ffffffff83dd3c40>] release_sock+0x30/0x1b0 net/core/sock.c:3268
CPU: 0 PID: 937 Comm: syz-fuzzer Tainted: G        W         5.15.148-syzkaller-00718-g993bed180178 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x151/0x1b7 lib/dump_stack.c:106
 dump_stack+0x15/0x17 lib/dump_stack.c:113
 __schedule_bug+0x195/0x260 kernel/sched/core.c:5707
 schedule_debug kernel/sched/core.c:5734 [inline]
 __schedule+0xd19/0x1590 kernel/sched/core.c:6402
 schedule+0x11f/0x1e0 kernel/sched/core.c:6595
 do_sched_yield+0xd7/0x190 kernel/sched/core.c:8388
 __do_sys_sched_yield+0x9/0x10 kernel/sched/core.c:8401
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x4725a7
Code: 0f 05 48 3d 01 f0 ff ff 76 0b c7 04 25 f1 00 00 00 f1 00 00 00 48 83 c4 20 5d c3 cc cc cc cc cc cc cc cc b8 18 00 00 00 0f 05 <c3> cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc
RSP: 002b:000000c0007dbde8 EFLAGS: 00000202 ORIG_RAX: 0000000000000018
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00000000004725a7
RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000004
RBP: 000000c0007dbe20 R08: 0000000000000001 R09: 000000c000012060
R10: 0000000000000001 R11: 0000000000000202 R12: 000000c000042000
R13: 00000000000002b7 R14: 000000c000c6cd00 R15: 0000000000000006
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/01 14:03 android13-5.15-lts 993bed180178 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_sched_yield
* Struck through repros no longer work on HEAD.