------------[ cut here ]------------ WARNING: CPU: 3 PID: 11190 at net/ipv4/route.c:1270 ip_rt_bug+0x2b/0x120 net/ipv4/route.c:1270 Modules linked in: CPU: 3 UID: 0 PID: 11190 Comm: syz.6.1433 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:ip_rt_bug+0x2b/0x120 net/ipv4/route.c:1270 Code: 0f 1e fa 41 54 55 53 48 89 d3 48 83 ec 08 e8 fc 2d ff f7 66 90 e8 f5 2d ff f7 ba 02 00 00 00 48 89 de 31 ff e8 66 a5 6e ff 90 <0f> 0b 90 48 83 c4 08 31 c0 5b 5d 41 5c c3 cc cc cc cc e8 ce 2d ff RSP: 0018:ffffc90005b973b8 EFLAGS: 00010283 RAX: 0000000000001e58 RBX: ffff888053d9ac80 RCX: ffffc90030201000 RDX: 0000000000080000 RSI: ffffffff89bdddaa RDI: ffffffff8bf06e40 RBP: ffff888053d9ac80 R08: 0000000000000001 R09: 0000000000000001 R10: ffffc90005b97368 R11: 0000000000000001 R12: ffff888027132480 R13: ffff888100bd8f00 R14: ffff888056436800 R15: ffff888053d9acd8 FS: 00007f78fdbfb6c0(0000) GS:ffff8880d6d0a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c36197a CR3: 000000003bf7d000 CR4: 0000000000352ef0 DR0: ffffffffffffffff DR1: 00000000000001f8 DR2: 0000000000000083 DR3: ffffffffefffff15 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: dst_output include/net/dst.h:464 [inline] dst_output include/net/dst.h:462 [inline] ip_local_out net/ipv4/ip_output.c:131 [inline] ip_send_skb net/ipv4/ip_output.c:1508 [inline] ip_push_pending_frames+0x419/0x5d0 net/ipv4/ip_output.c:1528 icmp_push_reply+0x308/0x440 net/ipv4/icmp.c:395 __icmp_send+0xce3/0x19c0 net/ipv4/icmp.c:787 icmp_send include/net/icmp.h:43 [inline] ip_options_compile+0xb6/0x100 net/ipv4/ip_options.c:473 ip_rcv_options net/ipv4/ip_input.c:288 [inline] ip_rcv_finish_core+0x6de/0x2290 net/ipv4/ip_input.c:391 ip_rcv_finish net/ipv4/ip_input.c:451 [inline] NF_HOOK include/linux/netfilter.h:318 [inline] NF_HOOK include/linux/netfilter.h:312 [inline] ip_rcv+0x1c0/0x600 net/ipv4/ip_input.c:573 __netif_receive_skb_one_core+0x197/0x1e0 net/core/dev.c:6079 __netif_receive_skb+0x1d/0x160 net/core/dev.c:6192 netif_receive_skb_internal net/core/dev.c:6278 [inline] netif_receive_skb+0x137/0x7b0 net/core/dev.c:6337 tun_rx_batched.isra.0+0x3ee/0x740 drivers/net/tun.c:1509 tun_get_user+0x28b2/0x3cc0 drivers/net/tun.c:1953 tun_chr_write_iter+0xdc/0x210 drivers/net/tun.c:1999 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x7d3/0x11d0 fs/read_write.c:686 ksys_write+0x12a/0x250 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f78fcd8da7f 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:00007f78fdbfb000 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f78fcfe5fa0 RCX: 00007f78fcd8da7f RDX: 0000000000000046 RSI: 0000200000000400 RDI: 00000000000000c8 RBP: 00007f78fce11f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000046 R11: 0000000000000293 R12: 0000000000000000 R13: 00007f78fcfe6038 R14: 00007f78fcfe5fa0 R15: 00007ffc3f8910f8