____sys_sendmsg+0x524/0x860 net/socket.c:2573 ___sys_sendmsg net/socket.c:2627 [inline] __sys_sendmmsg+0x36a/0x720 net/socket.c:2716 __do_sys_sendmmsg net/socket.c:2743 [inline] __se_sys_sendmmsg net/socket.c:2740 [inline] __x64_sys_sendmmsg+0xa0/0xb0 net/socket.c:2740 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f ------------[ cut here ]------------ WARNING: CPU: 1 PID: 13283 at lib/ref_tracker.c:255 ref_tracker_free+0x582/0x7e0 lib/ref_tracker.c:255 Modules linked in: CPU: 1 UID: 0 PID: 13283 Comm: syz.5.1887 Not tainted 6.14.0-rc2-next-20250214-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:ref_tracker_free+0x582/0x7e0 lib/ref_tracker.c:255 Code: 0f 85 1a 02 00 00 41 8b 5d 00 31 ff 89 de e8 75 0e 90 fc 85 db 75 5d e8 2c 0a 90 fc 48 8b 7c 24 08 4c 89 e6 e8 8f 44 df 06 90 <0f> 0b 90 b8 ea ff ff ff 4c 8b 6c 24 18 e9 b1 00 00 00 e8 07 0a 90 RSP: 0018:ffffc900035b6d20 EFLAGS: 00010246 RAX: e5b824014c09ed00 RBX: 0000000006f80591 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8c2a9e60 RDI: 0000000000000001 RBP: ffffc900035b6e48 R08: ffffffff903d9377 R09: 1ffffffff207b26e R10: dffffc0000000000 R11: fffffbfff207b26f R12: 0000000000000246 R13: ffff888031464018 R14: 1ffff1100628c803 R15: dffffc0000000000 FS: 00007fe75e13a6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555599fe5c8 CR3: 00000000319e0000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: netdev_tracker_free include/linux/netdevice.h:4302 [inline] netdev_put include/linux/netdevice.h:4319 [inline] dst_destroy+0x105/0x360 net/core/dst.c:114 xfrm_bundle_create net/xfrm/xfrm_policy.c:2802 [inline] xfrm_resolve_and_create_bundle+0x2f3b/0x3240 net/xfrm/xfrm_policy.c:2878 xfrm_lookup_with_ifid+0x368/0x1fa0 net/xfrm/xfrm_policy.c:3202 xfrm_lookup net/xfrm/xfrm_policy.c:3333 [inline] xfrm_lookup_route+0x3c/0x1c0 net/xfrm/xfrm_policy.c:3344 ip6_dst_lookup_flow net/ipv6/ip6_output.c:1265 [inline] ip6_sk_dst_lookup_flow+0x819/0xa30 net/ipv6/ip6_output.c:1297 udpv6_sendmsg+0x1ff6/0x3310 net/ipv6/udp.c:1712 sock_sendmsg_nosec net/socket.c:718 [inline] __sock_sendmsg+0xef/0x270 net/socket.c:733 ____sys_sendmsg+0x524/0x860 net/socket.c:2573 ___sys_sendmsg net/socket.c:2627 [inline] __sys_sendmmsg+0x36a/0x720 net/socket.c:2716 __do_sys_sendmmsg net/socket.c:2743 [inline] __se_sys_sendmmsg net/socket.c:2740 [inline] __x64_sys_sendmmsg+0xa0/0xb0 net/socket.c:2740 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe75d38cde9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe75e13a038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007fe75d5a6080 RCX: 00007fe75d38cde9 RDX: 0000000000000001 RSI: 0000400000000300 RDI: 0000000000000006 RBP: 00007fe75d40e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fe75d5a6080 R15: 00007ffcfd2d7618