------------[ cut here ]------------ WARNING: net/ipv4/tcp_diag.c:628 at tcp_diag_dump_one+0x594/0x630 net/ipv4/tcp_diag.c:628, CPU#0: syz.3.595/8240 Modules linked in: CPU: 0 UID: 0 PID: 8240 Comm: syz.3.595 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 RIP: 0010:tcp_diag_dump_one+0x594/0x630 net/ipv4/tcp_diag.c:628 Code: c6 05 ef 09 8e 05 01 48 c7 c7 60 8d c0 8c be 9e 00 00 00 48 c7 c2 c0 8e c0 8c e8 e7 75 7d f7 e9 ac fc ff ff e8 5d ab 9f f7 90 <0f> 0b 90 eb 93 44 89 f9 80 e1 07 38 c1 0f 8c d6 fd ff ff 4c 89 ff RSP: 0018:ffffc9000e7672a0 EFLAGS: 00010287 RAX: ffffffff8a203293 RBX: ffff88806af6b600 RCX: 0000000000080000 RDX: ffffc9000f05d000 RSI: 0000000000002446 RDI: 0000000000002447 RBP: 00000000ffffffa6 R08: 0000000000000000 R09: ffffffff8a203742 R10: ffff888054f2a0dc R11: ffffffff8a203700 R12: ffffc9000e7673b0 R13: dffffc0000000000 R14: 0000000000000400 R15: ffff88805273a780 FS: 00007fa717db36c0(0000) GS:ffff8881259dd000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa717db2f98 CR3: 00000000332b2000 CR4: 00000000003526f0 Call Trace: inet_diag_cmd_exact+0x3cf/0x4d0 net/ipv4/inet_diag.c:423 inet_diag_handler_cmd+0x1e6/0x290 net/ipv4/inet_diag.c:981 sock_diag_rcv_msg+0x4cc/0x600 net/core/sock_diag.c:-1 netlink_rcv_skb+0x208/0x470 net/netlink/af_netlink.c:2552 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x82f/0x9e0 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x805/0xb30 net/netlink/af_netlink.c:1896 sock_sendmsg_nosec net/socket.c:714 [inline] __sock_sendmsg+0x21c/0x270 net/socket.c:729 sock_write_iter+0x279/0x360 net/socket.c:1182 do_iter_readv_writev+0x623/0x8c0 fs/read_write.c:-1 vfs_writev+0x31a/0x960 fs/read_write.c:1057 do_writev+0x14d/0x2d0 fs/read_write.c:1103 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa716f8eba9 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:00007fa717db3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007fa7171d6180 RCX: 00007fa716f8eba9 RDX: 0000000000000001 RSI: 0000200000000080 RDI: 0000000000000004 RBP: 00007fa717011e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fa7171d6218 R14: 00007fa7171d6180 R15: 00007fff6c108298