------------[ cut here ]------------ do not call blocking ops when !TASK_RUNNING; state=2 set at [] prepare_to_wait_event+0x3d6/0x470 kernel/sched/wait.c:317 WARNING: kernel/sched/core.c:9161 at __might_sleep+0x92/0xf0 kernel/sched/core.c:9157, CPU#1: syz.8.3699/21117 Modules linked in: CPU: 1 UID: 0 PID: 21117 Comm: syz.8.3699 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:__might_sleep+0xac/0xf0 kernel/sched/core.c:9157 Code: 00 00 48 89 3c 24 41 89 f5 4c 8d 35 0e 80 1e 0e 43 80 3c 3c 00 74 08 48 89 df e8 9f b9 9b 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:ffffc90005357c30 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888031a3b768 RCX: ffffffff819e7656 RDX: ffffffff819e7656 RSI: 0000000000000002 RDI: ffffffff8fb439c0 RBP: 0000000000000002 R08: ffffffff8fb16f37 R09: 1ffffffff1f62de6 R10: dffffc0000000000 R11: fffffbfff1f62de7 R12: 1ffff110063476ed R13: 000000000000022e R14: ffffffff8fb439c0 R15: dffffc0000000000 FS: 00007f7d6a7466c0(0000) GS:ffff888125cf4000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c384bed CR3: 00000000607fc000 CR4: 00000000003526f0 Call Trace: __mutex_lock_common kernel/locking/rtmutex_api.c:558 [inline] mutex_lock_nested+0x37/0x1d0 kernel/locking/rtmutex_api.c:578 class_mutex_constructor include/linux/mutex.h:253 [inline] futex_pivot_pending kernel/futex/core.c:1791 [inline] futex_hash_allocate+0x81c/0xf20 kernel/futex/core.c:1874 __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:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7d6c4ee0d9 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:00007f7d6a746028 EFLAGS: 00000246 ORIG_RAX: 000000000000009d RAX: ffffffffffffffda RBX: 00007f7d6c775fa0 RCX: 00007f7d6c4ee0d9 RDX: 0000000000000002 RSI: 0000000000000001 RDI: 000000000000004e RBP: 00007f7d6c585024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7d6c776038 R14: 00007f7d6c775fa0 R15: 00007ffca8b276d8 ---------------- 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 0e 80 1e 0e lea 0xe1e800e(%rip),%r14 # 0xe1e801e 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 9f b9 9b 00 call 0x9bb9be 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