================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. syz-executor/4917 [HC0[0]:SC1[1]:HE1:SE0] takes: ffff88807b9b0710 ((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+0x19f/0x400 kernel/locking/lockdep.c:5737 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: 726 hardirqs last enabled at (726): [] __cancel_work_timer+0x36a/0x560 kernel/workqueue.c:3174 hardirqs last disabled at (725): [] try_to_grab_pending+0xfb/0x820 kernel/workqueue.c:1272 softirqs last enabled at (0): [] copy_process+0x13d4/0x3e70 kernel/fork.c:2241 softirqs last disabled at (621): [] __do_softirq kernel/softirq.c:610 [inline] softirqs last disabled at (621): [] invoke_softirq kernel/softirq.c:450 [inline] softirqs last disabled at (621): [] __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 *** 3 locks held by syz-executor/4917: #0: ffff88807c6e8460 (sb_writers #3){.+.+}-{0:0} , at: mnt_want_write+0x3d/0x90 fs/namespace.c:386 #1: ffff8880603edfc0 (&type->i_mutex_dir_key #3/1 ){+.+.}-{3:3} , at: inode_lock_nested include/linux/fs.h:828 [inline] , at: filename_create+0x20b/0x450 fs/namei.c:3886 #2: ffffc90000007bc0 ((&vub300->inactivity_timer) ){+.-.}-{0:0}, at: lockdep_copy_map include/linux/lockdep.h:45 [inline] ){+.-.}-{0:0}, at: call_timer_fn+0xca/0x540 kernel/time/timer.c:1638 stack backtrace: CPU: 0 PID: 4917 Comm: syz-executor Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 Call Trace: dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106 valid_state+0x13b/0x1d0 kernel/locking/lockdep.c:3999 mark_lock_irq+0xa9/0x900 kernel/locking/lockdep.c:4202 mark_lock+0x208/0x320 kernel/locking/lockdep.c:4664 mark_usage kernel/locking/lockdep.c:-1 [inline] __lock_acquire+0xd77/0x7d40 kernel/locking/lockdep.c:5074 lock_acquire+0x19f/0x400 kernel/locking/lockdep.c:5737 __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:landlock_cred security/landlock/cred.h:26 [inline] RIP: 0010:landlock_get_current_domain security/landlock/cred.h:31 [inline] RIP: 0010:current_check_access_path security/landlock/fs.c:362 [inline] RIP: 0010:hook_path_symlink+0x62/0xf0 security/landlock/fs.c:686 Code: 00 74 08 4c 89 f7 e8 2d d8 0b fe 41 bf 90 00 00 00 4d 03 3e 4c 89 f8 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 ff e8 0e d8 0b fe <4d> 8b 37 48 c7 c0 bc 95 e4 8b 48 c1 e8 03 42 0f b6 04 20 84 c0 75 RSP: 0018:ffffc9000347fde0 EFLAGS: 00000246 RAX: 1ffff1100558ab2a RBX: ffffc9000347fe80 RCX: ffff88807ab49dc0 RDX: 0000000000000000 RSI: ffff88806283e000 RDI: ffffc9000347fe80 RBP: dffffc0000000000 R08: ffff88806283e093 R09: 1ffff1100c507c12 R10: dffffc0000000000 R11: ffffed100c507c13 R12: dffffc0000000000 R13: ffffffff8be49880 R14: ffff88807ab4a670 R15: ffff88802ac55950 security_path_symlink+0xdc/0x130 security/security.c:1229 do_symlinkat+0x105/0x6b0 fs/namei.c:4504 __do_sys_symlinkat fs/namei.c:4526 [inline] __se_sys_symlinkat fs/namei.c:4523 [inline] __x64_sys_symlinkat+0x95/0xa0 fs/namei.c:4523 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f620c1ea617 Code: 44 00 00 48 89 f2 31 c9 48 89 fe bf 9c ff ff ff e9 8e f5 ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 b8 0a 01 00 00 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:00007fffbce69148 EFLAGS: 00000206 ORIG_RAX: 000000000000010a RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f620c1ea617 RDX: 00007f620c283893 RSI: 00000000ffffff9c RDI: 00007fffbce691e0 RBP: 00007fffbce6918c R08: 0000000000000001 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000023 R13: 00000000000927c0 R14: 00000000000188f8 R15: 00007fffbce691e0 virtqueue callback for ffff888146c33400 (ffffffff84450960) virtqueue interrupt with no work for ffff888146c33300 virtqueue interrupt with no work for ffff888146c33200 BUG: sleeping function called from invalid context at kernel/workqueue.c:3031 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4917, name: syz-executor INFO: lockdep is turned off. Preemption disabled at: [] softirq_handle_begin kernel/softirq.c:414 [inline] [] handle_softirqs+0xfd/0x830 kernel/softirq.c:552 CPU: 0 PID: 4917 Comm: syz-executor Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/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:landlock_cred security/landlock/cred.h:26 [inline] RIP: 0010:landlock_get_current_domain security/landlock/cred.h:31 [inline] RIP: 0010:current_check_access_path security/landlock/fs.c:362 [inline] RIP: 0010:hook_path_symlink+0x62/0xf0 security/landlock/fs.c:686 Code: 00 74 08 4c 89 f7 e8 2d d8 0b fe 41 bf 90 00 00 00 4d 03 3e 4c 89 f8 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 ff e8 0e d8 0b fe <4d> 8b 37 48 c7 c0 bc 95 e4 8b 48 c1 e8 03 42 0f b6 04 20 84 c0 75 RSP: 0018:ffffc9000347fde0 EFLAGS: 00000246 RAX: 1ffff1100558ab2a RBX: ffffc9000347fe80 RCX: ffff88807ab49dc0 RDX: 0000000000000000 RSI: ffff88806283e000 RDI: ffffc9000347fe80 RBP: dffffc0000000000 R08: ffff88806283e093 R09: 1ffff1100c507c12 R10: dffffc0000000000 R11: ffffed100c507c13 R12: dffffc0000000000 R13: ffffffff8be49880 R14: ffff88807ab4a670 R15: ffff88802ac55950 security_path_symlink+0xdc/0x130 security/security.c:1229 do_symlinkat+0x105/0x6b0 fs/namei.c:4504 __do_sys_symlinkat fs/namei.c:4526 [inline] __se_sys_symlinkat fs/namei.c:4523 [inline] __x64_sys_symlinkat+0x95/0xa0 fs/namei.c:4523 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f620c1ea617 Code: 44 00 00 48 89 f2 31 c9 48 89 fe bf 9c ff ff ff e9 8e f5 ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 b8 0a 01 00 00 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:00007fffbce69148 EFLAGS: 00000206 ORIG_RAX: 000000000000010a RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f620c1ea617 RDX: 00007f620c283893 RSI: 00000000ffffff9c RDI: 00007fffbce691e0 RBP: 00007fffbce6918c R08: 0000000000000001 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000023 R13: 00000000000927c0 R14: 00000000000188f8 R15: 00007fffbce691e0 kobject: 'mmc0' (ffff88807b9b0008): kobject_cleanup, parent 0000000000000000 kobject: 'mmc0' (ffff88807b9b0008): calling ktype release ODEBUG: object ffffc900000079a0 is NOT on stack ffffc90003478000, but annotated. ------------[ cut here ]------------ WARNING: CPU: 0 PID: 4917 at lib/debugobjects.c:561 debug_object_is_on_stack lib/debugobjects.c:-1 [inline] WARNING: CPU: 0 PID: 4917 at lib/debugobjects.c:561 lookup_object_or_alloc lib/debugobjects.c:594 [inline] WARNING: CPU: 0 PID: 4917 at lib/debugobjects.c:561 __debug_object_init+0x4c0/0xc80 lib/debugobjects.c:621 Modules linked in: CPU: 0 PID: 4917 Comm: syz-executor Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/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: 16 d2 54 13 48 c7 c1 40 53 7a 8a 48 c7 c7 a0 53 7a 8a 84 c0 48 0f 45 f9 4c 89 ee e8 ca ee c9 05 48 be 00 00 00 00 00 fc ff df <0f> 0b e9 4d fd ff ff 83 3d 42 d1 54 13 00 4c 89 6c 24 28 0f 84 23 RSP: 0018:ffffc900000077e0 EFLAGS: 00010046 RAX: 0000000000000050 RBX: 0000000000000001 RCX: fba6054003205200 RDX: 0000000000000100 RSI: dffffc0000000000 RDI: 0000000000000000 RBP: ffffc90000007950 R08: ffffffff8e6b282f R09: 1ffffffff1cd6505 R10: dffffc0000000000 R11: fffffbfff1cd6506 R12: f8f8f8f8f8f8f8f8 R13: ffffc900000079a0 R14: ffff88807ab49de0 R15: ffff88805a949c78 FS: 000055556a0fc500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f620c1fc1c0 CR3: 000000007d8b8000 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:landlock_cred security/landlock/cred.h:26 [inline] RIP: 0010:landlock_get_current_domain security/landlock/cred.h:31 [inline] RIP: 0010:current_check_access_path security/landlock/fs.c:362 [inline] RIP: 0010:hook_path_symlink+0x62/0xf0 security/landlock/fs.c:686 Code: 00 74 08 4c 89 f7 e8 2d d8 0b fe 41 bf 90 00 00 00 4d 03 3e 4c 89 f8 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 ff e8 0e d8 0b fe <4d> 8b 37 48 c7 c0 bc 95 e4 8b 48 c1 e8 03 42 0f b6 04 20 84 c0 75 RSP: 0018:ffffc9000347fde0 EFLAGS: 00000246 RAX: 1ffff1100558ab2a RBX: ffffc9000347fe80 RCX: ffff88807ab49dc0 RDX: 0000000000000000 RSI: ffff88806283e000 RDI: ffffc9000347fe80 RBP: dffffc0000000000 R08: ffff88806283e093 R09: 1ffff1100c507c12 R10: dffffc0000000000 R11: ffffed100c507c13 R12: dffffc0000000000 R13: ffffffff8be49880 R14: ffff88807ab4a670 R15: ffff88802ac55950 security_path_symlink+0xdc/0x130 security/security.c:1229 do_symlinkat+0x105/0x6b0 fs/namei.c:4504 __do_sys_symlinkat fs/namei.c:4526 [inline] __se_sys_symlinkat fs/namei.c:4523 [inline] __x64_sys_symlinkat+0x95/0xa0 fs/namei.c:4523 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f620c1ea617 Code: 44 00 00 48 89 f2 31 c9 48 89 fe bf 9c ff ff ff e9 8e f5 ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 b8 0a 01 00 00 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:00007fffbce69148 EFLAGS: 00000206 ORIG_RAX: 000000000000010a RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f620c1ea617 RDX: 00007f620c283893 RSI: 00000000ffffff9c RDI: 00007fffbce691e0 RBP: 00007fffbce6918c R08: 0000000000000001 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000023 R13: 00000000000927c0 R14: 00000000000188f8 R15: 00007fffbce691e0 ---------------- Code disassembly (best guess): 0: 00 74 08 4c add %dh,0x4c(%rax,%rcx,1) 4: 89 f7 mov %esi,%edi 6: e8 2d d8 0b fe call 0xfe0bd838 b: 41 bf 90 00 00 00 mov $0x90,%r15d 11: 4d 03 3e add (%r14),%r15 14: 4c 89 f8 mov %r15,%rax 17: 48 c1 e8 03 shr $0x3,%rax 1b: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) 20: 74 08 je 0x2a 22: 4c 89 ff mov %r15,%rdi 25: e8 0e d8 0b fe call 0xfe0bd838 * 2a: 4d 8b 37 mov (%r15),%r14 <-- trapping instruction 2d: 48 c7 c0 bc 95 e4 8b mov $0xffffffff8be495bc,%rax 34: 48 c1 e8 03 shr $0x3,%rax 38: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax 3d: 84 c0 test %al,%al 3f: 75 .byte 0x75