------------[ cut here ]------------ WARNING: CPU: 1 PID: 18023 at net/ipv4/route.c:1269 ip_rt_bug+0x2c/0x110 net/ipv4/route.c:1269 Modules linked in: CPU: 1 UID: 0 PID: 18023 Comm: syz.4.3513 Not tainted 6.17.0-rc1-syzkaller-00125-g79116acb75e1 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:ip_rt_bug+0x2c/0x110 net/ipv4/route.c:1269 Code: 1e fa 41 57 41 56 41 55 41 54 53 48 89 d3 e8 0b b3 d5 f7 66 90 e8 04 b3 d5 f7 31 ff 48 89 de ba 02 00 00 00 e8 45 9d 70 ff 90 <0f> 0b 90 31 c0 5b 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc cc f3 0f RSP: 0018:ffffc90004887180 EFLAGS: 00010286 RAX: 4830650d37ff5b00 RBX: ffff88802e5fb280 RCX: 4830650d37ff5b00 RDX: 0000000000000002 RSI: ffffffff8d9b6ed5 RDI: ffffffff8be33400 RBP: 0000000000000001 R08: ffffffff8fa37e37 R09: 1ffffffff1f46fc6 R10: dffffc0000000000 R11: fffffbfff1f46fc7 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffff88802e5fb280 R15: ffff88801af421c0 FS: 00007f375a88c6c0(0000) GS:ffff888125d1c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fed8d83bf98 CR3: 000000005bdc2000 CR4: 00000000003526f0 Call Trace: ip_local_out net/ipv4/ip_output.c:129 [inline] ip_send_skb net/ipv4/ip_output.c:1506 [inline] ip_push_pending_frames+0xbe/0x150 net/ipv4/ip_output.c:1526 __icmp_send+0xf87/0x12d0 net/ipv4/icmp.c:783 icmp_send include/net/icmp.h:43 [inline] ip_options_compile+0x80/0xb0 net/ipv4/ip_options.c:473 ip_rcv_options net/ipv4/ip_input.c:287 [inline] ip_rcv_finish_core+0xaa2/0x1c00 net/ipv4/ip_input.c:394 ip_rcv_finish+0x14c/0x2f0 net/ipv4/ip_input.c:452 NF_HOOK+0x30c/0x3a0 include/linux/netfilter.h:318 __netif_receive_skb_one_core net/core/dev.c:5979 [inline] __netif_receive_skb+0x143/0x380 net/core/dev.c:6092 netif_receive_skb_internal net/core/dev.c:6178 [inline] netif_receive_skb+0x1cb/0x790 net/core/dev.c:6237 tun_rx_batched+0x1b9/0x730 drivers/net/tun.c:1485 tun_get_user+0x2aa2/0x3e20 drivers/net/tun.c:1950 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:1996 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5c6/0xb30 fs/read_write.c:686 ksys_write+0x145/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f375998d69f 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:00007f375a88c000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f3759bb6090 RCX: 00007f375998d69f RDX: 0000000000000046 RSI: 0000200000000400 RDI: 00000000000000c8 RBP: 00007f3759a11e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000046 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f3759bb6128 R14: 00007f3759bb6090 R15: 00007ffddcdfd788