------------[ cut here ]------------ WARNING: CPU: 1 PID: 6755 at net/ipv4/route.c:1253 kfree_skb include/linux/skbuff.h:1220 [inline] WARNING: CPU: 1 PID: 6755 at net/ipv4/route.c:1253 ip_rt_bug+0x25/0xf0 net/ipv4/route.c:1252 Modules linked in: CPU: 1 PID: 6755 Comm: syz.0.770 Not tainted 6.1.123-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:ip_rt_bug+0x25/0xf0 net/ipv4/route.c:1253 Code: ff ff 0f 1f 00 41 57 41 56 41 55 41 54 53 48 89 d3 e8 cf c2 60 f8 66 90 e8 c8 c2 60 f8 48 89 df be 01 00 00 00 e8 6b 34 76 ff <0f> 0b 31 c0 5b 41 5c 41 5d 41 5e 41 5f c3 49 bd 00 00 00 00 00 fc RSP: 0018:ffffc9000c12f0b8 EFLAGS: 00010292 RAX: 64d0f58742d1f801 RBX: ffff888073c12140 RCX: ffffffff816b126a RDX: dffffc0000000000 RSI: ffffffff8b0c0340 RDI: ffffffff8b5e6840 RBP: dffffc0000000000 R08: dffffc0000000000 R09: fffffbfff2249e5f R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888073c12140 R13: ffff888073c12198 R14: ffff888075ce0000 R15: ffff88801d2c1380 FS: 00007f8c844666c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d61eff8 CR3: 000000007c7ee000 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+0x113/0x1a0 net/ipv4/ip_output.c:1599 __icmp_send+0xf9e/0x15a0 net/ipv4/icmp.c:780 icmp_send include/net/icmp.h:43 [inline] ip_options_compile+0xe8/0x180 net/ipv4/ip_options.c:473 ip_rcv_options net/ipv4/ip_input.c:281 [inline] ip_rcv_finish_core+0xcff/0x1b40 net/ipv4/ip_input.c:387 ip_rcv_finish+0x146/0x260 net/ipv4/ip_input.c:447 NF_HOOK+0x39d/0x450 include/linux/netfilter.h:302 __netif_receive_skb_one_core net/core/dev.c:5536 [inline] __netif_receive_skb+0x1c6/0x530 net/core/dev.c:5650 netif_receive_skb_internal net/core/dev.c:5736 [inline] netif_receive_skb+0x1f4/0x890 net/core/dev.c:5795 tun_rx_batched+0x1b3/0x8e0 drivers/net/tun.c:1548 tun_get_user+0x2c03/0x42d0 drivers/net/tun.c:1998 tun_chr_write_iter+0x10c/0x1f0 drivers/net/tun.c:2044 call_write_iter include/linux/fs.h:2265 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x857/0xbc0 fs/read_write.c:584 ksys_write+0x19c/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f8c835847df Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 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 4c 93 02 00 48 RSP: 002b:00007f8c84466000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f8c83775fa0 RCX: 00007f8c835847df RDX: 000000000000002a RSI: 0000000020000480 RDI: 00000000000000c8 RBP: 00007f8c83601b08 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000002a R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8c83775fa0 R15: 00007fff02a71268