syzbot


BUG: scheduling while atomic in do_nanosleep

Status: upstream: reported C repro on 2024/02/05 22:02
Bug presence: origin:lts
[Documentation on labels]
Reported-by: syzbot+056307f23e322d10c336@syzkaller.appspotmail.com
First crash: 177d, last: 22d
Bug presence (2)
Date Name Commit Repro Result
2024/02/06 lts (merge base) 6139f2a02fe0 C [report] BUG: scheduling while atomic in do_nanosleep
2024/02/06 upstream (ToT) 54be6c6c5ae8 C Didn't crash
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-1 BUG: scheduling while atomic in do_nanosleep origin:lts C 104 7d21h 137d 0/2 upstream: reported C repro on 2024/02/08 03:49
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/06/23 05:09 16m retest repro android13-5.15-lts OK log
2024/06/23 05:09 19m retest repro android13-5.15-lts OK log
2024/06/23 05:09 18m retest repro android13-5.15-lts OK log
2024/06/23 00:28 20m retest repro android13-5.15-lts OK log
2024/06/23 00:28 21m retest repro android13-5.15-lts OK log
2024/06/23 00:28 14m retest repro android13-5.15-lts OK log
2024/06/23 00:28 21m retest repro android13-5.15-lts OK log
2024/06/23 00:28 19m retest repro android13-5.15-lts OK log
2024/06/22 20:03 28m retest repro android13-5.15-lts OK log
2024/06/22 20:03 19m retest repro android13-5.15-lts OK log

Sample crash report:
BUG: scheduling while atomic: syz-executor436/297/0x00000002
Modules linked in:
Preemption disabled at:
[<ffffffff81468328>] spin_lock_irq include/linux/spinlock.h:388 [inline]
[<ffffffff81468328>] ptrace_stop+0x588/0xa90 kernel/signal.c:2356
CPU: 1 PID: 297 Comm: syz-executor436 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
 freezable_schedule include/linux/freezer.h:197 [inline]
 do_nanosleep+0x181/0x6a0 kernel/time/hrtimer.c:2044
 hrtimer_nanosleep+0x1c5/0x3f0 kernel/time/hrtimer.c:2097
 common_nsleep+0x91/0xb0 kernel/time/posix-timers.c:1267
 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1308 [inline]
 __se_sys_clock_nanosleep+0x323/0x3b0 kernel/time/posix-timers.c:1285
 __x64_sys_clock_nanosleep+0x9b/0xb0 kernel/time/posix-timers.c:1285
 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:0x7fe62663a5c3
Code: 00 00 00 00 00 66 90 83 ff 03 74 7b 83 ff 02 b8 fa ff ff ff 49 89 ca 0f 44 f8 80 3d be 0a 05 00 00 74 14 b8 e6 00 00 00 0f 05 <f7> d8 c3 66 2e 0f 1f 84 00 00 00 00 00 48 83 ec 28 48 89 54 24 10
RSP: 002b:00007ffe475f84a8 EFLAGS: 00000202 ORIG_RAX: 00000000000000e6
RAX: ffffffffffffffda RBX: 000000000000014c RCX: 00007fe62663a5c3
RDX: 00007ffe475f84c0 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00000000000f4240 R08: 00007ffe475fb080 R09: 00007ffe475fb0b0
R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000543b
R13: 00007ffe475f84fc R14: 00007ffe475f8510 R15: 00007ffe475f8500
 </TASK>

