============================= [ BUG: Invalid wait context ] syzkaller #0 Not tainted ----------------------------- syz.3.1273/9711 is trying to lock: ffff888053105ce8 (timens_offset_lock){+.+.}-{4:4}, at: spin_lock include/linux/spinlock.h:347 [inline] ffff888053105ce8 (timens_offset_lock){+.+.}-{4:4}, at: tcp_tsq_handler+0x29/0x200 net/ipv4/tcp_output.c:1291 other info that might help us debug this: context-{3:3} locks held by syz.3.1273/9711: 2, last CPU#1: #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: ffffc90000a08de0 ((work_completion)(&tsq->work)){+.-.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffc90000a08de0 ((work_completion)(&tsq->work)){+.-.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffc90000a08de0 ((work_completion)(&tsq->work)){+.-.}-{0:0}, at: process_one_work kernel/workqueue.c:3352 [inline] #1: ffffc90000a08de0 ((work_completion)(&tsq->work)){+.-.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3470 stack backtrace: CPU: 1 UID: 0 PID: 9711 Comm: syz.3.1273 Not tainted syzkaller #0 PREEMPT(full) 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_lock_invalid_wait_context kernel/locking/lockdep.c:4846 [inline] check_wait_context kernel/locking/lockdep.c:4918 [inline] __lock_acquire+0xe39/0x2cf0 kernel/locking/lockdep.c:5203 lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5886 __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:preempt_schedule_irq+0x46/0x90 kernel/sched/core.c:7592 Code: 49 be 00 00 00 00 00 fc ff df eb 09 48 f7 03 10 00 00 00 74 53 bf 01 00 00 00 e8 b5 d9 b2 f5 e8 a0 f0 ed f5 fb bf 01 00 00 00 35 a2 ff ff 9c 58 fa a9 00 02 00 00 74 05 e8 66 f2 ed f5 bf 01 RSP: 0018:ffffc9000755ed08 EFLAGS: 00000202 RAX: 000000000001f485 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8e46da75 RDI: 0000000000000001 RBP: 0000000000000000 R08: ffffffff9079c13f R09: 1ffffffff20f3827 R10: dffffc0000000000 R11: fffffbfff20f3828 R12: 0000000000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 irqentry_exit_to_kernel_mode include/linux/irq-entry-common.h:539 [inline] irqentry_exit+0x14f/0x910 kernel/entry/common.c:167 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:679 RIP: 0010:tcp_wfree+0x4ab/0x580 net/ipv4/tcp_output.c:1429 Code: 00 75 79 e8 57 c0 7a f7 48 bb 00 00 00 00 00 fc ff df 4d 85 ed 75 07 e8 43 c0 7a f7 eb 06 e8 3c c0 7a 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 74 RSP: 0018:ffffc9000755ee20 EFLAGS: 00000246 RAX: ffffffff8a4c7a94 RBX: dffffc0000000000 RCX: 0000000000080000 RDX: ffffc9000e7f3000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffffc9000755eef0 R08: ffffffff9079c13f R09: 1ffffffff20f3827 R10: dffffc0000000000 R11: fffffbfff20f3828 R12: ffff888053106598 R13: 0000000000000200 R14: 1ffff92000eabdcc R15: ffff8880b8739eb0 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:0x7f30f159e0d9 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:00007f30f24a2028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f30f1826090 RCX: 00007f30f159e0d9 RDX: 0000000000000040 RSI: 0000200000000040 RDI: 0000000000000003 RBP: 00007f30f1635024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f30f1826128 R14: 00007f30f1826090 R15: 00007f30f194fa48 ---------------- Code disassembly (best guess): 0: 49 be 00 00 00 00 00 movabs $0xdffffc0000000000,%r14 7: fc ff df a: eb 09 jmp 0x15 c: 48 f7 03 10 00 00 00 testq $0x10,(%rbx) 13: 74 53 je 0x68 15: bf 01 00 00 00 mov $0x1,%edi 1a: e8 b5 d9 b2 f5 call 0xf5b2d9d4 1f: e8 a0 f0 ed f5 call 0xf5edf0c4 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 35 a2 ff ff call 0xffffa264 <-- trapping instruction 2f: 9c pushf 30: 58 pop %rax 31: fa cli 32: a9 00 02 00 00 test $0x200,%eax 37: 74 05 je 0x3e 39: e8 66 f2 ed f5 call 0xf5edf2a4 3e: bf .byte 0xbf 3f: 01 .byte 0x1