================================ WARNING: inconsistent lock state syzkaller #0 Tainted: G L -------------------------------- inconsistent {SOFTIRQ-ON-R} -> {IN-SOFTIRQ-W} usage. syz.3.3879/22217 [HC0[0]:SC1[1]:HE1:SE0] takes: ffff888077dde9e8 (kn->active#67){.+-+}-{0:0}, at: spin_lock include/linux/spinlock.h:347 [inline] ffff888077dde9e8 (kn->active#67){.+-+}-{0:0}, at: tcp_tsq_handler+0x29/0x200 net/ipv4/tcp_output.c:1291 {SOFTIRQ-ON-R} state was registered at: lock_acquire+0x115/0x350 kernel/locking/lockdep.c:5908 kernfs_get_active+0xfe/0x170 fs/kernfs/dir.c:471 kernfs_fop_open+0x5a/0xce0 fs/kernfs/file.c:612 do_dentry_open+0x816/0x1380 fs/open.c:996 vfs_open+0x3b/0x340 fs/open.c:1101 do_open fs/namei.c:4837 [inline] path_openat+0x1443/0x1d60 fs/namei.c:5000 do_file_open+0x23e/0x4a0 fs/namei.c:5029 do_sys_openat2+0x115/0x200 fs/open.c:1417 do_sys_open fs/open.c:1423 [inline] __do_sys_openat fs/open.c:1439 [inline] __se_sys_openat fs/open.c:1434 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1434 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f irq event stamp: 133832 hardirqs last enabled at (133832): [] tcp_tsq_workfn+0x20d/0x410 net/ipv4/tcp_output.c:1315 hardirqs last disabled at (133831): [] tcp_tsq_workfn+0xeb/0x410 net/ipv4/tcp_output.c:1313 softirqs last enabled at (133820): [] __do_softirq kernel/softirq.c:679 [inline] softirqs last enabled at (133820): [] invoke_softirq kernel/softirq.c:519 [inline] softirqs last enabled at (133820): [] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:767 softirqs last disabled at (133827): [] __do_softirq kernel/softirq.c:679 [inline] softirqs last disabled at (133827): [] invoke_softirq kernel/softirq.c:519 [inline] softirqs last disabled at (133827): [] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:767 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(kn->active#67); lock(kn->active#67); *** DEADLOCK *** locks held by syz.3.3879/22217: 2, last CPU#0: #0: ffff88801b069540 ((wq_completion)events_bh){+.-.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff88801b069540 ((wq_completion)events_bh){+.-.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff88801b069540 ((wq_completion)events_bh){+.-.}-{0:0}, at: process_one_work kernel/workqueue.c:3352 [inline] #0: ffff88801b069540 ((wq_completion)events_bh){+.-.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3470 #1: ffffc90000007de0 ((work_completion)(&tsq->work)){+.-.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffc90000007de0 ((work_completion)(&tsq->work)){+.-.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffc90000007de0 ((work_completion)(&tsq->work)){+.-.}-{0:0}, at: process_one_work kernel/workqueue.c:3352 [inline] #1: ffffc90000007de0 ((work_completion)(&tsq->work)){+.-.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3470 stack backtrace: CPU: 0 UID: 0 PID: 22217 Comm: syz.3.3879 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_usage_bug+0x28c/0x2e0 kernel/locking/lockdep.c:4058 valid_state+0xbe/0xf0 kernel/locking/lockdep.c:4072 mark_lock_irq+0x58/0x380 kernel/locking/lockdep.c:4289 mark_lock+0x117/0x190 kernel/locking/lockdep.c:4769 mark_usage kernel/locking/lockdep.c:-1 [inline] __lock_acquire+0x6b7/0x2e50 kernel/locking/lockdep.c:5208 lock_acquire+0x115/0x350 kernel/locking/lockdep.c:5908 __raw_spin_lock include/linux/spinlock_api_smp.h:190 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:173 spin_lock include/linux/spinlock.h:347 [inline] tcp_tsq_handler+0x29/0x200 net/ipv4/tcp_output.c:1291 tcp_tsq_workfn+0x384/0x410 net/ipv4/tcp_output.c:1325 process_one_work kernel/workqueue.c:3387 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3470 bh_worker+0x451/0x870 kernel/workqueue.c:3773 tasklet_action+0xc/0x70 kernel/softirq.c:997 handle_softirqs+0x226/0x860 kernel/softirq.c:645 __do_softirq kernel/softirq.c:679 [inline] invoke_softirq kernel/softirq.c:519 [inline] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:767 irq_exit_rcu+0x9/0x30 kernel/softirq.c:784 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:tcp_wfree+0x4ab/0x580 net/ipv4/tcp_output.c:1429 Code: 00 75 79 e8 17 f5 78 f7 48 bb 00 00 00 00 00 fc ff df 4d 85 ed 75 07 e8 03 f5 78 f7 eb 06 e8 fc f4 78 f7 fb 41 c6 44 1e 04 f8 <48> c7 44 24 40 0e 36 e0 45 49 c7 04 1e 00 00 00 00 65 48 8b 05 64 RSP: 0018:ffffc9000529ee20 EFLAGS: 00000246 RAX: ffffffff8a4ebea4 RBX: dffffc0000000000 RCX: 0000000000080000 RDX: ffffc9000e883000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc9000529eef0 R08: ffffffff907a397f R09: 1ffffffff20f472f R10: dffffc0000000000 R11: fffffbfff20f4730 R12: ffff888077ddf298 R13: 0000000000000200 R14: 1ffff92000a53dcc R15: ffff8880b8639eb0 skb_release_head_state+0x11b/0x370 net/core/skbuff.c:1176 skb_release_all net/core/skbuff.c:1195 [inline] __kfree_skb+0x24/0x210 net/core/skbuff.c:1211 kfree_skb_reason include/linux/skbuff.h:1323 [inline] kfree_skb include/linux/skbuff.h:1332 [inline] __rtnl_unlock+0x95/0xf0 net/core/rtnetlink.c:148 netdev_run_todo+0x2e5/0x1060 net/core/dev.c:11776 rtnl_unlock net/core/rtnetlink.c:157 [inline] rtnl_nets_unlock net/core/rtnetlink.c:379 [inline] rtnl_newlink+0x16d6/0x1c30 net/core/rtnetlink.c:4216 rtnetlink_rcv_msg+0x802/0xc00 net/core/rtnetlink.c:7132 netlink_rcv_skb+0x226/0x4a0 net/netlink/af_netlink.c:2556 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x7bd/0x940 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x813/0xb40 net/netlink/af_netlink.c:1900 sock_sendmsg_nosec+0x13a/0x180 net/socket.c:800 __sock_sendmsg net/socket.c:815 [inline] ____sys_sendmsg+0x54e/0x850 net/socket.c:2713 ___sys_sendmsg+0x2a5/0x360 net/socket.c:2767 __sys_sendmsg net/socket.c:2799 [inline] __do_sys_sendmsg net/socket.c:2804 [inline] __se_sys_sendmsg net/socket.c:2802 [inline] __x64_sys_sendmsg+0x1b1/0x290 net/socket.c:2802 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc47fd9e159 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:00007fc480c0c028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fc480026090 RCX: 00007fc47fd9e159 RDX: 0000000000004004 RSI: 0000200000000200 RDI: 0000000000000007 RBP: 00007fc47fe35024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fc480026128 R14: 00007fc480026090 R15: 00007fc48014fa48 ---------------- Code disassembly (best guess): 0: 00 75 79 add %dh,0x79(%rbp) 3: e8 17 f5 78 f7 call 0xf778f51f 8: 48 bb 00 00 00 00 00 movabs $0xdffffc0000000000,%rbx f: fc ff df 12: 4d 85 ed test %r13,%r13 15: 75 07 jne 0x1e 17: e8 03 f5 78 f7 call 0xf778f51f 1c: eb 06 jmp 0x24 1e: e8 fc f4 78 f7 call 0xf778f51f 23: fb sti 24: 41 c6 44 1e 04 f8 movb $0xf8,0x4(%r14,%rbx,1) * 2a: 48 c7 44 24 40 0e 36 movq $0x45e0360e,0x40(%rsp) <-- trapping instruction 31: e0 45 33: 49 c7 04 1e 00 00 00 movq $0x0,(%r14,%rbx,1) 3a: 00 3b: 65 gs 3c: 48 rex.W 3d: 8b .byte 0x8b 3e: 05 .byte 0x5 3f: 64 fs