------------[ cut here ]------------ do not call blocking ops when !TASK_RUNNING; state=1 set at [] do_wait+0x17d/0x510 kernel/exit.c:-1 WARNING: kernel/sched/core.c:9191 at __might_sleep+0x92/0xf0 kernel/sched/core.c:9187, CPU#1: syz-executor/5614 Modules linked in: CPU: 1 UID: 0 PID: 5614 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2026 RIP: 0010:__might_sleep+0xac/0xf0 kernel/sched/core.c:9187 Code: 00 00 48 89 3c 24 41 89 f5 4c 8d 35 9e c1 e6 0f 43 80 3c 3c 00 74 08 48 89 df e8 af 3f a2 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:ffffc90000a18c08 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88802ce237f0 RCX: ffffffff81889f8d RDX: ffffffff81889f8d RSI: 0000000000000001 RDI: ffffffff917d7290 RBP: 0000000000000001 R08: 0000000000000100 R09: 1ffffffff22f4e6f R10: dffffc0000000000 R11: fffffbfff22f4e70 R12: 1ffff110059c46fe R13: 00000000000011d1 R14: ffffffff917d7290 R15: dffffc0000000000 FS: 00005555832a7500(0000) GS:ffff888123bbf000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f57f926034c CR3: 0000000058910000 CR4: 0000000000350ef0 Call Trace: __cancel_work_sync+0x6d/0x110 kernel/workqueue.c:4561 mmc_free_host+0x19/0x40 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:finish_task_switch+0x413/0xc60 kernel/sched/core.c:5384 Code: 04 00 00 41 c7 84 24 20 0e 00 00 00 00 00 00 0f 1f 44 00 00 49 83 c4 48 4c 89 e7 e8 17 3f 55 0a e8 12 2f 3a 00 fb 4c 8b 65 c8 <49> 8d bc 24 18 17 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0 RSP: 0018:ffffc90003daf8a0 EFLAGS: 00000206 RAX: 000000000003014d RBX: ffff8880b853c8e0 RCX: 8000000000000001 RDX: 0000000000000000 RSI: ffffffff8e4697c1 RDI: ffffffff8c6ddb80 RBP: ffffc90003daf8f0 R08: ffffffff917a737f R09: 1ffffffff22f4e6f R10: dffffc0000000000 R11: fffffbfff22f4e70 R12: ffff88802ce21f40 R13: ffff8880b853c8a8 R14: dffffc0000000000 R15: 1ffff110170a791c context_switch kernel/sched/core.c:5536 [inline] __schedule+0x17e3/0x58f0 kernel/sched/core.c:7284 preempt_schedule_common+0x7f/0xd0 kernel/sched/core.c:7463 preempt_schedule_thunk+0x16/0x40 arch/x86/entry/thunk.S:12 __raw_read_unlock include/linux/rwlock_api_smp.h:256 [inline] _raw_read_unlock+0x41/0x50 kernel/locking/spinlock.c:295 __do_wait+0x5a9/0x720 kernel/exit.c:1711 do_wait+0x1e7/0x510 kernel/exit.c:1733 kernel_wait4+0x232/0x2b0 kernel/exit.c:1892 __do_sys_wait4 kernel/exit.c:1920 [inline] __se_sys_wait4 kernel/exit.c:1916 [inline] __x64_sys_wait4+0x166/0x240 kernel/exit.c:1916 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:0x7f2ea715ed8e Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007ffd6a4887e8 EFLAGS: 00000246 ORIG_RAX: 000000000000003d RAX: ffffffffffffffda RBX: 00005555832a7500 RCX: 00007f2ea715ed8e RDX: 0000000040000001 RSI: 00007ffd6a48888c RDI: ffffffffffffffff RBP: 00007ffd6a48888c R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000001388 R13: 00000000000927c0 R14: 0000000000019721 R15: 00007ffd6a4888e0 ---------------- 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 9e c1 e6 0f lea 0xfe6c19e(%rip),%r14 # 0xfe6c1ae 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 af 3f a2 00 call 0xa23fce 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