================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. syz.1.649/6480 [HC0[0]:SC1[1]:HE1:SE0] takes: ffff88801fb0c648 ((work_completion)(&(&host->detect)->work)){+.?.}-{0:0}, at: __flush_work+0x109/0xac0 kernel/workqueue.c:3072 {SOFTIRQ-ON-W} state was registered at: lock_acquire+0x1bb/0x4a0 kernel/locking/lockdep.c:5676 process_one_work+0x7ec/0x1160 kernel/workqueue.c:2268 worker_thread+0xaf5/0x12a0 kernel/workqueue.c:2439 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 irq event stamp: 1000064 hardirqs last enabled at (1000064): [] __cancel_work_timer+0x36a/0x560 kernel/workqueue.c:3156 hardirqs last disabled at (1000063): [] try_to_grab_pending+0xfa/0x890 kernel/workqueue.c:1267 softirqs last enabled at (986420): [] __do_softirq kernel/softirq.c:630 [inline] softirqs last enabled at (986420): [] invoke_softirq kernel/softirq.c:470 [inline] softirqs last enabled at (986420): [] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:679 softirqs last disabled at (999999): [] __do_softirq kernel/softirq.c:630 [inline] softirqs last disabled at (999999): [] invoke_softirq kernel/softirq.c:470 [inline] softirqs last disabled at (999999): [] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:679 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 syz.1.649/6480: #0: ffffc90000007bc0 ((&vub300->inactivity_timer)){+.-.}-{0:0}, at: call_timer_fn+0xcf/0x670 kernel/time/timer.c:1698 stack backtrace: CPU: 0 PID: 6480 Comm: syz.1.649 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106 valid_state+0x13b/0x1d0 kernel/locking/lockdep.c:3974 mark_lock_irq+0xa9/0x900 kernel/locking/lockdep.c:4177 mark_lock+0x208/0x320 kernel/locking/lockdep.c:4633 mark_usage kernel/locking/lockdep.c:-1 [inline] __lock_acquire+0xce0/0x7c40 kernel/locking/lockdep.c:5017 lock_acquire+0x1bb/0x4a0 kernel/locking/lockdep.c:5676 __flush_work+0x122/0xac0 kernel/workqueue.c:3072 __cancel_work_timer+0x3f4/0x560 kernel/workqueue.c:3163 mmc_free_host+0x15/0x30 drivers/mmc/core/host.c:672 call_timer_fn+0x1ac/0x670 kernel/time/timer.c:1701 expire_timers kernel/time/timer.c:1752 [inline] __run_timers+0x56c/0x810 kernel/time/timer.c:2023 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:2036 handle_softirqs+0x291/0x910 kernel/softirq.c:596 __do_softirq kernel/softirq.c:630 [inline] invoke_softirq kernel/softirq.c:470 [inline] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:679 irq_exit_rcu+0x5/0x20 kernel/softirq.c:691 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:35 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:106 [inline] RIP: 0010:lock_acquire+0x166/0x4a0 kernel/locking/lockdep.c:5672 Code: 0f 85 2f 02 00 00 41 83 3e 00 0f 85 18 01 00 00 43 c6 44 3d 08 00 48 c7 84 24 a0 00 00 00 00 00 00 00 9c 8f 84 24 a0 00 00 00 <4c> 8b b4 24 a0 00 00 00 43 c6 44 3d 08 f8 fa 48 c7 c7 80 24 8c 8a RSP: 0018:ffffc9001c737620 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: d987d84307fa2700 RDX: 0000000000000000 RSI: ffffffff8adf5dc0 RDI: ffffffff8adf5d80 RBP: ffffc9001c737728 R08: ffffffff8e210aef R09: 1ffffffff1c4215d R10: dffffc0000000000 R11: fffffbfff1c4215e R12: 0000000000000000 R13: 1ffff920038e6ed0 R14: ffff88802feaa8dc R15: dffffc0000000000 debug_objects_fill_pool+0xa7/0x780 lib/debugobjects.c:653 __debug_object_init+0x27/0x440 lib/debugobjects.c:666 init_timer_on_stack_key kernel/time/timer.c:805 [inline] schedule_timeout+0x12d/0x2d0 kernel/time/timer.c:2166 snd_rawmidi_write+0x3b6/0xb90 sound/core/rawmidi.c:1605 do_loop_readv_writev fs/read_write.c:-1 [inline] do_iter_write+0x4a4/0xb10 fs/read_write.c:863 vfs_writev fs/read_write.c:934 [inline] do_writev+0x27b/0x480 fs/read_write.c:977 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fca8759e0d9 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:00007fca88418028 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007fca87825fa0 RCX: 00007fca8759e0d9 RDX: 0000000000000002 RSI: 0000200000000840 RDI: 0000000000000008 RBP: 00007fca87635024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fca87826038 R14: 00007fca87825fa0 R15: 00007fff3352f698 ------------[ cut here ]------------ do not call blocking ops when !TASK_RUNNING; state=1 set at [] snd_rawmidi_write+0x36a/0xb90 sound/core/rawmidi.c:1603 WARNING: CPU: 0 PID: 6480 at kernel/sched/core.c:9897 __might_sleep+0xa2/0xd0 kernel/sched/core.c:-1 Modules linked in: CPU: 0 PID: 6480 Comm: syz.1.649 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:__might_sleep+0xa2/0xd0 kernel/sched/core.c:9893 Code: 5d e9 52 00 00 00 c6 05 87 40 b2 0c 01 48 89 fb 48 c7 c7 a0 ab 8b 8a 41 89 f6 89 ee 48 89 ca e8 b4 59 f3 ff 48 89 df 44 89 f6 <0f> 0b eb c9 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 77 ff ff ff 49 RSP: 0018:ffffc90000007850 EFLAGS: 00010246 RAX: d987d84307fa2700 RBX: ffffffff8a8b4ac0 RCX: ffff88802fea9e00 RDX: 0000000000000100 RSI: 0000000000000bc5 RDI: ffffffff8a8b4ac0 RBP: 0000000000000001 R08: ffffc900000074c7 R09: 1ffff92000000e98 R10: dffffc0000000000 R11: fffff52000000e99 R12: ffff88801fb0c628 R13: dffffc0000000000 R14: 0000000000000bc5 R15: dffffc0000000000 FS: 00007fca884186c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000009000 CR3: 00000000556e8000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: start_flush_work kernel/workqueue.c:3013 [inline] __flush_work+0x142/0xac0 kernel/workqueue.c:3075 __cancel_work_timer+0x3f4/0x560 kernel/workqueue.c:3163 mmc_free_host+0x15/0x30 drivers/mmc/core/host.c:672 call_timer_fn+0x1ac/0x670 kernel/time/timer.c:1701 expire_timers kernel/time/timer.c:1752 [inline] __run_timers+0x56c/0x810 kernel/time/timer.c:2023 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:2036 handle_softirqs+0x291/0x910 kernel/softirq.c:596 __do_softirq kernel/softirq.c:630 [inline] invoke_softirq kernel/softirq.c:470 [inline] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:679 irq_exit_rcu+0x5/0x20 kernel/softirq.c:691 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:35 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:106 [inline] RIP: 0010:lock_acquire+0x166/0x4a0 kernel/locking/lockdep.c:5672 Code: 0f 85 2f 02 00 00 41 83 3e 00 0f 85 18 01 00 00 43 c6 44 3d 08 00 48 c7 84 24 a0 00 00 00 00 00 00 00 9c 8f 84 24 a0 00 00 00 <4c> 8b b4 24 a0 00 00 00 43 c6 44 3d 08 f8 fa 48 c7 c7 80 24 8c 8a RSP: 0018:ffffc9001c737620 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: d987d84307fa2700 RDX: 0000000000000000 RSI: ffffffff8adf5dc0 RDI: ffffffff8adf5d80 RBP: ffffc9001c737728 R08: ffffffff8e210aef R09: 1ffffffff1c4215d R10: dffffc0000000000 R11: fffffbfff1c4215e R12: 0000000000000000 R13: 1ffff920038e6ed0 R14: ffff88802feaa8dc R15: dffffc0000000000 debug_objects_fill_pool+0xa7/0x780 lib/debugobjects.c:653 __debug_object_init+0x27/0x440 lib/debugobjects.c:666 init_timer_on_stack_key kernel/time/timer.c:805 [inline] schedule_timeout+0x12d/0x2d0 kernel/time/timer.c:2166 snd_rawmidi_write+0x3b6/0xb90 sound/core/rawmidi.c:1605 do_loop_readv_writev fs/read_write.c:-1 [inline] do_iter_write+0x4a4/0xb10 fs/read_write.c:863 vfs_writev fs/read_write.c:934 [inline] do_writev+0x27b/0x480 fs/read_write.c:977 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fca8759e0d9 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:00007fca88418028 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007fca87825fa0 RCX: 00007fca8759e0d9 RDX: 0000000000000002 RSI: 0000200000000840 RDI: 0000000000000008 RBP: 00007fca87635024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fca87826038 R14: 00007fca87825fa0 R15: 00007fff3352f698 ---------------- Code disassembly (best guess): 0: 0f 85 2f 02 00 00 jne 0x235 6: 41 83 3e 00 cmpl $0x0,(%r14) a: 0f 85 18 01 00 00 jne 0x128 10: 43 c6 44 3d 08 00 movb $0x0,0x8(%r13,%r15,1) 16: 48 c7 84 24 a0 00 00 movq $0x0,0xa0(%rsp) 1d: 00 00 00 00 00 22: 9c pushf 23: 8f 84 24 a0 00 00 00 pop 0xa0(%rsp) * 2a: 4c 8b b4 24 a0 00 00 mov 0xa0(%rsp),%r14 <-- trapping instruction 31: 00 32: 43 c6 44 3d 08 f8 movb $0xf8,0x8(%r13,%r15,1) 38: fa cli 39: 48 c7 c7 80 24 8c 8a mov $0xffffffff8a8c2480,%rdi