syz-executor.0 uses obsolete (PF_INET,SOCK_PACKET) ------------[ cut here ]------------ WARNING: CPU: 1 PID: 5120 at net/ipv4/route.c:1259 kfree_skb include/linux/skbuff.h:1234 [inline] WARNING: CPU: 1 PID: 5120 at net/ipv4/route.c:1259 ip_rt_bug+0x28/0x120 net/ipv4/route.c:1258 Modules linked in: CPU: 1 PID: 5120 Comm: syz-executor.0 Not tainted 6.5.0-syzkaller-04072-g1b36955cc048 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:ip_rt_bug+0x28/0x120 net/ipv4/route.c:1259 Code: 00 00 f3 0f 1e fa 41 54 55 53 48 89 d3 48 83 ec 08 e8 fc 1e dd f8 66 90 e8 f5 1e dd f8 be 02 00 00 00 48 89 df e8 18 c3 7b ff <0f> 0b 48 83 c4 08 31 c0 5b 5d 41 5c c3 e8 d6 1e dd f8 48 8d 7b 10 RSP: 0018:ffffc900048ff388 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888029d83500 RCX: 0000000000000000 RDX: ffff88801f121dc0 RSI: ffffffff88a96898 RDI: ffffffff8ac88700 RBP: ffff888029d83500 R08: 0000000000000001 R09: fffffbfff22f65e2 R10: ffffffff917b2f17 R11: ffffffff81dba175 R12: ffff888022058000 R13: ffff888140091380 R14: 0000000000000000 R15: ffff888029d83558 FS: 00007ff30a81a6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001000 CR3: 0000000070fd2000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dst_output include/net/dst.h:458 [inline] ip_local_out net/ipv4/ip_output.c:127 [inline] ip_send_skb net/ipv4/ip_output.c:1486 [inline] ip_push_pending_frames+0x120/0x2a0 net/ipv4/ip_output.c:1506 icmp_push_reply+0x30f/0x450 net/ipv4/icmp.c:389 __icmp_send+0xccc/0x17e0 net/ipv4/icmp.c:770 icmp_send include/net/icmp.h:43 [inline] ip_options_compile+0xb7/0xf0 net/ipv4/ip_options.c:473 ip_rcv_options net/ipv4/ip_input.c:281 [inline] ip_rcv_finish_core.constprop.0+0x70a/0x21a0 net/ipv4/ip_input.c:387 ip_rcv_finish+0x135/0x2e0 net/ipv4/ip_input.c:447 NF_HOOK include/linux/netfilter.h:304 [inline] NF_HOOK include/linux/netfilter.h:298 [inline] ip_rcv+0xc8/0x410 net/ipv4/ip_input.c:569 __netif_receive_skb_one_core+0x115/0x180 net/core/dev.c:5523 __netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5637 netif_receive_skb_internal net/core/dev.c:5723 [inline] netif_receive_skb+0x135/0x7b0 net/core/dev.c:5782 tun_rx_batched+0x4d8/0x7b0 drivers/net/tun.c:1555 tun_get_user+0x2a46/0x3cd0 drivers/net/tun.c:2002 tun_chr_write_iter+0xe8/0x210 drivers/net/tun.c:2048 call_write_iter include/linux/fs.h:1985 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x650/0xe40 fs/read_write.c:584 ksys_write+0x12f/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x454729 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 b4 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff30a81a0f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00000000ffffffff RCX: 0000000000454729 RDX: 000000000000100c RSI: 0000000020000240 RDI: 0000000000000005 RBP: 0000000000000d0d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff30a81a674 R13: 0000000000000003 R14: 00000000004e3c60 R15: 000000000052bf00