Crashes (74):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/30 00:34 android13-5.15-lts 424f92bcbe8f 34889ee3 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/05/26 04:55 android13-5.15-lts 424f92bcbe8f a10a183e .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_nanosleep
2024/05/03 06:01 android13-5.15-lts 5d96939590c0 ddfc15a1 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/04/16 04:51 android13-5.15-lts ad06eaf051cd 0d592ce4 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_nanosleep
2024/04/13 06:37 android13-5.15-lts 993bed180178 c8349e48 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/04/12 10:06 android13-5.15-lts 993bed180178 27de0a5c .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/04/01 23:21 android13-5.15-lts 993bed180178 6baf5069 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/03/28 05:24 android13-5.15-lts 993bed180178 120789fd .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/03/12 18:42 android13-5.15-lts 993bed180178 c35c26ec .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/03/10 18:41 android13-5.15-lts 993bed180178 6ee49f2e .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_nanosleep
2024/03/10 17:52 android13-5.15-lts 993bed180178 6ee49f2e .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/02/08 18:48 android13-5.15-lts 3802b45594e1 7f07e9b0 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_nanosleep
2024/02/05 21:59 android13-5.15-lts 3802b45594e1 e23e8c20 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_nanosleep
2024/06/02 13:00 android13-5.15-lts 424f92bcbe8f 3113787f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/05/31 09:17 android13-5.15-lts 424f92bcbe8f 0c378259 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/05/29 15:16 android13-5.15-lts 424f92bcbe8f 34889ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/05/22 18:51 android13-5.15-lts 5d96939590c0 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/05/21 18:51 android13-5.15-lts 5d96939590c0 4c0d3ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_nanosleep
2024/05/21 05:28 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_nanosleep
2024/05/18 00:31 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_nanosleep
2024/05/15 21:00 android13-5.15-lts 5d96939590c0 94b087b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/05/15 06:43 android13-5.15-lts 5d96939590c0 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/05/13 19:21 android13-5.15-lts 5d96939590c0 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/05/09 08:50 android13-5.15-lts 5d96939590c0 05079661 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_nanosleep
2024/05/09 07:20 android13-5.15-lts 5d96939590c0 20bf80e1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/05/08 16:22 android13-5.15-lts 5d96939590c0 20bf80e1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/05/03 10:09 android13-5.15-lts 5d96939590c0 dd26401e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/05/02 13:58 android13-5.15-lts 5d96939590c0 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_nanosleep
2024/05/01 18:20 android13-5.15-lts 5d96939590c0 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/04/24 18:27 android13-5.15-lts ad06eaf051cd 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_nanosleep
2024/04/23 16:32 android13-5.15-lts ad06eaf051cd 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_nanosleep
2024/04/23 02:47 android13-5.15-lts ad06eaf051cd 36c961ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_nanosleep
2024/04/22 13:09 android13-5.15-lts ad06eaf051cd 36c961ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_nanosleep
2024/04/22 06:29 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_nanosleep
2024/04/22 03:56 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_nanosleep
2024/04/21 20:36 android13-5.15-lts ad06eaf051cd af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_nanosleep
2024/04/20 11:42 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_nanosleep
2024/04/18 12:04 android13-5.15-lts ad06eaf051cd af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_nanosleep
2024/04/15 13:27 android13-5.15-lts ad06eaf051cd b9af7e61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_nanosleep
2024/04/14 16:27 android13-5.15-lts 993bed180178 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_nanosleep
2024/04/14 16:18 android13-5.15-lts 993bed180178 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_nanosleep
2024/04/12 22:03 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_nanosleep
2024/04/12 19:41 android13-5.15-lts 993bed180178 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_nanosleep
2024/04/10 16:33 android13-5.15-lts 993bed180178 4320ec32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/04/09 10:42 android13-5.15-lts 993bed180178 f3234354 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/04/09 08:16 android13-5.15-lts 993bed180178 f3234354 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_nanosleep
2024/04/09 00:53 android13-5.15-lts 993bed180178 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/04/08 12:23 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_nanosleep
2024/04/08 00:51 android13-5.15-lts 993bed180178 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_nanosleep
2024/04/07 20:27 android13-5.15-lts 993bed180178 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_nanosleep
2024/04/07 17:40 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_nanosleep
2024/04/07 13:01 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_nanosleep
2024/04/05 12:19 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_nanosleep
2024/04/05 05:11 android13-5.15-lts 993bed180178 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/04/03 16:27 android13-5.15-lts 993bed180178 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/04/03 09:13 android13-5.15-lts 993bed180178 7925100d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/04/01 21:41 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_nanosleep
2024/04/01 18:16 android13-5.15-lts 993bed180178 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/04/01 13:40 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_nanosleep
2024/03/31 01:14 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_nanosleep
2024/03/28 11:50 android13-5.15-lts 993bed180178 120789fd .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_nanosleep
2024/03/28 06:30 android13-5.15-lts 993bed180178 120789fd .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_nanosleep
2024/03/26 09:37 android13-5.15-lts 993bed180178 bcd9b39f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_nanosleep
2024/03/18 03:48 android13-5.15-lts 993bed180178 d615901c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/03/17 14:43 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_nanosleep
2024/03/14 20:46 android13-5.15-lts 993bed180178 8d8ee116 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_nanosleep
2024/03/04 22:36 android13-5.15-lts 993bed180178 3717835d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/03/01 18:58 android13-5.15-lts 993bed180178 83acf9e0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2024/02/29 05:34 android13-5.15-lts 993bed180178 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
2023/12/30 05:16 android13-5.15-lts 28e3f5851a99 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in do_nanosleep
* Struck through repros no longer work on HEAD.