------------[ cut here ]------------
WARNING: CPU: 0 PID: 5936 at net/ipv4/route.c:1274 kfree_skb include/linux/skbuff.h:1220 [inline]
WARNING: CPU: 0 PID: 5936 at net/ipv4/route.c:1274 ip_rt_bug+0x25/0xf0 net/ipv4/route.c:1273
Modules linked in:
CPU: 0 PID: 5936 Comm: syz.4.562 Not tainted 6.1.129-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:ip_rt_bug+0x25/0xf0 net/ipv4/route.c:1274
Code: ff ff 0f 1f 00 41 57 41 56 41 55 41 54 53 48 89 d3 e8 cf 0b 62 f8 66 90 e8 c8 0b 62 f8 48 89 df be 01 00 00 00 e8 9b 10 76 ff <0f> 0b 31 c0 5b 41 5c 41 5d 41 5e 41 5f c3 49 bd 00 00 00 00 00 fc
RSP: 0018:ffffc90000007638 EFLAGS: 00010296
RAX: 6466ee2ee9d4ca01 RBX: ffff888078f31a00 RCX: ffffffff816b145a
RDX: dffffc0000000000 RSI: ffffffff8b0c1d40 RDI: ffffffff8b5f6d80
RBP: dffffc0000000000 R08: dffffc0000000000 R09: fffffbfff2256c5f
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888078f31a00
R13: ffff888078f31a58 R14: ffff888028f98000 R15: ffff88801f680d00
FS: 00007fba267806c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4b7d2b6fbe CR3: 0000000054373000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
dst_output include/net/dst.h:444 [inline]
ip_local_out net/ipv4/ip_output.c:126 [inline]
ip_send_skb+0x113/0x1a0 net/ipv4/ip_output.c:1599
__icmp_send+0x127c/0x17f0 net/ipv4/icmp.c:781
ipv4_send_dest_unreach net/ipv4/route.c:1254 [inline]
ipv4_link_failure+0x63d/0xa20 net/ipv4/route.c:1261
dst_link_failure include/net/dst.h:423 [inline]
arp_error_report+0x112/0x160 net/ipv4/arp.c:296
neigh_invalidate+0x240/0x460 net/core/neighbour.c:1059
neigh_timer_handler+0x8a1/0x1010 net/core/neighbour.c:1146
call_timer_fn+0x1ad/0x6b0 kernel/time/timer.c:1504
expire_timers kernel/time/timer.c:1549 [inline]
__run_timers+0x67c/0x890 kernel/time/timer.c:1820
run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1833
handle_softirqs+0x2ee/0xa40 kernel/softirq.c:578
__do_softirq kernel/softirq.c:612 [inline]
invoke_softirq kernel/softirq.c:452 [inline]
__irq_exit_rcu+0x157/0x240 kernel/softirq.c:661
irq_exit_rcu+0x5/0x20 kernel/softirq.c:673
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:__sanitizer_cov_trace_pc+0x41/0x60 kernel/kcov.c:221
Code: ff 00 74 11 81 fa 00 01 00 00 75 35 83 b9 1c 16 00 00 00 74 2c 8b 91 f8 15 00 00 83 fa 02 75 21 48 8b 91 00 16 00 00 48 8b 32 <48> 8d 7e 01 8b 89 fc 15 00 00 48 39 cf 73 08 48 89 3a 48 89 44 f2
RSP: 0018:ffffc900038176b0 EFLAGS: 00000246
RAX: ffffffff81b70657 RBX: 000000000000087f RCX: ffff888073e21dc0
RDX: ffffc9000e562000 RSI: 000000000007ffff RDI: 0000000000000040
RBP: 0000000000000037 R08: ffffffff81b70648 R09: fffff940002a572f
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90003817812
R13: ffffc90003817800 R14: 0000000000000038 R15: ffff888074699660
xa_entry include/linux/xarray.h:1198 [inline]
xas_next_entry+0x197/0x3d0 include/linux/xarray.h:1689
next_map_page mm/filemap.c:3425 [inline]
filemap_map_pages+0xeaf/0x12c0 mm/filemap.c:3497
do_fault_around mm/memory.c:4598 [inline]
do_read_fault mm/memory.c:4624 [inline]
do_fault mm/memory.c:4758 [inline]
handle_pte_fault mm/memory.c:5029 [inline]
__handle_mm_fault mm/memory.c:5171 [inline]
handle_mm_fault+0x33e0/0x5340 mm/memory.c:5292
faultin_page mm/gup.c:1009 [inline]
__get_user_pages+0x4f3/0x1190 mm/gup.c:1233
populate_vma_page_range+0x217/0x2b0 mm/gup.c:1590
__mm_populate+0x275/0x440 mm/gup.c:1704
mm_populate include/linux/mm.h:2801 [inline]
vm_mmap_pgoff+0x22b/0x2d0 mm/util.c:525
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fba2598d169
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fba26780038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007fba25ba5fa0 RCX: 00007fba2598d169
RDX: 0000000000000002 RSI: 0000000000b36000 RDI: 0000400000000000
RBP: 00007fba25a0e2a0 R08: ffffffffffffffff R09: 0000000000000000
R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fba25ba5fa0 R15: 00007ffdcdeddd58
----------------
Code disassembly (best guess):
0: ff 00 incl (%rax)
2: 74 11 je 0x15
4: 81 fa 00 01 00 00 cmp $0x100,%edx
a: 75 35 jne 0x41
c: 83 b9 1c 16 00 00 00 cmpl $0x0,0x161c(%rcx)
13: 74 2c je 0x41
15: 8b 91 f8 15 00 00 mov 0x15f8(%rcx),%edx
1b: 83 fa 02 cmp $0x2,%edx
1e: 75 21 jne 0x41
20: 48 8b 91 00 16 00 00 mov 0x1600(%rcx),%rdx
27: 48 8b 32 mov (%rdx),%rsi
* 2a: 48 8d 7e 01 lea 0x1(%rsi),%rdi <-- trapping instruction
2e: 8b 89 fc 15 00 00 mov 0x15fc(%rcx),%ecx
34: 48 39 cf cmp %rcx,%rdi
37: 73 08 jae 0x41
39: 48 89 3a mov %rdi,(%rdx)
3c: 48 rex.W
3d: 89 .byte 0x89
3e: 44 rex.R
3f: f2 repnz