syzbot


BUG: scheduling while atomic in do_epoll_wait

Status: premoderation: reported syz repro on 2024/02/12 20:17
Bug presence: origin:lts
[Documentation on labels]
Reported-by: syzbot+27d22067badbdd27b4a0@syzkaller.appspotmail.com
First crash: 131d, last: 7d10h
Bug presence (2)
Date Name Commit Repro Result
2024/02/12 lts (merge base) ba6f5fb46511 C [report] BUG: scheduling while atomic in exit_to_user_mode_loop
2024/02/12 upstream (ToT) 716f4aaa7b48 C Didn't crash
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 BUG: scheduling while atomic in do_epoll_wait 15 19d 104d 0/2 premoderation: reported on 2024/03/10 15:57
Last patch testing requests (2)
Created Duration User Patch Repo Result
2024/06/11 15:55 10m retest repro android14-6.1 report log
2024/02/26 20:23 16m retest repro android14-6.1 report log

Sample crash report:
BUG: scheduling while atomic: udevd/337/0x00000002
Modules linked in:
Preemption disabled at:
[<ffffffff81ccdda9>] rcu_read_lock_sched include/linux/rcupdate.h:846 [inline]
[<ffffffff81ccdda9>] fd_install+0x59/0x250 fs/file.c:607
CPU: 1 PID: 337 Comm: udevd Not tainted 6.1.68-syzkaller-00010-g886c9d1fc2b3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x151/0x1b7 lib/dump_stack.c:106
 dump_stack+0x15/0x1b lib/dump_stack.c:113
 __schedule_bug+0x195/0x260 kernel/sched/core.c:5960
 schedule_debug kernel/sched/core.c:5987 [inline]
 __schedule+0xce9/0x1540 kernel/sched/core.c:6622
 schedule+0xc3/0x180 kernel/sched/core.c:6805
 schedule_hrtimeout_range_clock+0x290/0x360 kernel/time/hrtimer.c:2298
 schedule_hrtimeout_range+0x2a/0x40 kernel/time/hrtimer.c:2353
 ep_poll fs/eventpoll.c:1891 [inline]
 do_epoll_wait+0x1757/0x1910 fs/eventpoll.c:2269
 __do_sys_epoll_wait fs/eventpoll.c:2281 [inline]
 __se_sys_epoll_wait fs/eventpoll.c:2276 [inline]
 __x64_sys_epoll_wait+0x253/0x2a0 fs/eventpoll.c:2276
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f38f9923457
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:00007ffd4f777ac8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e8
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f38f9923457
RDX: 0000000000000004 RSI: 00007ffd4f777b08 RDI: 0000000000000005
RBP: 00005636f35973e0 R08: 0000000000000007 R09: 0b5881f32c939ab3
R10: 00000000ffffffff R11: 0000000000000246 R12: 00005636f3570d80
R13: 00007ffd4f777b08 R14: 0000000000000008 R15: 00005636f35612c0
 </TASK>

Crashes (25):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/12 20:16 android14-6.1 886c9d1fc2b3 77b23aa1 .config console log report syz [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_epoll_wait
2024/06/15 11:35 android14-6.1 25216be1ac5e f429ab00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_epoll_wait
2024/06/14 13:29 android14-6.1 4c45e2f34089 8d849073 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_epoll_wait
2024/05/28 12:35 android14-6.1 68c821783c76 f550015e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_epoll_wait
2024/05/22 17:58 android14-6.1 0a5aada71cc9 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_epoll_wait
2024/05/12 03:08 android14-6.1 4d55129aea65 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_epoll_wait
2024/04/30 20:23 android14-6.1 6364d594125d 3ce4924c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_epoll_wait
2024/04/29 08:13 android14-6.1 08cc4037cf32 27e33c58 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_epoll_wait
2024/04/27 01:14 android14-6.1 fa87a072a7fc 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_epoll_wait
2024/04/25 08:45 android14-6.1 c61278bb705a 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_epoll_wait
2024/04/19 02:31 android14-6.1 dcb09569bbff af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_epoll_wait
2024/04/16 06:21 android14-6.1 77fec6cefe26 0d592ce4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_epoll_wait
2024/04/15 19:27 android14-6.1 99aea323a3fd b9af7e61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_epoll_wait
2024/04/10 14:51 android14-6.1 5dc2bc296647 4320ec32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_epoll_wait
2024/04/10 05:31 android14-6.1 5dc2bc296647 171ec371 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_epoll_wait
2024/04/08 01:37 android14-6.1 60534eef4739 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_epoll_wait
2024/04/05 06:16 android14-6.1 60534eef4739 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_epoll_wait
2024/04/03 20:43 android14-6.1 af361f9a1066 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_epoll_wait
2024/03/29 16:55 android14-6.1 5b8114ec3c92 c52bcb23 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_epoll_wait
2024/03/29 03:46 android14-6.1 5b8114ec3c92 e91187ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_epoll_wait
2024/03/28 14:27 android14-6.1 8f2f0a3b12b9 e91187ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_epoll_wait
2024/03/27 15:05 android14-6.1 eef3b6e52937 454571b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_epoll_wait
2024/03/26 12:54 android14-6.1 8790a94475c9 bcd9b39f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_epoll_wait
2024/03/22 12:30 android14-6.1 609541ba1afd 4b6cdce6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_epoll_wait
2024/03/12 16:42 android14-6.1 bb197cebd544 c35c26ec .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_epoll_wait
* Struck through repros no longer work on HEAD.