syzbot


BUG: scheduling while atomic in do_nanosleep

Status: auto-obsoleted due to no activity on 2024/09/09 07:22
Reported-by: syzbot+8bf134269eb79af54f90@syzkaller.appspotmail.com
First crash: 318d, last: 173d
Fix bisection: fixed by (bisect log) :
commit 95b7476f6f68d725c474e3348e89436b0abde62a
Author: Jiri Olsa <jolsa@kernel.org>
Date: Thu Dec 15 21:44:29 2022 +0000

  bpf: Do cleanup in bpf_bprintf_cleanup only when needed

  
Bug presence (2)
Date Name Commit Repro Result
2024/07/16 lts (merge base) 347385861c50 C Didn't crash
2024/07/16 upstream (ToT) 1467b49869df 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_nanosleep origin:lts C done 74 202d 320d 0/2 auto-obsoleted due to no activity on 2024/08/11 13:00

Sample crash report:
BUG: scheduling while atomic: syz-executor321/292/0x00000002
Modules linked in:
Preemption disabled at:
[<ffffffff81566406>] remove_wait_queue+0x26/0x140 kernel/sched/wait.c:55
CPU: 0 PID: 292 Comm: syz-executor321 Not tainted 6.1.75-syzkaller-00033-gdd875b63669a #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/0x1b lib/dump_stack.c:113
 __schedule_bug+0x195/0x260 kernel/sched/core.c:5964
 schedule_debug kernel/sched/core.c:5991 [inline]
 __schedule+0xcf7/0x1550 kernel/sched/core.c:6626
 schedule+0xc3/0x180 kernel/sched/core.c:6809
 do_nanosleep+0x149/0x580 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:51 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f52100dd4c3
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 1b 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:00007ffcbe146478 EFLAGS: 00000202 ORIG_RAX: 00000000000000e6
RAX: ffffffffffffffda RBX: 000000000000018d RCX: 00007f52100dd4c3
RDX: 00007ffcbe146490 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00000000000f4240 R08: 00007ffcbe1db080 R09: 00007ffcbe1db0b0
R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000534a
R13: 00007ffcbe1464cc R14: 00007ffcbe1464e0 R15: 00007ffcbe1464d0
 </TASK>

