================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. syz.6.566/6933 [HC0[0]:SC1[1]:HE1:SE0] takes: ffff888053fd8710 ((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 __flush_work+0x116/0x210 kernel/workqueue.c:3090 __cancel_work_timer+0x3f4/0x560 kernel/workqueue.c:3181 __mmc_stop_host drivers/mmc/core/core.c:2294 [inline] mmc_stop_host+0xd5/0x460 drivers/mmc/core/core.c:2299 mmc_remove_host+0x11/0x60 drivers/mmc/core/host.c:642 vub300_disconnect+0x14b/0x2e0 drivers/mmc/host/vub300.c:2382 usb_unbind_interface+0x203/0x870 drivers/usb/core/driver.c:458 __device_release_driver drivers/base/dd.c:1249 [inline] device_release_driver_internal+0x487/0x710 drivers/base/dd.c:1282 bus_remove_device+0x2dd/0x400 drivers/base/bus.c:531 device_del+0x63f/0xa80 drivers/base/core.c:3615 usb_disable_device+0x3e7/0x8a0 drivers/usb/core/message.c:1472 usb_disconnect+0x33c/0x8a0 drivers/usb/core/hub.c:2287 hub_port_connect drivers/usb/core/hub.c:5341 [inline] hub_port_connect_change drivers/usb/core/hub.c:5637 [inline] port_event drivers/usb/core/hub.c:5799 [inline] hub_event+0x1d64/0x5260 drivers/usb/core/hub.c:5881 process_one_work+0x867/0xff0 kernel/workqueue.c:2310 process_scheduled_works kernel/workqueue.c:2373 [inline] worker_thread+0xd93/0x12a0 kernel/workqueue.c:2459 kthread+0x42e/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 irq event stamp: 9964 hardirqs last enabled at (9964): [] __cancel_work_timer+0x36a/0x560 kernel/workqueue.c:3174 hardirqs last disabled at (9963): [] try_to_grab_pending+0xfb/0x820 kernel/workqueue.c:1272 softirqs last enabled at (8526): [] __do_softirq kernel/softirq.c:610 [inline] softirqs last enabled at (8526): [] invoke_softirq kernel/softirq.c:450 [inline] softirqs last enabled at (8526): [] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659 softirqs last disabled at (9893): [] __do_softirq kernel/softirq.c:610 [inline] softirqs last disabled at (9893): [] invoke_softirq kernel/softirq.c:450 [inline] softirqs last disabled at (9893): [] __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 syz.6.566/6933: #0: ffffc90000007bc0 ((&vub300->inactivity_timer)){+.-.}-{0:0}, at: lockdep_copy_map include/linux/lockdep.h:45 [inline] #0: ffffc90000007bc0 ((&vub300->inactivity_timer)){+.-.}-{0:0}, at: call_timer_fn+0xca/0x540 kernel/time/timer.c:1638 stack backtrace: CPU: 0 PID: 6933 Comm: syz.6.566 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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xbc/0x120 kernel/locking/spinlock.c:194 Code: c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f7 44 24 20 00 02 00 00 41 c6 04 07 f8 75 4b f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 1f 41 88 f7 65 8b 05 90 68 38 76 85 c0 74 3c 48 c7 04 24 0e 36 RSP: 0018:ffffc90003d0f380 EFLAGS: 00000206 RAX: dffffc0000000004 RBX: 0000000000000a02 RCX: db92bead12fd5f00 RDX: dffffc0000000000 RSI: ffffffff8a2b2be0 RDI: 0000000000000001 RBP: ffffc90003d0f410 R08: ffffffff964a41d3 R09: 1ffffffff2c9483a R10: dffffc0000000000 R11: fffffbfff2c9483b R12: dffffc0000000000 R13: ffff88802b60fb80 R14: ffffffff964a41d0 R15: 1ffff920007a1e70 __debug_check_no_obj_freed lib/debugobjects.c:999 [inline] debug_check_no_obj_freed+0x471/0x520 lib/debugobjects.c:1020 slab_free_hook mm/slub.c:1685 [inline] slab_free_freelist_hook+0x8b/0x170 mm/slub.c:1736 slab_free mm/slub.c:3504 [inline] kmem_cache_free+0x8f/0x210 mm/slub.c:3520 pmd_ptlock_free include/linux/mm.h:2335 [inline] pgtable_pmd_page_dtor+0x9d/0x280 include/linux/mm.h:2375 ___pmd_free_tlb+0x3d/0x90 arch/x86/mm/pgtable.c:72 __pmd_free_tlb arch/x86/include/asm/pgalloc.h:93 [inline] free_pmd_range mm/memory.c:265 [inline] free_pud_range mm/memory.c:283 [inline] free_p4d_range mm/memory.c:317 [inline] free_pgd_range+0x875/0xb10 mm/memory.c:397 free_pgtables+0x271/0x2a0 mm/memory.c:-1 exit_mmap+0x3c8/0x640 mm/mmap.c:3217 __mmput+0x115/0x390 kernel/fork.c:1128 exit_mm+0x632/0x7b0 kernel/exit.c:557 do_exit+0x5b8/0x2110 kernel/exit.c:877 do_group_exit+0x12c/0x2f0 kernel/exit.c:1004 get_signal+0x7eb/0x12e0 kernel/signal.c:2909 arch_do_signal_or_restart+0xe6/0x12a0 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f696acb70d9 Code: Unable to access opcode bytes at RIP 0x7f696acb70af. RSP: 002b:00007f6968f0f0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f696af3efa8 RCX: 00007f696acb70d9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f696af3efa8 RBP: 00007f696af3efa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f696af3f038 R14: 00007ffe5873c110 R15: 00007ffe5873c1f8 vkms_vblank_simulate: vblank timer overrun BUG: sleeping function called from invalid context at kernel/workqueue.c:3031 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 6933, name: syz.6.566 INFO: lockdep is turned off. Preemption disabled at: [<0000000000000000>] 0x0 CPU: 0 PID: 6933 Comm: syz.6.566 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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xbc/0x120 kernel/locking/spinlock.c:194 Code: c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f7 44 24 20 00 02 00 00 41 c6 04 07 f8 75 4b f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 1f 41 88 f7 65 8b 05 90 68 38 76 85 c0 74 3c 48 c7 04 24 0e 36 RSP: 0018:ffffc90003d0f380 EFLAGS: 00000206 RAX: dffffc0000000004 RBX: 0000000000000a02 RCX: db92bead12fd5f00 RDX: dffffc0000000000 RSI: ffffffff8a2b2be0 RDI: 0000000000000001 RBP: ffffc90003d0f410 R08: ffffffff964a41d3 R09: 1ffffffff2c9483a R10: dffffc0000000000 R11: fffffbfff2c9483b R12: dffffc0000000000 R13: ffff88802b60fb80 R14: ffffffff964a41d0 R15: 1ffff920007a1e70 __debug_check_no_obj_freed lib/debugobjects.c:999 [inline] debug_check_no_obj_freed+0x471/0x520 lib/debugobjects.c:1020 slab_free_hook mm/slub.c:1685 [inline] slab_free_freelist_hook+0x8b/0x170 mm/slub.c:1736 slab_free mm/slub.c:3504 [inline] kmem_cache_free+0x8f/0x210 mm/slub.c:3520 pmd_ptlock_free include/linux/mm.h:2335 [inline] pgtable_pmd_page_dtor+0x9d/0x280 include/linux/mm.h:2375 ___pmd_free_tlb+0x3d/0x90 arch/x86/mm/pgtable.c:72 __pmd_free_tlb arch/x86/include/asm/pgalloc.h:93 [inline] free_pmd_range mm/memory.c:265 [inline] free_pud_range mm/memory.c:283 [inline] free_p4d_range mm/memory.c:317 [inline] free_pgd_range+0x875/0xb10 mm/memory.c:397 free_pgtables+0x271/0x2a0 mm/memory.c:-1 exit_mmap+0x3c8/0x640 mm/mmap.c:3217 __mmput+0x115/0x390 kernel/fork.c:1128 exit_mm+0x632/0x7b0 kernel/exit.c:557 do_exit+0x5b8/0x2110 kernel/exit.c:877 do_group_exit+0x12c/0x2f0 kernel/exit.c:1004 get_signal+0x7eb/0x12e0 kernel/signal.c:2909 arch_do_signal_or_restart+0xe6/0x12a0 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f696acb70d9 Code: Unable to access opcode bytes at RIP 0x7f696acb70af. RSP: 002b:00007f6968f0f0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f696af3efa8 RCX: 00007f696acb70d9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f696af3efa8 RBP: 00007f696af3efa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f696af3f038 R14: 00007ffe5873c110 R15: 00007ffe5873c1f8 vkms_vblank_simulate: vblank timer overrun ODEBUG: object ffffc900000079a0 is NOT on stack ffffc90003d08000, but annotated. ------------[ cut here ]------------ WARNING: CPU: 0 PID: 6933 at lib/debugobjects.c:561 debug_object_is_on_stack lib/debugobjects.c:-1 [inline] WARNING: CPU: 0 PID: 6933 at lib/debugobjects.c:561 lookup_object_or_alloc lib/debugobjects.c:594 [inline] WARNING: CPU: 0 PID: 6933 at lib/debugobjects.c:561 __debug_object_init+0x4c0/0xc80 lib/debugobjects.c:621 Modules linked in: CPU: 0 PID: 6933 Comm: syz.6.566 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:debug_object_is_on_stack lib/debugobjects.c:561 [inline] RIP: 0010:lookup_object_or_alloc lib/debugobjects.c:594 [inline] RIP: 0010:__debug_object_init+0x4c0/0xc80 lib/debugobjects.c:621 Code: 46 33 73 12 48 c7 c1 80 4a 7a 8a 48 c7 c7 e0 4a 7a 8a 84 c0 48 0f 45 f9 4c 89 ee e8 5a 2d c9 05 48 be 00 00 00 00 00 fc ff df <0f> 0b e9 4d fd ff ff 83 3d 72 32 73 12 00 4c 89 6c 24 28 0f 84 23 RSP: 0018:ffffc900000077e0 EFLAGS: 00010046 RAX: 0000000000000050 RBX: 0000000000000001 RCX: db92bead12fd5f00 RDX: 0000000000000100 RSI: dffffc0000000000 RDI: 0000000000000000 RBP: ffffc90000007950 R08: ffffc90000007307 R09: 1ffff92000000e60 R10: dffffc0000000000 R11: fffff52000000e61 R12: f8f8f8f8f8f8f8f8 R13: ffffc900000079a0 R14: ffff888073ad3ba0 R15: ffff888023d23150 FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005566119bc060 CR3: 00000000734e4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __synchronize_srcu+0x229/0x350 kernel/rcu/srcutree.c:928 wakeup_source_remove drivers/base/power/wakeup.c:203 [inline] wakeup_source_unregister+0x112/0x190 drivers/base/power/wakeup.c:247 mmc_host_classdev_release+0x43/0xf0 drivers/mmc/core/host.c:77 device_release+0x92/0x1c0 drivers/base/core.c:-1 kobject_cleanup lib/kobject.c:713 [inline] kobject_release lib/kobject.c:744 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x217/0x450 lib/kobject.c:761 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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xbc/0x120 kernel/locking/spinlock.c:194 Code: c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f7 44 24 20 00 02 00 00 41 c6 04 07 f8 75 4b f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 1f 41 88 f7 65 8b 05 90 68 38 76 85 c0 74 3c 48 c7 04 24 0e 36 RSP: 0018:ffffc90003d0f380 EFLAGS: 00000206 RAX: dffffc0000000004 RBX: 0000000000000a02 RCX: db92bead12fd5f00 RDX: dffffc0000000000 RSI: ffffffff8a2b2be0 RDI: 0000000000000001 RBP: ffffc90003d0f410 R08: ffffffff964a41d3 R09: 1ffffffff2c9483a R10: dffffc0000000000 R11: fffffbfff2c9483b R12: dffffc0000000000 R13: ffff88802b60fb80 R14: ffffffff964a41d0 R15: 1ffff920007a1e70 __debug_check_no_obj_freed lib/debugobjects.c:999 [inline] debug_check_no_obj_freed+0x471/0x520 lib/debugobjects.c:1020 slab_free_hook mm/slub.c:1685 [inline] slab_free_freelist_hook+0x8b/0x170 mm/slub.c:1736 slab_free mm/slub.c:3504 [inline] kmem_cache_free+0x8f/0x210 mm/slub.c:3520 pmd_ptlock_free include/linux/mm.h:2335 [inline] pgtable_pmd_page_dtor+0x9d/0x280 include/linux/mm.h:2375 ___pmd_free_tlb+0x3d/0x90 arch/x86/mm/pgtable.c:72 __pmd_free_tlb arch/x86/include/asm/pgalloc.h:93 [inline] free_pmd_range mm/memory.c:265 [inline] free_pud_range mm/memory.c:283 [inline] free_p4d_range mm/memory.c:317 [inline] free_pgd_range+0x875/0xb10 mm/memory.c:397 free_pgtables+0x271/0x2a0 mm/memory.c:-1 exit_mmap+0x3c8/0x640 mm/mmap.c:3217 __mmput+0x115/0x390 kernel/fork.c:1128 exit_mm+0x632/0x7b0 kernel/exit.c:557 do_exit+0x5b8/0x2110 kernel/exit.c:877 do_group_exit+0x12c/0x2f0 kernel/exit.c:1004 get_signal+0x7eb/0x12e0 kernel/signal.c:2909 arch_do_signal_or_restart+0xe6/0x12a0 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f696acb70d9 Code: Unable to access opcode bytes at RIP 0x7f696acb70af. RSP: 002b:00007f6968f0f0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f696af3efa8 RCX: 00007f696acb70d9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f696af3efa8 RBP: 00007f696af3efa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f696af3f038 R14: 00007ffe5873c110 R15: 00007ffe5873c1f8 ---------------- Code disassembly (best guess): 0: c7 44 24 20 00 00 00 movl $0x0,0x20(%rsp) 7: 00 8: 9c pushf 9: 8f 44 24 20 pop 0x20(%rsp) d: f7 44 24 20 00 02 00 testl $0x200,0x20(%rsp) 14: 00 15: 41 c6 04 07 f8 movb $0xf8,(%r15,%rax,1) 1a: 75 4b jne 0x67 1c: f7 c3 00 02 00 00 test $0x200,%ebx 22: 74 01 je 0x25 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 1f 41 88 f7 call 0xf788414e <-- trapping instruction 2f: 65 8b 05 90 68 38 76 mov %gs:0x76386890(%rip),%eax # 0x763868c6 36: 85 c0 test %eax,%eax 38: 74 3c je 0x76 3a: 48 rex.W 3b: c7 .byte 0xc7 3c: 04 24 add $0x24,%al 3e: 0e (bad) 3f: 36 ss