------------[ cut here ]------------ do not call blocking ops when !TASK_RUNNING; state=2 set at [] prepare_to_wait_event+0x3dd/0x480 kernel/sched/wait.c:317 WARNING: kernel/sched/core.c:9124 at __might_sleep+0x92/0xf0 kernel/sched/core.c:9120, CPU#0: syz.1.4757/23526 Modules linked in: CPU: 0 UID: 0 PID: 23526 Comm: syz.1.4757 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:__might_sleep+0xac/0xf0 kernel/sched/core.c:9120 Code: 00 00 48 89 3c 24 41 89 f5 4c 8d 35 6e d3 c4 0e 43 80 3c 3c 00 74 08 48 89 df e8 2f 8e 9e 00 48 8b 0b 4c 89 f7 89 ee 48 89 ca <67> 48 0f b9 3a 44 89 ee 48 8b 3c 24 eb b5 44 89 f1 80 e1 07 80 c1 RSP: 0018:ffffc90005e77ae0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88802996f570 RCX: ffffffff819fc8fd RDX: ffffffff819fc8fd RSI: 0000000000000002 RDI: ffffffff905ae310 RBP: 0000000000000002 R08: ffffc90005e77c27 R09: 0000000000000000 R10: ffffc90005e77c00 R11: fffff52000bcef85 R12: 1ffff1100532deae R13: 000000000000026f R14: ffffffff905ae310 R15: dffffc0000000000 FS: 00007f3ecd0a46c0(0000) GS:ffff888124f49000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000057f000 CR3: 0000000058292000 CR4: 00000000003526f0 Call Trace: __mutex_lock_common kernel/locking/mutex.c:623 [inline] __mutex_lock+0x118/0x1550 kernel/locking/mutex.c:821 class_mutex_constructor include/linux/mutex.h:253 [inline] futex_pivot_pending kernel/futex/core.c:1789 [inline] futex_hash_allocate+0x7fb/0xf00 kernel/futex/core.c:1872 __do_sys_prctl kernel/sys.c:2885 [inline] __se_sys_prctl+0x78c/0x1910 kernel/sys.c:2534 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3ecc19e0d9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3ecd0a4028 EFLAGS: 00000246 ORIG_RAX: 000000000000009d RAX: ffffffffffffffda RBX: 00007f3ecc426090 RCX: 00007f3ecc19e0d9 RDX: 0000000000000002 RSI: 0000000000000001 RDI: 000000000000004e RBP: 00007f3ecc235024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f3ecc426128 R14: 00007f3ecc426090 R15: 00007f3ecc54fa48 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 48 89 3c 24 mov %rdi,(%rsp) 6: 41 89 f5 mov %esi,%r13d 9: 4c 8d 35 6e d3 c4 0e lea 0xec4d36e(%rip),%r14 # 0xec4d37e 10: 43 80 3c 3c 00 cmpb $0x0,(%r12,%r15,1) 15: 74 08 je 0x1f 17: 48 89 df mov %rbx,%rdi 1a: e8 2f 8e 9e 00 call 0x9e8e4e 1f: 48 8b 0b mov (%rbx),%rcx 22: 4c 89 f7 mov %r14,%rdi 25: 89 ee mov %ebp,%esi 27: 48 89 ca mov %rcx,%rdx * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: 44 89 ee mov %r13d,%esi 32: 48 8b 3c 24 mov (%rsp),%rdi 36: eb b5 jmp 0xffffffed 38: 44 89 f1 mov %r14d,%ecx 3b: 80 e1 07 and $0x7,%cl 3e: 80 .byte 0x80 3f: c1 .byte 0xc1