syzbot


BUG: scheduling while atomic in do_epoll_wait

Status: premoderation: reported on 2024/03/10 15:57
Reported-by: syzbot+a0a96f4d3440f37ecbc3@syzkaller.appspotmail.com
First crash: 55d, last: 4d18h
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-1 BUG: scheduling while atomic in do_epoll_wait origin:lts syz 20 4d10h 82d 0/2 premoderation: reported syz repro on 2024/02/12 20:17

Sample crash report:
BUG: scheduling while atomic: syz-fuzzer/399/0x00000002
Modules linked in:
Preemption disabled at:
[<ffffffff83dd5260>] spin_lock_bh include/linux/spinlock.h:368 [inline]
[<ffffffff83dd5260>] release_sock+0x30/0x1b0 net/core/sock.c:3268
CPU: 0 PID: 399 Comm: syz-fuzzer Tainted: G        W         5.15.149-syzkaller-00490-g5d96939590c0 #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
 schedule_hrtimeout_range_clock+0x228/0x3a0 kernel/time/hrtimer.c:2314
 schedule_hrtimeout_range+0x2a/0x40 kernel/time/hrtimer.c:2361
 freezable_schedule_hrtimeout_range include/linux/freezer.h:275 [inline]
 ep_poll fs/eventpoll.c:1878 [inline]
 do_epoll_wait+0x1777/0x1a50 fs/eventpoll.c:2256
 do_epoll_pwait+0x5c/0x1f0 fs/eventpoll.c:2290
 __do_sys_epoll_pwait fs/eventpoll.c:2303 [inline]
 __se_sys_epoll_pwait fs/eventpoll.c:2297 [inline]
 __x64_sys_epoll_pwait+0x2b4/0x300 fs/eventpoll.c:2297
 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:0x40720e
Code: 48 83 ec 38 e8 13 00 00 00 48 83 c4 38 5d c3 cc cc cc cc cc cc cc cc cc cc cc cc cc 49 89 f2 48 89 fa 48 89 ce 48 89 df 0f 05 <48> 3d 01 f0 ff ff 76 15 48 f7 d8 48 89 c1 48 c7 c0 ff ff ff ff 48
RSP: 002b:000000c000d73748 EFLAGS: 00000246 ORIG_RAX: 0000000000000119
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 000000000040720e
RDX: 0000000000000080 RSI: 000000c000d73818 RDI: 0000000000000004
RBP: 000000c000d73790 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000000003e R11: 0000000000000246 R12: 000000c000d73820
R13: 124920924924924c R14: 000000c000adab60 R15: 000000000000014e
 </TASK>

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/30 12:30 android13-5.15-lts 5d96939590c0 3ce4924c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_epoll_wait
2024/04/25 05:05 android13-5.15-lts ad06eaf051cd 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_epoll_wait
2024/04/21 23:00 android13-5.15-lts ad06eaf051cd af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_epoll_wait
2024/04/12 19:25 android13-5.15-lts 993bed180178 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_epoll_wait
2024/04/12 01:57 android13-5.15-lts 993bed180178 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_epoll_wait
2024/04/06 21:37 android13-5.15-lts 993bed180178 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_epoll_wait
2024/04/05 20:01 android13-5.15-lts 993bed180178 77230c29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_epoll_wait
2024/04/03 14:20 android13-5.15-lts 993bed180178 7925100d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_epoll_wait
2024/03/23 01:56 android13-5.15-lts 993bed180178 4b6cdce6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_epoll_wait
2024/03/15 23:39 android13-5.15-lts 993bed180178 d615901c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_epoll_wait
2024/03/10 15:56 android13-5.15-lts 993bed180178 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_epoll_wait
* Struck through repros no longer work on HEAD.