------------[ cut here ]------------ WARNING: CPU: 0 PID: 12135 at net/ipv4/route.c:1241 ip_rt_bug+0x2c/0x110 net/ipv4/route.c:1241 Modules linked in: CPU: 0 UID: 0 PID: 12135 Comm: syz.4.1485 Not tainted 6.12.0-rc6-syzkaller-00170-g073d89808c06 #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 8b b0 73 f7 66 90 e8 84 b0 73 f7 31 ff 48 89 de ba 02 00 00 00 e8 45 b6 6a ff 90 <0f> 0b 90 31 c0 5b 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc f3 0f 1e RSP: 0018:ffffc90002eaebe0 EFLAGS: 00010282 RAX: ab26a09533181b00 RBX: ffff88807d694a00 RCX: ffffffff8170bffa RDX: dffffc0000000000 RSI: ffffffff8c0acac0 RDI: ffffffff8c610960 RBP: 0000000000000001 R08: ffffffff942cd89f R09: ffffffff8a2129eb R10: dffffc0000000000 R11: fffffbfff2859b14 R12: dffffc0000000000 R13: ffffc90002eaee58 R14: ffff888034d01d80 R15: ffff888145691b00 FS: 00007ff8fe2f26c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2829bf CR3: 000000005e462000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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+0x4ad/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+0xc3/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+0xaeb/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:0x7ff8fd57d1ff 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:00007ff8fe2f2000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007ff8fd735f80 RCX: 00007ff8fd57d1ff RDX: 0000000000000052 RSI: 0000000020000080 RDI: 00000000000000c8 RBP: 00007ff8fd5f1616 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000052 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ff8fd735f80 R15: 00007ffd91c0dff8