=============================
[ BUG: Invalid wait context ]
syzkaller #0 Tainted: G L
-----------------------------
syz.3.1474/11247 is trying to lock:
ffff88802cf8cfe8 (&type->s_umount_key#57){++++}-{4:4}, at: spin_lock include/linux/spinlock.h:342 [inline]
ffff88802cf8cfe8 (&type->s_umount_key#57){++++}-{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}
3 locks held by syz.3.1474/11247:
#0: ffffffff90027f40 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline]
#0: ffffffff90027f40 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline]
#0: ffffffff90027f40 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8a3/0x1bd0 net/core/rtnetlink.c:4158
#1: ffff88801b029540 ((wq_completion)events_bh){+.-.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline]
#1: ffff88801b029540 ((wq_completion)events_bh){+.-.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0 kernel/workqueue.c:3405
#2: ffffc90000007e20 ((work_completion)(&tsq->work)){+.-.}-{0:0}, at: process_one_work kernel/workqueue.c:3297 [inline]
#2: ffffc90000007e20 ((work_completion)(&tsq->work)){+.-.}-{0:0}, at: process_scheduled_works+0xa20/0x14e0 kernel/workqueue.c:3405
stack backtrace:
CPU: 0 UID: 0 PID: 11247 Comm: syz.3.1474 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_lock_invalid_wait_context kernel/locking/lockdep.c:4830 [inline]
check_wait_context kernel/locking/lockdep.c:4902 [inline]
__lock_acquire+0xe39/0x2cf0 kernel/locking/lockdep.c:5187
lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868
__raw_spin_lock include/linux/spinlock_api_smp.h:158 [inline]
_raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:158
spin_lock include/linux/spinlock.h:342 [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:3322 [inline]
process_scheduled_works+0xa8e/0x14e0 kernel/workqueue.c:3405
bh_worker+0x44e/0x840 kernel/workqueue.c:3708
tasklet_action+0xc/0x70 kernel/softirq.c:965
handle_softirqs+0x225/0x840 kernel/softirq.c:622
do_softirq+0x76/0xd0 kernel/softirq.c:523
__local_bh_enable_ip+0xf8/0x130 kernel/softirq.c:450
netdev_for_each_tx_queue include/linux/netdevice.h:2737 [inline]
dev_deactivate_many+0x778/0xda0 net/sched/sch_generic.c:1394
__dev_close_many+0x180/0x6e0 net/core/dev.c:1760
__dev_close net/core/dev.c:1789 [inline]
__dev_change_flags+0x3f5/0x820 net/core/dev.c:9758
netif_change_flags+0x7c/0x1b0 net/core/dev.c:9823
do_setlink+0xdd6/0x4670 net/core/rtnetlink.c:3215
rtnl_group_changelink net/core/rtnetlink.c:3863 [inline]
__rtnl_newlink net/core/rtnetlink.c:4031 [inline]
rtnl_newlink+0x148e/0x1bd0 net/core/rtnetlink.c:4159
rtnetlink_rcv_msg+0x802/0xc00 net/core/rtnetlink.c:7076
netlink_rcv_skb+0x226/0x4a0 net/netlink/af_netlink.c:2556
netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]
netlink_unicast+0x7bb/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:775
__sock_sendmsg net/socket.c:790 [inline]
____sys_sendmsg+0x54e/0x850 net/socket.c:2684
___sys_sendmsg+0x2a5/0x360 net/socket.c:2738
__sys_sendmsg net/socket.c:2770 [inline]
__do_sys_sendmsg net/socket.c:2775 [inline]
__se_sys_sendmsg net/socket.c:2773 [inline]
__x64_sys_sendmsg+0x1b1/0x290 net/socket.c:2773
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fdf5279e0d9
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:00007fdf5365a028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fdf52a25fa0 RCX: 00007fdf5279e0d9
RDX: 0000000000000000 RSI: 0000200000000280 RDI: 0000000000000009
RBP: 00007fdf52835024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fdf52a26038 R14: 00007fdf52a25fa0 R15: 00007fdf52b4fa48
BUG: workqueue leaked atomic, lock or RCU: syz.3.1474[11247]
preempt=0x00000101 lock=1->0 RCU=0->0 workfn=tcp_tsq_workfn
INFO: lockdep is turned off.
CPU: 0 UID: 0 PID: 11247 Comm: syz.3.1474 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
process_one_work kernel/workqueue.c:3343 [inline]
process_scheduled_works+0x1161/0x14e0 kernel/workqueue.c:3405
bh_worker+0x44e/0x840 kernel/workqueue.c:3708
tasklet_action+0xc/0x70 kernel/softirq.c:965
handle_softirqs+0x225/0x840 kernel/softirq.c:622
do_softirq+0x76/0xd0 kernel/softirq.c:523
__local_bh_enable_ip+0xf8/0x130 kernel/softirq.c:450
netdev_for_each_tx_queue include/linux/netdevice.h:2737 [inline]
dev_deactivate_many+0x778/0xda0 net/sched/sch_generic.c:1394
__dev_close_many+0x180/0x6e0 net/core/dev.c:1760
__dev_close net/core/dev.c:1789 [inline]
__dev_change_flags+0x3f5/0x820 net/core/dev.c:9758
netif_change_flags+0x7c/0x1b0 net/core/dev.c:9823
do_setlink+0xdd6/0x4670 net/core/rtnetlink.c:3215
rtnl_group_changelink net/core/rtnetlink.c:3863 [inline]
__rtnl_newlink net/core/rtnetlink.c:4031 [inline]
rtnl_newlink+0x148e/0x1bd0 net/core/rtnetlink.c:4159
rtnetlink_rcv_msg+0x802/0xc00 net/core/rtnetlink.c:7076
netlink_rcv_skb+0x226/0x4a0 net/netlink/af_netlink.c:2556
netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]
netlink_unicast+0x7bb/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:775
__sock_sendmsg net/socket.c:790 [inline]
____sys_sendmsg+0x54e/0x850 net/socket.c:2684
___sys_sendmsg+0x2a5/0x360 net/socket.c:2738
__sys_sendmsg net/socket.c:2770 [inline]
__do_sys_sendmsg net/socket.c:2775 [inline]
__se_sys_sendmsg net/socket.c:2773 [inline]
__x64_sys_sendmsg+0x1b1/0x290 net/socket.c:2773
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fdf5279e0d9
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:00007fdf5365a028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fdf52a25fa0 RCX: 00007fdf5279e0d9
RDX: 0000000000000000 RSI: 0000200000000280 RDI: 0000000000000009
RBP: 00007fdf52835024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fdf52a26038 R14: 00007fdf52a25fa0 R15: 00007fdf52b4fa48
ip6_tunnel: ip6gretap1 xmit: Local address not yet configured!