------------[ cut here ]------------
WARNING: CPU: 0 PID: 7043 at net/ipv4/route.c:1241 ip_rt_bug+0x2a/0x110 net/ipv4/route.c:1241
Modules linked in:
CPU: 0 PID: 7043 Comm: syz.4.562 Not tainted 6.10.0-rc5-syzkaller-00170-g134061163ee5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:ip_rt_bug+0x2a/0x110 net/ipv4/route.c:1241
Code: f3 0f 1e fa 41 57 41 56 41 55 41 54 53 48 89 d3 e8 5b f3 b3 f7 66 90 e8 54 f3 b3 f7 48 89 df be 02 00 00 00 e8 57 b4 6d 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:ffffc90000007680 EFLAGS: 00010286
RAX: 8c2a6cdebbc3ab00 RBX: ffff88802a4ce280 RCX: ffffffff8172d9ea
RDX: dffffc0000000000 RSI: ffffffff8bcabb40 RDI: ffffffff8c1feb40
RBP: 0000000000000001 R08: ffffffff92fa8617 R09: 1ffffffff25f50c2
R10: dffffc0000000000 R11: fffffbfff25f50c3 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff888041de8000 R15: ffff8880173b8d00
FS: 00007f6df35696c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020010000 CR3: 00000000114b6000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ip_local_out net/ipv4/ip_output.c:129 [inline]
ip_send_skb net/ipv4/ip_output.c:1492 [inline]
ip_push_pending_frames+0xbf/0x150 net/ipv4/ip_output.c:1512
__icmp_send+0xf89/0x14e0 net/ipv4/icmp.c:777
ipv4_send_dest_unreach net/ipv4/route.c:1221 [inline]
ipv4_link_failure+0x62f/0xa10 net/ipv4/route.c:1228
dst_link_failure include/net/dst.h:429 [inline]
arp_error_report+0x114/0x160 net/ipv4/arp.c:296
neigh_invalidate+0x244/0x470 net/core/neighbour.c:1061
neigh_timer_handler+0x8a5/0xfd0 net/core/neighbour.c:1148
call_timer_fn+0x18e/0x650 kernel/time/timer.c:1792
expire_timers kernel/time/timer.c:1843 [inline]
__run_timers kernel/time/timer.c:2417 [inline]
__run_timer_base+0x66a/0x8e0 kernel/time/timer.c:2428
run_timer_base kernel/time/timer.c:2437 [inline]
run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2447
handle_softirqs+0x2c4/0x970 kernel/softirq.c:554
__do_softirq kernel/softirq.c:588 [inline]
invoke_softirq kernel/softirq.c:428 [inline]
__irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637
irq_exit_rcu+0x9/0x30 kernel/softirq.c:649
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1043
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:lock_release+0x630/0x9f0 kernel/locking/lockdep.c:5778
Code: 3c 3b 00 74 08 4c 89 f7 e8 5d 49 89 00 f6 84 24 91 00 00 00 02 75 77 41 f7 c5 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 04 27 00 00 00 00 4b c7 44 27 08 00 00 00 00 65 48 8b 04 25
RSP: 0018:ffffc90004a8fa80 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff92000951f62 RCX: ffffc90004a8fb03
RDX: 0000000000000000 RSI: ffffffff8bcaccc0 RDI: ffffffff8c1feb40
RBP: ffffc90004a8fba8 R08: ffffffff8fad506f R09: 1ffffffff1f5aa0d
R10: dffffc0000000000 R11: fffffbfff1f5aa0e R12: 1ffff92000951f5c
R13: 0000000000000246 R14: ffffc90004a8fb10 R15: dffffc0000000000
_copy_from_user+0x2a/0xe0 lib/usercopy.c:19
copy_from_user include/linux/uaccess.h:183 [inline]
generic_map_update_batch+0x567/0x900 kernel/bpf/syscall.c:1884
bpf_map_do_batch+0x3e0/0x690 kernel/bpf/syscall.c:5197
__sys_bpf+0x377/0x810
__do_sys_bpf kernel/bpf/syscall.c:5795 [inline]
__se_sys_bpf kernel/bpf/syscall.c:5793 [inline]
__x64_sys_bpf+0x7c/0x90 kernel/bpf/syscall.c:5793
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:0x7f6df2775b99
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:00007f6df3569048 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f6df2903fa0 RCX: 00007f6df2775b99
RDX: 0000000000000038 RSI: 0000000020000200 RDI: 000000000000001a
RBP: 00007f6df27f677e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f6df2903fa0 R15: 00007ffd1188f428
----------------
Code disassembly (best guess):
0: 3c 3b cmp $0x3b,%al
2: 00 74 08 4c add %dh,0x4c(%rax,%rcx,1)
6: 89 f7 mov %esi,%edi
8: e8 5d 49 89 00 call 0x89496a
d: f6 84 24 91 00 00 00 testb $0x2,0x91(%rsp)
14: 02
15: 75 77 jne 0x8e
17: 41 f7 c5 00 02 00 00 test $0x200,%r13d
1e: 74 01 je 0x21
20: fb sti
21: 48 c7 44 24 60 0e 36 movq $0x45e0360e,0x60(%rsp)
28: e0 45
* 2a: 4b c7 04 27 00 00 00 movq $0x0,(%r15,%r12,1) <-- trapping instruction
31: 00
32: 4b c7 44 27 08 00 00 movq $0x0,0x8(%r15,%r12,1)
39: 00 00
3b: 65 gs
3c: 48 rex.W
3d: 8b .byte 0x8b
3e: 04 25 add $0x25,%al