------------[ cut here ]------------
WARNING: CPU: 1 PID: 3682 at net/ipv4/route.c:1245 ip_rt_bug+0x22/0x130 net/ipv4/route.c:1244
Modules linked in:
CPU: 1 PID: 3682 Comm: sshd Not tainted 5.16.0-rc3-syzkaller #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
RIP: 0010:ip_rt_bug+0x22/0x130 net/ipv4/route.c:1245
Code: b9 9d 01 0f 1f 44 00 00 55 48 89 d5 53 48 83 ec 08 e8 d2 70 d0 f9 66 90 e8 cb 70 d0 f9 e8 c6 70 d0 f9 48 89 ef e8 ae 8a 7e ff <0f> 0b 48 83 c4 08 31 c0 5b 5d c3 e8 ae 70 d0 f9 48 8d 7d 10 48 b8
RSP: 0018:ffffc900007288c8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff88804f6a40c0 RCX: 0000000000000100
RDX: ffff888013bfc100 RSI: ffffffff87a67382 RDI: 0000000000000000
RBP: ffff888024658e00 R08: 0000000000000001 R09: ffffffff8ff75aa7
R10: 0000000000000001 R11: 000000000008808a R12: ffff88801bc7e800
R13: ffff888024658e00 R14: 0000000000000000 R15: ffff888024658e58
FS: 00007f154afbb800(0000) GS:ffff88802cb00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055555689a848 CR3: 0000000019781000 CR4: 0000000000150ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
dst_output include/net/dst.h:450 [inline]
ip_local_out net/ipv4/ip_output.c:126 [inline]
ip_send_skb net/ipv4/ip_output.c:1555 [inline]
ip_push_pending_frames+0x125/0x2b0 net/ipv4/ip_output.c:1575
icmp_push_reply+0x351/0x4a0 net/ipv4/icmp.c:393
__icmp_send+0xb99/0x13c0 net/ipv4/icmp.c:769
ipv4_send_dest_unreach net/ipv4/route.c:1225 [inline]
ipv4_link_failure+0x5d5/0x9f0 net/ipv4/route.c:1232
dst_link_failure include/net/dst.h:429 [inline]
arp_error_report+0xc7/0x1c0 net/ipv4/arp.c:295
neigh_invalidate+0x20d/0x560 net/core/neighbour.c:1025
neigh_timer_handler+0xd47/0x10e0 net/core/neighbour.c:1112
call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1421
expire_timers kernel/time/timer.c:1466 [inline]
__run_timers.part.0+0x675/0xa20 kernel/time/timer.c:1734
__run_timers kernel/time/timer.c:1715 [inline]
run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747
__do_softirq+0x29b/0x9c2 kernel/softirq.c:558
do_softirq.part.0+0xde/0x130 kernel/softirq.c:459
do_softirq kernel/softirq.c:451 [inline]
__local_bh_enable_ip+0x102/0x120 kernel/softirq.c:383
lock_sock include/net/sock.h:1645 [inline]
tcp_sendmsg+0x1d/0x40 net/ipv4/tcp.c:1439
inet_sendmsg+0x99/0xe0 net/ipv4/af_inet.c:819
sock_sendmsg_nosec net/socket.c:704 [inline]
sock_sendmsg+0xcf/0x120 net/socket.c:724
sock_write_iter+0x289/0x3c0 net/socket.c:1057
call_write_iter include/linux/fs.h:2162 [inline]
new_sync_write+0x429/0x660 fs/read_write.c:503
vfs_write+0x7cd/0xae0 fs/read_write.c:590
ksys_write+0x1ee/0x250 fs/read_write.c:643
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f154b10b9a3
Code: 8b 15 d9 f4 0c 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 64 8b 04 25 18 00 00 00 85 c0 75 14 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 55 c3 0f 1f 40 00 48 83 ec 28 48 89 54 24 18
RSP: 002b:00007ffcf744ded8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000114 RCX: 00007f154b10b9a3
RDX: 0000000000000114 RSI: 000056279a65ad30 RDI: 0000000000000004
RBP: 000056279a5c0ec0 R08: 0000000000000000 R09: 00007ffcf74e6080
R10: 00007ffcf74e60f0 R11: 0000000000000246 R12: 0000000000000004
R13: 0000000000000001 R14: 00007ffcf744df48 R15: 00007ffcf744dfc8