syzbot


BUG: scheduling while atomic in futex_wait_queue

Status: premoderation: reported on 2024/02/08 01:35
Reported-by: syzbot+470365a4b02e1042340c@syzkaller.appspotmail.com
First crash: 136d, last: 2d15h

Sample crash report:
BUG: scheduling while atomic: syz-executor.3/26424/0x00000002
Modules linked in:
Preemption disabled at:
[<ffffffff816ae3ce>] spin_lock include/linux/spinlock.h:350 [inline]
[<ffffffff816ae3ce>] futex_unqueue+0x4e/0x140 kernel/futex/core.c:601
CPU: 0 PID: 26424 Comm: syz-executor.3 Tainted: G        W          6.1.78-syzkaller-00020-gcd89d4fa0722 #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:5975
 schedule_debug kernel/sched/core.c:6002 [inline]
 __schedule+0xcf7/0x1550 kernel/sched/core.c:6637
 schedule+0xc3/0x180 kernel/sched/core.c:6820
 futex_wait_queue+0xf2/0x250 kernel/futex/waitwake.c:361
 futex_wait+0x212/0x7e0 kernel/futex/waitwake.c:664
 do_futex+0x55a/0x9a0 kernel/futex/syscalls.c:108
 __do_sys_futex kernel/futex/syscalls.c:185 [inline]
 __se_sys_futex+0x35e/0x3c0 kernel/futex/syscalls.c:166
 __x64_sys_futex+0xe5/0x100 kernel/futex/syscalls.c:166
 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:0x7fe961e7cf29
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc3239ca18 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: ffffffffffffffda RBX: 00000000002ed8e3 RCX: 00007fe961e7cf29
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fe961fb3f8c
RBP: 00000000002ed915 R08: 00007ffc323e50b0 R09: 0000000e00000000
R10: 00007ffc3239cb00 R11: 0000000000000246 R12: 00007ffc3239cb00
R13: 00007fe961fb3f8c R14: 0000000000000032 R15: 00007ffc3239cb20
 </TASK>

Crashes (34):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/21 03:18 android14-6.1 cd89d4fa0722 dac2aa43 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in futex_wait_queue
2024/06/21 02:47 android14-6.1 cd89d4fa0722 dac2aa43 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in futex_wait_queue
2024/06/07 08:48 android14-6.1 62a4d78ddaf1 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in futex_wait_queue
2024/06/06 02:52 android14-6.1 e4622d460ed8 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in futex_wait_queue
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 futex_wait_queue
2024/05/20 16:48 android14-6.1 34a15d350726 c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in futex_wait_queue
2024/05/12 11:16 android14-6.1 4d55129aea65 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in futex_wait_queue
2024/05/12 05:29 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 futex_wait_queue
2024/05/05 08:32 android14-6.1 1794308d463f 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in futex_wait_queue
2024/05/04 12:53 android14-6.1 1794308d463f 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in futex_wait_queue
2024/05/04 10:55 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 futex_wait_queue
2024/04/27 15:58 android14-6.1 fa87a072a7fc 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in futex_wait_queue
2024/04/24 20:06 android14-6.1 d0c6724b0f6f 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in futex_wait_queue
2024/04/20 23:42 android14-6.1 dcb09569bbff af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in futex_wait_queue
2024/04/19 13:57 android14-6.1 dcb09569bbff af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in futex_wait_queue
2024/04/19 08:23 android14-6.1 dcb09569bbff af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in futex_wait_queue
2024/04/17 15:45 android14-6.1 089d1b8f6daf acc528cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in futex_wait_queue
2024/04/16 23:49 android14-6.1 089d1b8f6daf 18f6e127 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in futex_wait_queue
2024/04/15 05:31 android14-6.1 b76ed1185975 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in futex_wait_queue
2024/04/12 17:56 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 futex_wait_queue
2024/04/12 06:07 android14-6.1 354782156070 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in futex_wait_queue
2024/04/11 23:24 android14-6.1 ca4095789fda 95ed9ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in futex_wait_queue
2024/04/11 07:39 android14-6.1 ca4095789fda 33b9e058 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in futex_wait_queue
2024/04/10 04:32 android14-6.1 5dc2bc296647 171ec371 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in futex_wait_queue
2024/04/07 07:12 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 futex_wait_queue
2024/04/05 17:13 android14-6.1 60534eef4739 77230c29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in futex_wait_queue
2024/04/05 01:46 android14-6.1 60534eef4739 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in futex_wait_queue
2024/04/01 12:29 android14-6.1 5b8114ec3c92 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in futex_wait_queue
2024/03/31 18:53 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 futex_wait_queue
2024/03/29 04:43 android14-6.1 5b8114ec3c92 c52bcb23 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in futex_wait_queue
2024/03/28 13:51 android14-6.1 8f2f0a3b12b9 e91187ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in futex_wait_queue
2024/03/23 01:48 android14-6.1 d518ca9dbbe9 4b6cdce6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in futex_wait_queue
2024/02/29 06:35 android14-6.1 4289e1348ea3 352ab904 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in futex_wait_queue
2024/02/08 01:34 android14-6.1 6053d8ffd476 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in futex_wait_queue
* Struck through repros no longer work on HEAD.