Crashes (104):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/30 03:47 android14-6.1 dd875b63669a 34889ee3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/05/26 05:25 android14-6.1 68c821783c76 a10a183e .config console log report syz C ci2-android-6-1-perf BUG: scheduling while atomic in do_nanosleep
2024/05/14 14:10 android14-6.1 47dfe41d57ca fdb4c10c .config console log report syz C ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/05/12 03:36 android14-6.1 4d55129aea65 9026e142 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_nanosleep
2024/05/01 04:04 android14-6.1 1d37bc9913cc 3ba885bc .config strace log report syz C ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/04/30 20:53 android14-6.1 6364d594125d 3ce4924c .config console log report syz C ci2-android-6-1-perf BUG: scheduling while atomic in do_nanosleep
2024/04/21 13:05 android14-6.1 dcb09569bbff af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/04/21 01:32 android14-6.1 dcb09569bbff af24b050 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/04/08 16:52 android14-6.1 56ba301cac0b 53df08b6 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_nanosleep
2024/04/08 08:08 android14-6.1 60534eef4739 ca620dd8 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/04/08 01:55 android14-6.1 60534eef4739 ca620dd8 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/04/01 14:33 android14-6.1 5b8114ec3c92 6baf5069 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/03/27 16:35 android14-6.1 eef3b6e52937 454571b6 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/03/24 23:55 android14-6.1 d518ca9dbbe9 0ea90952 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_nanosleep
2024/03/12 17:52 android14-6.1 bb197cebd544 c35c26ec .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/03/10 18:35 android14-6.1 5f66e7c904ee 6ee49f2e .config console log report syz C ci2-android-6-1-perf BUG: scheduling while atomic in do_nanosleep
2024/03/10 18:28 android14-6.1 5f66e7c904ee 6ee49f2e .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/02/14 19:36 android14-6.1 b86713e34104 d9b1cdd5 .config console log report syz C ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/02/09 23:06 android14-6.1 d3f73f04529a 77b23aa1 .config console log report syz C ci2-android-6-1-perf BUG: scheduling while atomic in do_nanosleep
2024/02/08 03:47 android14-6.1 6053d8ffd476 6404acf9 .config console log report syz C ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/06/17 05:48 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_nanosleep
2024/06/09 18:19 android14-6.1 ac9706483e98 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/05/31 10:01 android14-6.1 6b75fd483519 0c378259 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_nanosleep
2024/05/29 20:57 android14-6.1 dd875b63669a 34889ee3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/05/24 19:27 android14-6.1 68c821783c76 a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/05/19 09:51 android14-6.1 bd552fcbbd0f c0f1611a .config console log report info ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/05/16 19:57 android14-6.1 6a3d68af9ce6 c2e07261 .config console log report info ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/05/13 16:24 android14-6.1 4d55129aea65 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/05/10 10:19 android14-6.1 cf685d2b0273 de979bc2 .config console log report info ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/05/09 02:35 android14-6.1 fae94bc4e7ae 20bf80e1 .config console log report info ci2-android-6-1-perf BUG: scheduling while atomic in do_nanosleep
2024/05/07 02:19 android14-6.1 1794308d463f fa7a5cf0 .config console log report info ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/05/06 06:39 android14-6.1 1794308d463f 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_nanosleep
2024/05/04 01:54 android14-6.1 1794308d463f 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/05/04 00:41 android14-6.1 1794308d463f 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_nanosleep
2024/05/01 01:16 android14-6.1 1d37bc9913cc 3ba885bc .config console log report info ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/04/29 09:02 android14-6.1 08cc4037cf32 27e33c58 .config console log report info ci2-android-6-1-perf BUG: scheduling while atomic in do_nanosleep
2024/04/28 21:27 android14-6.1 08cc4037cf32 07b455f9 .config console log report info ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/04/27 23:05 android14-6.1 fa87a072a7fc 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/04/27 12:43 android14-6.1 fa87a072a7fc 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/04/26 11:46 android14-6.1 fa87a072a7fc 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/04/24 09:14 android14-6.1 d0c6724b0f6f 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/04/23 16:17 android14-6.1 3dfddcb9c277 21339d7b .config console log report info ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/04/22 05:19 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_nanosleep
2024/04/21 15:40 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_nanosleep
2024/04/21 10:55 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_nanosleep
2024/04/20 19:55 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_nanosleep
2024/04/19 10:26 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_nanosleep
2024/04/18 15:53 android14-6.1 692e3553d2e9 af24b050 .config console log report info ci2-android-6-1-perf BUG: scheduling while atomic in do_nanosleep
2024/04/18 01:04 android14-6.1 141ebdcb283b acc528cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/04/17 17:05 android14-6.1 141ebdcb283b acc528cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/04/17 07:28 android14-6.1 089d1b8f6daf 18f6e127 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/04/16 15:02 android14-6.1 77fec6cefe26 0d592ce4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/04/16 04:13 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_nanosleep
2024/04/16 03:53 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_nanosleep
2024/04/14 11:56 android14-6.1 b76ed1185975 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/04/12 22:38 android14-6.1 cfa154389a65 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_nanosleep
2024/04/11 18:48 android14-6.1 ca4095789fda 95ed9ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/04/11 16:56 android14-6.1 ca4095789fda 95ed9ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/04/11 03:53 android14-6.1 be55946e207c 33b9e058 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/04/10 17:04 android14-6.1 5dc2bc296647 4320ec32 .config console log report info ci2-android-6-1-perf BUG: scheduling while atomic in do_nanosleep
2024/04/09 23:43 android14-6.1 5dc2bc296647 171ec371 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_nanosleep
2024/04/09 14:14 android14-6.1 338203a81721 f3234354 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/04/09 12:06 android14-6.1 338203a81721 f3234354 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
2024/04/09 04:49 android14-6.1 338203a81721 f3234354 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_nanosleep
* Struck through repros no longer work on HEAD.