================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. swapper/1/0 [HC0[0]:SC1[1]:HE1:SE0] takes: ffff8880577c0710 ((work_completion)(&(&host->detect)->work)){+.?.}-{0:0}, at: __flush_work+0xfa/0x210 kernel/workqueue.c:3090 {SOFTIRQ-ON-W} state was registered at: lock_acquire+0x19e/0x400 kernel/locking/lockdep.c:5623 process_one_work+0x7ba/0xff0 kernel/workqueue.c:2286 worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457 kthread+0x42e/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 irq event stamp: 3644020 hardirqs last enabled at (3644020): [] __cancel_work_timer+0x36a/0x560 kernel/workqueue.c:3174 hardirqs last disabled at (3644019): [] try_to_grab_pending+0xfb/0x820 kernel/workqueue.c:1272 softirqs last enabled at (3643950): [] __do_softirq kernel/softirq.c:610 [inline] softirqs last enabled at (3643950): [] invoke_softirq kernel/softirq.c:450 [inline] softirqs last enabled at (3643950): [] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659 softirqs last disabled at (3643975): [] __do_softirq kernel/softirq.c:610 [inline] softirqs last disabled at (3643975): [] invoke_softirq kernel/softirq.c:450 [inline] softirqs last disabled at (3643975): [] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock((work_completion)(&(&host->detect)->work)); lock((work_completion)(&(&host->detect)->work)); *** DEADLOCK *** 1 lock held by swapper/1/0: #0: ffffc90000dd0bc0 ((&vub300->inactivity_timer)){+.-.}-{0:0}, at: lockdep_copy_map include/linux/lockdep.h:45 [inline] #0: ffffc90000dd0bc0 ((&vub300->inactivity_timer)){+.-.}-{0:0}, at: call_timer_fn+0xca/0x540 kernel/time/timer.c:1638 stack backtrace: CPU: 1 PID: 0 Comm: swapper/1 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106 valid_state+0x13b/0x1d0 kernel/locking/lockdep.c:3932 mark_lock_irq+0xa9/0x900 kernel/locking/lockdep.c:4135 mark_lock+0x208/0x320 kernel/locking/lockdep.c:4591 mark_usage kernel/locking/lockdep.c:-1 [inline] __lock_acquire+0xc63/0x7b50 kernel/locking/lockdep.c:4966 lock_acquire+0x19e/0x400 kernel/locking/lockdep.c:5623 __flush_work+0x116/0x210 kernel/workqueue.c:3090 __cancel_work_timer+0x3f4/0x560 kernel/workqueue.c:3181 mmc_free_host+0x15/0x30 drivers/mmc/core/host.c:663 call_timer_fn+0x17b/0x540 kernel/time/timer.c:1648 expire_timers kernel/time/timer.c:1699 [inline] __run_timers+0x56c/0x810 kernel/time/timer.c:1970 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1983 handle_softirqs+0x336/0x830 kernel/softirq.c:576 __do_softirq kernel/softirq.c:610 [inline] invoke_softirq kernel/softirq.c:450 [inline] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:default_idle+0xb/0x10 arch/x86/kernel/process.c:730 Code: b7 48 89 df e8 36 b7 f4 f7 eb ad e8 df ab f6 ff 00 00 cc cc 00 00 cc cc 00 00 cc cc 00 00 cc 66 90 0f 00 2d e7 65 5c 00 fb f4 0f 1f 40 00 41 57 41 56 53 49 be 00 00 00 00 00 fc ff df 65 48 RSP: 0018:ffffc90000d67d48 EFLAGS: 000002c2 RAX: 41b8e54337ce0300 RBX: ffff88813fe78000 RCX: 41b8e54337ce0300 RDX: 0000000000000001 RSI: ffffffff8a2b2be0 RDI: ffffffff8a7a4200 RBP: ffffc90000d67e80 R08: ffff8880b913b30b R09: 1ffff11017227661 R10: dffffc0000000000 R11: ffffed1017227662 R12: 1ffff920001acfb4 R13: dffffc0000000000 R14: 1ffff11027fcf000 R15: 0000000000000000 default_idle_call+0x81/0xc0 kernel/sched/idle.c:112 cpuidle_idle_call kernel/sched/idle.c:202 [inline] do_idle+0x3a1/0x650 kernel/sched/idle.c:326 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:424 start_secondary+0x32f/0x430 arch/x86/kernel/smpboot.c:281 secondary_startup_64_no_verify+0xb1/0xbb BUG: sleeping function called from invalid context at kernel/workqueue.c:3031 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/1 INFO: lockdep is turned off. Preemption disabled at: [<0000000000000000>] 0x0 CPU: 1 PID: 0 Comm: swapper/1 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106 ___might_sleep+0x493/0x610 kernel/sched/core.c:9658 start_flush_work+0x2e/0x830 kernel/workqueue.c:3031 __flush_work+0x148/0x210 kernel/workqueue.c:3093 __cancel_work_timer+0x3f4/0x560 kernel/workqueue.c:3181 mmc_free_host+0x15/0x30 drivers/mmc/core/host.c:663 call_timer_fn+0x17b/0x540 kernel/time/timer.c:1648 expire_timers kernel/time/timer.c:1699 [inline] __run_timers+0x56c/0x810 kernel/time/timer.c:1970 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1983 handle_softirqs+0x336/0x830 kernel/softirq.c:576 __do_softirq kernel/softirq.c:610 [inline] invoke_softirq kernel/softirq.c:450 [inline] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:default_idle+0xb/0x10 arch/x86/kernel/process.c:730 Code: b7 48 89 df e8 36 b7 f4 f7 eb ad e8 df ab f6 ff 00 00 cc cc 00 00 cc cc 00 00 cc cc 00 00 cc 66 90 0f 00 2d e7 65 5c 00 fb f4 0f 1f 40 00 41 57 41 56 53 49 be 00 00 00 00 00 fc ff df 65 48 RSP: 0018:ffffc90000d67d48 EFLAGS: 000002c2 RAX: 41b8e54337ce0300 RBX: ffff88813fe78000 RCX: 41b8e54337ce0300 RDX: 0000000000000001 RSI: ffffffff8a2b2be0 RDI: ffffffff8a7a4200 RBP: ffffc90000d67e80 R08: ffff8880b913b30b R09: 1ffff11017227661 R10: dffffc0000000000 R11: ffffed1017227662 R12: 1ffff920001acfb4 R13: dffffc0000000000 R14: 1ffff11027fcf000 R15: 0000000000000000 default_idle_call+0x81/0xc0 kernel/sched/idle.c:112 cpuidle_idle_call kernel/sched/idle.c:202 [inline] do_idle+0x3a1/0x650 kernel/sched/idle.c:326 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:424 start_secondary+0x32f/0x430 arch/x86/kernel/smpboot.c:281 secondary_startup_64_no_verify+0xb1/0xbb BUG: scheduling while atomic: swapper/1/0/0x00000102 INFO: lockdep is turned off. Modules linked in: Preemption disabled at: [<0000000000000000>] 0x0 ---------------- Code disassembly (best guess): 0: b7 48 mov $0x48,%bh 2: 89 df mov %ebx,%edi 4: e8 36 b7 f4 f7 call 0xf7f4b73f 9: eb ad jmp 0xffffffb8 b: e8 df ab f6 ff call 0xfff6abef 10: 00 00 add %al,(%rax) 12: cc int3 13: cc int3 14: 00 00 add %al,(%rax) 16: cc int3 17: cc int3 18: 00 00 add %al,(%rax) 1a: cc int3 1b: cc int3 1c: 00 00 add %al,(%rax) 1e: cc int3 1f: 66 90 xchg %ax,%ax 21: 0f 00 2d e7 65 5c 00 verw 0x5c65e7(%rip) # 0x5c660f 28: fb sti 29: f4 hlt * 2a: c3 ret <-- trapping instruction 2b: 0f 1f 40 00 nopl 0x0(%rax) 2f: 41 57 push %r15 31: 41 56 push %r14 33: 53 push %rbx 34: 49 be 00 00 00 00 00 movabs $0xdffffc0000000000,%r14 3b: fc ff df 3e: 65 gs 3f: 48 rex.W