syzbot


BUG: scheduling while atomic in do_task_dead

Status: upstream: reported C repro on 2024/02/18 16:42
Bug presence: origin:lts
[Documentation on labels]
Reported-by: syzbot+7b1188a51a265df3b1c1@syzkaller.appspotmail.com
First crash: 78d, last: 3d14h
Bug presence (2)
Date Name Commit Repro Result
2024/02/18 lts (merge base) ba6f5fb46511 C [report] BUG: scheduling while atomic in exit_to_user_mode_loop
2024/02/18 upstream (ToT) c02197fc9076 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_task_dead origin:lts C 69 2d13h 80d 0/2 upstream: reported C repro on 2024/02/16 03:18

Sample crash report:
BUG: scheduling while atomic: syz-executor248/304/0x00000002
Modules linked in:
Preemption disabled at:
[<ffffffff81586317>] __up_write kernel/locking/rwsem.c:1428 [inline]
[<ffffffff81586317>] up_write+0x27/0x1f0 kernel/locking/rwsem.c:1682
CPU: 1 PID: 304 Comm: syz-executor248 Not tainted 6.1.75-syzkaller-00089-g1794308d463f #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/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
 do_task_dead+0x99/0xa0 kernel/sched/core.c:6751
 do_exit+0x202a/0x2b80 kernel/exit.c:927
 do_group_exit+0x21a/0x2d0 kernel/exit.c:1025
 __do_sys_exit_group kernel/exit.c:1036 [inline]
 __se_sys_exit_group kernel/exit.c:1034 [inline]
 __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1034
 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:0x7f34826d5ff9
Code: Unable to access opcode bytes at 0x7f34826d5fcf.
RSP: 002b:00007ffd02f41578 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f34826d5ff9
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000
RBP: 00007f34827522b0 R08: ffffffffffffffb8 R09: 00000000000000a0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f34827522b0
R13: 0000000000000000 R14: 00007f3482752d20 R15: 00007f34826a71b0
 </TASK>

Crashes (62):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/03 12:53 android14-6.1 1794308d463f dd26401e .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_task_dead
2024/05/02 18:40 android14-6.1 ea3c70fb959a 3ba885bc .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/04/30 02:57 android14-6.1 4744b3a4ed72 f10afd69 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_task_dead
2024/04/30 01:44 android14-6.1 4744b3a4ed72 f10afd69 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_task_dead
2024/04/29 23:01 android14-6.1 08cc4037cf32 f10afd69 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/04/25 22:06 android14-6.1 fa87a072a7fc 8bdc0f22 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_task_dead
2024/04/25 09:41 android14-6.1 c61278bb705a 8bdc0f22 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/04/22 07:14 android14-6.1 dcb09569bbff af24b050 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/04/22 03: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_task_dead
2024/04/21 20:41 android14-6.1 dcb09569bbff af24b050 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/04/21 00:13 android14-6.1 dcb09569bbff af24b050 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/04/20 23:36 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_task_dead
2024/04/16 18:40 android14-6.1 77fec6cefe26 18f6e127 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_task_dead
2024/04/16 13:07 android14-6.1 77fec6cefe26 0d592ce4 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/04/15 22:13 android14-6.1 99aea323a3fd b9af7e61 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_task_dead
2024/04/15 21:28 android14-6.1 26f2c9be9ebe b9af7e61 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/04/15 05:04 android14-6.1 b76ed1185975 c8349e48 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/04/13 02:01 android14-6.1 cfa154389a65 c8349e48 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_task_dead
2024/04/12 22:35 android14-6.1 cfa154389a65 c8349e48 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/04/08 01:18 android14-6.1 60534eef4739 ca620dd8 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_task_dead
2024/04/07 12:09 android14-6.1 60534eef4739 ca620dd8 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_task_dead
2024/04/07 05:49 android14-6.1 60534eef4739 ca620dd8 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/04/06 14:23 android14-6.1 60534eef4739 ca620dd8 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_task_dead
2024/04/06 09:26 android14-6.1 60534eef4739 ca620dd8 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_task_dead
2024/04/06 08:57 android14-6.1 60534eef4739 ca620dd8 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/04/06 02:43 android14-6.1 60534eef4739 ca620dd8 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/04/05 19:01 android14-6.1 60534eef4739 77230c29 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_task_dead
2024/04/05 16:58 android14-6.1 60534eef4739 77230c29 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/04/05 15:44 android14-6.1 60534eef4739 77230c29 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/04/05 07:13 android14-6.1 60534eef4739 0ee3535e .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_task_dead
2024/04/04 23:29 android14-6.1 ebcdb9dc211f 0ee3535e .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/04/04 08:26 android14-6.1 ebcdb9dc211f 51c4dcff .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_task_dead
2024/04/04 05:45 android14-6.1 af361f9a1066 51c4dcff .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_task_dead
2024/04/04 04:50 android14-6.1 af361f9a1066 51c4dcff .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/04/03 10:42 android14-6.1 3ca4271578e1 7925100d .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/04/03 10:28 android14-6.1 3ca4271578e1 7925100d .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_task_dead
2024/03/24 22:16 android14-6.1 d518ca9dbbe9 0ea90952 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/03/23 10:12 android14-6.1 d518ca9dbbe9 0ea90952 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/03/23 09:38 android14-6.1 d518ca9dbbe9 0ea90952 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_task_dead
2024/03/21 19:53 android14-6.1 b75112544779 7a239ce7 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/03/14 05:41 android14-6.1 4c25eb8ea5a2 f919f202 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/03/08 07:16 android14-6.1 9219a44e003d cf82cde1 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_task_dead
2024/03/08 05:57 android14-6.1 9219a44e003d cf82cde1 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/02/26 09:54 android14-6.1 8c0f9174731d 8d446f15 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_task_dead
2024/02/25 08:54 android14-6.1 8c0f9174731d 8d446f15 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_task_dead
2024/02/24 12:23 android14-6.1 8c0f9174731d 8d446f15 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_task_dead
2024/02/18 16:40 android14-6.1 92432f07d663 578f7538 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/04/29 08:14 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_task_dead
2024/04/28 14:46 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_task_dead
2024/04/24 04:16 android14-6.1 d0c6724b0f6f 21339d7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/04/15 23:26 android14-6.1 26f2c9be9ebe b9af7e61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/04/15 09:32 android14-6.1 b76ed1185975 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/04/06 20:17 android14-6.1 60534eef4739 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/04/05 12:55 android14-6.1 60534eef4739 77230c29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in do_task_dead
2024/04/05 11:36 android14-6.1 60534eef4739 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/04/05 07:25 android14-6.1 60534eef4739 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/04/04 19:40 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_task_dead
2024/04/04 11:09 android14-6.1 ebcdb9dc211f 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/03/31 23:03 android14-6.1 5b8114ec3c92 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
2024/03/30 01:03 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_task_dead
2024/03/29 23:44 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_task_dead
2024/03/16 03:21 android14-6.1 ef39f76e4d24 d615901c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in do_task_dead
* Struck through repros no longer work on HEAD.