------------[ cut here ]------------ do not call blocking ops when !TASK_RUNNING; state=1 set at [] do_wait+0x1b3/0x570 kernel/exit.c:1754 WARNING: kernel/sched/core.c:9179 at __might_sleep+0x94/0xc0 kernel/sched/core.c:9179, CPU#1: syz-executor/2982 Modules linked in: CPU: 1 UID: 0 PID: 2982 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(lazy) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 RIP: 0010:__might_sleep+0x97/0xc0 kernel/sched/core.c:9179 Code: 8b 94 24 c0 17 00 00 48 85 d2 75 14 48 83 c4 08 89 ee 48 89 df 31 d2 5b 5d 41 5c e9 33 fc ff ff 48 8d 3d 5c dd 92 09 48 89 d1 <67> 48 0f b9 3a eb db e8 fd 20 9c 00 eb 9f 89 74 24 04 e8 22 21 9c RSP: 0018:ffffc900001b8bd8 EFLAGS: 00010286 RAX: dffffc0000000000 RBX: ffffffff87a86760 RCX: ffffffff81774453 RDX: ffffffff81774453 RSI: 0000000000000001 RDI: ffffffff8b16a5e0 RBP: 00000000000011d1 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888112063c80 R13: 8000000000000101 R14: 1ffff9200003718d R15: ffffffff85f2b320 FS: 000055557a473500(0000) GS:ffff8882684e2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4c29957dac CR3: 0000000133608000 CR4: 00000000003506f0 Call Trace: __cancel_work_sync kernel/workqueue.c:4561 [inline] cancel_delayed_work_sync+0xb8/0xf0 kernel/workqueue.c:4642 mmc_free_host+0x19/0x30 drivers/mmc/core/host.c:700 vub300_delete drivers/mmc/host/vub300.c:379 [inline] kref_put include/linux/kref.h:65 [inline] vub300_inactivity_timer_expired drivers/mmc/host/vub300.c:747 [inline] vub300_inactivity_timer_expired+0x42f/0x550 drivers/mmc/host/vub300.c:742 call_timer_fn+0x198/0x5f0 kernel/time/timer.c:1748 expire_timers kernel/time/timer.c:1799 [inline] __run_timers+0x757/0xb00 kernel/time/timer.c:2374 __run_timer_base kernel/time/timer.c:2386 [inline] __run_timer_base kernel/time/timer.c:2378 [inline] run_timer_base+0x114/0x190 kernel/time/timer.c:2395 run_timer_softirq+0x1a/0x50 kernel/time/timer.c:2405 handle_softirqs+0x1d9/0x9b0 kernel/softirq.c:645 __do_softirq kernel/softirq.c:679 [inline] invoke_softirq kernel/softirq.c:519 [inline] __irq_exit_rcu+0x168/0x210 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+0x8f/0xb0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:do_wait_thread kernel/exit.c:1602 [inline] RIP: 0010:__do_wait+0x1fa/0x8b0 kernel/exit.c:1721 Code: e9 8e 00 00 00 e8 f6 bc 3d 00 48 8d bb 28 06 00 00 48 89 f8 48 c1 e8 03 42 80 3c 20 00 0f 85 8f 05 00 00 48 8b 83 28 06 00 00 <48> 8d 98 d8 f9 ff ff 49 39 c7 74 5d e8 c5 bc 3d 00 31 f6 48 89 ef RSP: 0018:ffffc90001687bd0 EFLAGS: 00000246 RAX: ffff888112064298 RBX: ffff888115ac3c80 RCX: 0000000000000001 RDX: ffff888112063c80 RSI: ffffffff81773bba RDI: ffff888115ac42a8 RBP: ffffc90001687cd8 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff888112063c80 R14: 0000000000000000 R15: ffff888112064298 do_wait+0x1ec/0x570 kernel/exit.c:1755 kernel_wait4+0x16d/0x280 kernel/exit.c:1914 __do_sys_wait4+0x161/0x170 kernel/exit.c:1942 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x119/0x710 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3994ac92d7 Code: 48 89 fa 4c 89 df e8 a8 56 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff RSP: 002b:00007ffec285cc10 EFLAGS: 00000202 ORIG_RAX: 000000000000003d RAX: ffffffffffffffda RBX: 000055557a473500 RCX: 00007f3994ac92d7 RDX: 0000000040000001 RSI: 00007ffec285cc9c RDI: ffffffffffffffff RBP: 00007ffec285cc9c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000001388 R13: 00000000000927c0 R14: 000000000003eade R15: 00007ffec285ccf0 ---------------- Code disassembly (best guess): 0: 8b 94 24 c0 17 00 00 mov 0x17c0(%rsp),%edx 7: 48 85 d2 test %rdx,%rdx a: 75 14 jne 0x20 c: 48 83 c4 08 add $0x8,%rsp 10: 89 ee mov %ebp,%esi 12: 48 89 df mov %rbx,%rdi 15: 31 d2 xor %edx,%edx 17: 5b pop %rbx 18: 5d pop %rbp 19: 41 5c pop %r12 1b: e9 33 fc ff ff jmp 0xfffffc53 20: 48 8d 3d 5c dd 92 09 lea 0x992dd5c(%rip),%rdi # 0x992dd83 27: 48 89 d1 mov %rdx,%rcx * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: eb db jmp 0xc 31: e8 fd 20 9c 00 call 0x9c2133 36: eb 9f jmp 0xffffffd7 38: 89 74 24 04 mov %esi,0x4(%rsp) 3c: e8 .byte 0xe8 3d: 22 21 and (%rcx),%ah 3f: 9c pushf