------------[ cut here ]------------ WARNING: CPU: 1 PID: 12690 at net/ipv4/route.c:1241 ip_rt_bug+0x2c/0x110 net/ipv4/route.c:1241 Modules linked in: CPU: 1 UID: 0 PID: 12690 Comm: syz.1.2687 Not tainted 6.12.0-rc7-syzkaller-00212-g4a5df3796467 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:ip_rt_bug+0x2c/0x110 net/ipv4/route.c:1241 Code: 1e fa 41 57 41 56 41 55 41 54 53 48 89 d3 e8 3b 3b 73 f7 66 90 e8 34 3b 73 f7 31 ff 48 89 de ba 02 00 00 00 e8 c5 b4 6a ff 90 <0f> 0b 90 31 c0 5b 41 5c 41 5d 41 5e 41 5f e9 0c 92 ce 01 f3 0f 1e RSP: 0018:ffffc9000d576be0 EFLAGS: 00010282 RAX: 60c9ee96068fa000 RBX: ffff888026509500 RCX: ffffffff8170cfaa RDX: dffffc0000000000 RSI: ffffffff8c0acac0 RDI: ffffffff8c610d20 RBP: 0000000000000001 R08: ffffffff942d089f R09: ffffffff8a21aeeb R10: dffffc0000000000 R11: fffffbfff285a114 R12: dffffc0000000000 R13: ffffc9000d576e58 R14: ffff8880351f9d80 R15: ffff8880212921c0 FS: 00007f0a106a36c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3081dff8 CR3: 000000005cd10000 CR4: 0000000000350ef0 Call Trace: ip_local_out net/ipv4/ip_output.c:130 [inline] ip_send_skb net/ipv4/ip_output.c:1496 [inline] ip_push_pending_frames+0xbf/0x150 net/ipv4/ip_output.c:1516 __icmp_send+0x1017/0x15c0 net/ipv4/icmp.c:780 nf_send_unreach+0x467/0x8d0 nft_reject_inet_eval+0x439/0x690 expr_call_ops_eval net/netfilter/nf_tables_core.c:240 [inline] nft_do_chain+0x4af/0x1da0 net/netfilter/nf_tables_core.c:288 nft_do_chain_inet+0x418/0x6b0 net/netfilter/nft_chain_filter.c:161 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline] nf_hook_slow+0xc5/0x220 net/netfilter/core.c:626 nf_hook include/linux/netfilter.h:269 [inline] NF_HOOK+0x29e/0x450 include/linux/netfilter.h:312 __netif_receive_skb_one_core net/core/dev.c:5670 [inline] __netif_receive_skb+0x2bf/0x650 net/core/dev.c:5783 netif_receive_skb_internal net/core/dev.c:5869 [inline] netif_receive_skb+0x1e8/0x890 net/core/dev.c:5928 tun_rx_batched+0x1b7/0x8f0 drivers/net/tun.c:1550 tun_get_user+0x3056/0x47e0 drivers/net/tun.c:2007 tun_chr_write_iter+0x10d/0x1f0 drivers/net/tun.c:2053 new_sync_write fs/read_write.c:590 [inline] vfs_write+0xaed/0xd30 fs/read_write.c:683 ksys_write+0x183/0x2b0 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0a0f97d1ff Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 c9 8d 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 1c 8e 02 00 48 RSP: 002b:00007f0a106a3000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f0a0fb35f80 RCX: 00007f0a0f97d1ff RDX: 000000000000002a RSI: 0000000020000080 RDI: 00000000000000c8 RBP: 00007f0a0f9f175e R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000002a R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f0a0fb35f80 R15: 00007fff40369488