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: 125d, last: 41d
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 26 20d 152d 0/2 premoderation: reported syz repro on 2024/02/12 20:17

Sample crash report:
BUG: scheduling while atomic: udevd/332/0x00000002
Modules linked in:
Preemption disabled at:
[<ffffffff8165ff3a>] is_module_text_address+0x1a/0x140 kernel/module.c:4811
CPU: 0 PID: 332 Comm: udevd Not tainted 5.15.149-syzkaller-00055-g424f92bcbe8f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/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+0x250/0x3a0 kernel/time/hrtimer.c:2298
 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_sys_epoll_wait fs/eventpoll.c:2268 [inline]
 __se_sys_epoll_wait fs/eventpoll.c:2263 [inline]
 __x64_sys_epoll_wait+0x253/0x2a0 fs/eventpoll.c:2263
 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:0x7f49b488d457
Code: 73 01 c3 48 8b 0d d1 d9 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 e8 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 76 48 8b 15 a2 d9 0c 00 f7 d8 64 89 02 48 83
RSP: 002b:00007fff0d8cf618 EFLAGS: 00000246 ORIG_RAX: 00000000000000e8
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f49b488d457
RDX: 0000000000000004 RSI: 00007fff0d8cf658 RDI: 0000000000000005
RBP: 00005590bf2af3e0 R08: 0000000000000007 R09: e2f7467e78a454cd
R10: 00000000ffffffff R11: 0000000000000246 R12: 00005590bf2b23d0
R13: 00007fff0d8cf658 R14: 0000000000000008 R15: 00005590bf2792c0
 </TASK>

Crashes (15):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/03 00:09 android13-5.15-lts 424f92bcbe8f 3113787f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_epoll_wait
2024/05/26 03:20 android13-5.15-lts 424f92bcbe8f a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_epoll_wait
2024/05/20 21:00 android13-5.15-lts 5d96939590c0 c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_epoll_wait
2024/05/15 23:58 android13-5.15-lts 5d96939590c0 ef5d53ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_epoll_wait
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.