------------[ cut here ]------------ do not call blocking ops when !TASK_RUNNING; state=1 set at [] prepare_to_wait_exclusive+0x88/0x230 kernel/sched/wait.c:275 WARNING: kernel/sched/core.c:9183 at __might_sleep+0x92/0xf0 kernel/sched/core.c:9179, CPU#0: syz.4.374/7113 Modules linked in: CPU: 0 UID: 0 PID: 7113 Comm: syz.4.374 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:9179 Code: 00 00 48 89 3c 24 41 89 f5 4c 8d 35 ce a4 e6 0e 43 80 3c 3c 00 74 08 48 89 df e8 bf 45 a1 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:ffffc90000007c08 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88807f6b5728 RCX: ffffffff81a01468 RDX: ffffffff81a01468 RSI: 0000000000000001 RDI: ffffffff907d29a0 RBP: 0000000000000001 R08: 0000000000000100 R09: 1ffffffff20f456f R10: dffffc0000000000 R11: fffffbfff20f4570 R12: 1ffff1100fed6ae5 R13: 00000000000011d1 R14: ffffffff907d29a0 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff888124cd2000(0063) knlGS:00000000f546db40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f540ada4 CR3: 00000000795d4000 CR4: 00000000003526f0 Call Trace: __cancel_work_sync+0x6d/0x110 kernel/workqueue.c:4561 mmc_free_host+0x19/0x30 drivers/mmc/core/host.c:700 call_timer_fn+0x18d/0x5f0 kernel/time/timer.c:1748 expire_timers kernel/time/timer.c:1799 [inline] __run_timers kernel/time/timer.c:2374 [inline] __run_timer_base+0x652/0x8b0 kernel/time/timer.c:2386 run_timer_base kernel/time/timer.c:2395 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2405 handle_softirqs+0x226/0x860 kernel/softirq.c:645 __do_softirq kernel/softirq.c:679 [inline] invoke_softirq kernel/softirq.c:519 [inline] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 irq_exit_rcu+0x9/0x30 kernel/softirq.c:775 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:lock_release+0x2e1/0x3c0 kernel/locking/lockdep.c:5968 Code: c7 f1 11 00 00 00 00 eb b5 e8 5b 97 41 0a f7 c3 00 02 00 00 74 b9 65 48 8b 05 b3 82 f1 11 48 3b 44 24 28 75 48 fb 48 83 c4 30 <5b> 41 5c 41 5d 41 5e 41 5f 5d e9 d0 9b 44 0a cc 48 8d 3d e8 0a da RSP: 0018:ffffc900101af450 EFLAGS: 00000286 RAX: 6c83ed295b19a100 RBX: 0000000000000283 RCX: 0000000000000046 RDX: 000000000032383d RSI: ffffffff8e6fe7fc RDI: ffffffff8c6d9a80 RBP: ffff88807f6b4a30 R08: ffffffff8be62670 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed100fc1b518 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8ec11060 R15: ffff88807f6b3e80 sched_submit_work kernel/sched/core.c:7336 [inline] schedule+0x141/0x2b0 kernel/sched/core.c:7367 schedule_timeout+0xc0/0x2c0 kernel/time/sleep_timeout.c:75 unix_wait_for_peer+0x1f5/0x2f0 net/unix/af_unix.c:1628 unix_dgram_sendmsg+0xaf4/0x17b0 net/unix/af_unix.c:2264 sock_sendmsg_nosec+0x13a/0x180 net/socket.c:800 __sock_sendmsg net/socket.c:815 [inline] ____sys_sendmsg+0x54e/0x850 net/socket.c:2713 ___sys_sendmsg+0x2a5/0x360 net/socket.c:2767 __sys_sendmmsg+0x2de/0x4d0 net/socket.c:2849 __compat_sys_sendmmsg net/compat.c:359 [inline] __do_compat_sys_sendmmsg net/compat.c:366 [inline] __se_compat_sys_sendmmsg net/compat.c:363 [inline] __ia32_compat_sys_sendmmsg+0xa2/0xc0 net/compat.c:363 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:79 [inline] __do_fast_syscall_32+0x27a/0x6a0 arch/x86/entry/syscall_32.c:291 do_fast_syscall_32+0x33/0x70 arch/x86/entry/syscall_32.c:316 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf707f0ec Code: 90 85 d2 74 0a 89 ce 81 e6 ff 0f 00 00 89 32 85 c0 74 05 c1 e9 0c 89 08 31 c0 5e 5d c3 90 0f 1f 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 58 b8 RSP: 002b:00000000f546d50c EFLAGS: 00000206 ORIG_RAX: 0000000000000159 RAX: ffffffffffffffda RBX: 000000000000000c RCX: 00000000800bd000 RDX: 0000000000000318 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- 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 ce a4 e6 0e lea 0xee6a4ce(%rip),%r14 # 0xee6a4de 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 bf 45 a1 00 call 0xa145de 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