================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. kworker/u4:2/41 [HC0[0]:SC1[1]:HE1:SE0] takes: ffff88807c04c648 ((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: 477366 hardirqs last enabled at (477366): [] __cancel_work_timer+0x36a/0x560 kernel/workqueue.c:3156 hardirqs last disabled at (477365): [] try_to_grab_pending+0xfa/0x890 kernel/workqueue.c:1267 softirqs last enabled at (477006): [] spin_unlock_bh include/linux/spinlock.h:396 [inline] softirqs last enabled at (477006): [] sctp_close+0x74a/0x890 net/sctp/socket.c:1552 softirqs last disabled at (477007): [] do_softirq+0x142/0x210 kernel/softirq.c:497 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 *** 4 locks held by kworker/u4:2/41: #0: ffff88801761e938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7b4/0x1160 kernel/workqueue.c:2267 #1: ffffc90000b27d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7b4/0x1160 kernel/workqueue.c:2267 #2: ffffffff8dd4f610 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x148/0xba0 net/core/net_namespace.c:594 #3: ffffc900001e0c80 ((&vub300->inactivity_timer)){+.-.}-{0:0}, at: call_timer_fn+0xcf/0x670 kernel/time/timer.c:1698 stack backtrace: CPU: 1 PID: 41 Comm: kworker/u4:2 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Workqueue: netns cleanup_net 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+0x142/0x210 kernel/softirq.c:497 __local_bh_enable_ip+0x180/0x1c0 kernel/softirq.c:421 spin_unlock_bh include/linux/spinlock.h:396 [inline] sctp_close+0x74a/0x890 net/sctp/socket.c:1552 inet_release+0x139/0x180 net/ipv4/af_inet.c:430 __sock_release net/socket.c:654 [inline] sock_release+0x7b/0x140 net/socket.c:682 inet_ctl_sock_destroy include/net/inet_common.h:74 [inline] sctp_ctrlsock_exit+0x70/0xa0 net/sctp/protocol.c:1465 ops_exit_list net/core/net_namespace.c:172 [inline] cleanup_net+0x703/0xba0 net/core/net_namespace.c:640 process_one_work+0x8ab/0x1160 kernel/workqueue.c:2292 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 BUG: sleeping function called from invalid context at kernel/workqueue.c:3013 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 41, name: kworker/u4:2 preempt_count: 101, expected: 0 RCU nest depth: 0, expected: 0 INFO: lockdep is turned off. Preemption disabled at: [<0000000000000000>] 0x0 CPU: 1 PID: 41 Comm: kworker/u4:2 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Workqueue: netns cleanup_net Call Trace: dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106 __might_resched+0x489/0x5f0 kernel/sched/core.c:9970 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+0x142/0x210 kernel/softirq.c:497 __local_bh_enable_ip+0x180/0x1c0 kernel/softirq.c:421 spin_unlock_bh include/linux/spinlock.h:396 [inline] sctp_close+0x74a/0x890 net/sctp/socket.c:1552 inet_release+0x139/0x180 net/ipv4/af_inet.c:430 __sock_release net/socket.c:654 [inline] sock_release+0x7b/0x140 net/socket.c:682 inet_ctl_sock_destroy include/net/inet_common.h:74 [inline] sctp_ctrlsock_exit+0x70/0xa0 net/sctp/protocol.c:1465 ops_exit_list net/core/net_namespace.c:172 [inline] cleanup_net+0x703/0xba0 net/core/net_namespace.c:640 process_one_work+0x8ab/0x1160 kernel/workqueue.c:2292 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 ODEBUG: object ffffc900001e0a60 is NOT on stack ffffc90000b20000, but annotated. ------------[ cut here ]------------ WARNING: CPU: 1 PID: 41 at lib/debugobjects.c:558 debug_object_is_on_stack lib/debugobjects.c:-1 [inline] WARNING: CPU: 1 PID: 41 at lib/debugobjects.c:558 lookup_object_or_alloc lib/debugobjects.c:591 [inline] WARNING: CPU: 1 PID: 41 at lib/debugobjects.c:558 __debug_object_init+0x18e/0x440 lib/debugobjects.c:672 Modules linked in: CPU: 1 PID: 41 Comm: kworker/u4:2 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Workqueue: netns cleanup_net RIP: 0010:debug_object_is_on_stack lib/debugobjects.c:558 [inline] RIP: 0010:lookup_object_or_alloc lib/debugobjects.c:591 [inline] RIP: 0010:__debug_object_init+0x18e/0x440 lib/debugobjects.c:672 Code: 24 04 74 2f 41 ff c6 44 89 35 9e f3 dd 12 48 c7 c1 c0 69 df 8a 48 c7 c7 20 6a df 8a 84 c0 48 0f 45 f9 48 89 de e8 32 83 0b 06 <0f> 0b eb 05 4c 8b 7c 24 18 4d 8d 65 10 4d 89 e6 49 c1 ee 03 41 0f RSP: 0018:ffffc900001e09c8 EFLAGS: 00010046 RAX: 0000000000000050 RBX: ffffc900001e0a60 RCX: dee39d980ea4f600 RDX: 0000000000000100 RSI: 0000000000000102 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffc900001e0647 R09: 1ffff9200003c0c8 R10: dffffc0000000000 R11: fffff5200003c0c9 R12: ffff88801ba81e20 R13: ffff8880582e2818 R14: 0000000000000001 R15: ffffffff8a8d30a0 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f15f29556c8 CR3: 000000005bdab000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __synchronize_srcu+0x227/0x350 kernel/rcu/srcutree.c:1241 wakeup_source_remove drivers/base/power/wakeup.c:198 [inline] wakeup_source_unregister+0x112/0x190 drivers/base/power/wakeup.c:242 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:681 [inline] kobject_release lib/kobject.c:712 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x217/0x450 lib/kobject.c:729 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+0x142/0x210 kernel/softirq.c:497 __local_bh_enable_ip+0x180/0x1c0 kernel/softirq.c:421 spin_unlock_bh include/linux/spinlock.h:396 [inline] sctp_close+0x74a/0x890 net/sctp/socket.c:1552 inet_release+0x139/0x180 net/ipv4/af_inet.c:430 __sock_release net/socket.c:654 [inline] sock_release+0x7b/0x140 net/socket.c:682 inet_ctl_sock_destroy include/net/inet_common.h:74 [inline] sctp_ctrlsock_exit+0x70/0xa0 net/sctp/protocol.c:1465 ops_exit_list net/core/net_namespace.c:172 [inline] cleanup_net+0x703/0xba0 net/core/net_namespace.c:640 process_one_work+0x8ab/0x1160 kernel/workqueue.c:2292 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