------------[ cut here ]------------ WARNING: CPU: 1 PID: 25692 at net/ipv4/route.c:1259 kfree_skb include/linux/skbuff.h:1218 [inline] WARNING: CPU: 1 PID: 25692 at net/ipv4/route.c:1259 ip_rt_bug+0x28/0x120 net/ipv4/route.c:1258 Modules linked in: CPU: 1 PID: 25692 Comm: syz-executor.5 Not tainted 6.2.0-rc2-syzkaller-00232-g7d6ceeb1875c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:ip_rt_bug+0x28/0x120 net/ipv4/route.c:1259 Code: 00 00 f3 0f 1e fa 41 54 55 48 89 d5 53 48 83 ec 08 e8 0c dd 37 f9 66 90 e8 05 dd 37 f9 be 02 00 00 00 48 89 ef e8 88 e4 78 ff <0f> 0b 48 83 c4 08 31 c0 5b 5d 41 5c c3 e8 e6 dc 37 f9 48 8d 7d 10 RSP: 0018:ffffc9000379f470 EFLAGS: 00010212 RAX: 000000000000106f RBX: ffff8880792d8000 RCX: ffffc9000cb0c000 RDX: 0000000000040000 RSI: ffffffff88497568 RDI: 0000000000000000 RBP: ffff88808240b8c0 R08: 0000000000000000 R09: ffffffff91339b57 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88802976c500 R13: ffff88808240b8c0 R14: 0000000000000000 R15: ffff88808240b918 FS: 00007f3c33169700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000016a519000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dst_output include/net/dst.h:444 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] ip_send_skb net/ipv4/ip_output.c:1586 [inline] ip_push_pending_frames+0x129/0x2b0 net/ipv4/ip_output.c:1606 icmp_push_reply+0x319/0x440 net/ipv4/icmp.c:386 __icmp_send+0xb80/0x13f0 net/ipv4/icmp.c:762 icmp_send include/net/icmp.h:43 [inline] ip_options_compile+0xb1/0xf0 net/ipv4/ip_options.c:473 ip_rcv_options net/ipv4/ip_input.c:281 [inline] ip_rcv_finish_core.constprop.0+0x573/0x2110 net/ipv4/ip_input.c:387 ip_rcv_finish+0x139/0x2f0 net/ipv4/ip_input.c:447 NF_HOOK include/linux/netfilter.h:302 [inline] NF_HOOK include/linux/netfilter.h:296 [inline] ip_rcv+0xae/0xd0 net/ipv4/ip_input.c:569 __netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:5482 __netif_receive_skb+0x1f/0x1c0 net/core/dev.c:5596 netif_receive_skb_internal net/core/dev.c:5682 [inline] netif_receive_skb+0x16e/0x9e0 net/core/dev.c:5741 tun_rx_batched+0x4b3/0x7a0 drivers/net/tun.c:1547 tun_get_user+0x23c3/0x3870 drivers/net/tun.c:1983 tun_chr_write_iter+0xdf/0x200 drivers/net/tun.c:2029 call_write_iter include/linux/fs.h:2186 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x9ed/0xdd0 fs/read_write.c:584 ksys_write+0x12b/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f3c3243de4f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48 RSP: 002b:00007f3c33169130 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f3c325abf80 RCX: 00007f3c3243de4f RDX: 0000000000000046 RSI: 0000000020000280 RDI: 00000000000000c8 RBP: 00007f3c324e7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000046 R11: 0000000000000293 R12: 0000000000000000 R13: 00007ffcc8d7202f R14: 00007f3c33169300 R15: 0000000000022000