------------[ cut here ]------------ WARNING: CPU: 0 PID: 13286 at net/ipv4/route.c:1241 ip_rt_bug+0x2a/0x110 net/ipv4/route.c:1241 Modules linked in: CPU: 0 PID: 13286 Comm: syz.0.2381 Not tainted 6.10.0-rc7-syzkaller-00256-gd0d0cd380055 #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 1b 43 bc f7 66 90 e8 14 43 bc f7 48 89 df be 02 00 00 00 e8 37 c2 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: 0000:ffffc90000007680 EFLAGS: 00010286 RAX: 7044feeab6c8cf00 RBX: ffff88807ae3ab40 RCX: ffffffff8172d9da RDX: dffffc0000000000 RSI: ffffffff8bcabb40 RDI: ffffffff8c1f5540 RBP: 0000000000000001 R08: ffffffff92f76617 R09: 1ffffffff25eecc2 R10: dffffc0000000000 R11: fffffbfff25eecc3 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffff88801e1c1cc0 R15: ffff888017308d00 FS: 00007fba10e0f6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f57a02ce2d8 CR3: 0000000023cd4000 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:finish_task_switch+0x1ea/0x870 kernel/sched/core.c:5282 Code: c9 50 e8 99 c9 0b 00 48 83 c4 08 4c 89 f7 e8 cd 38 00 00 e9 de 04 00 00 4c 89 f7 e8 20 e6 21 0a e8 cb ed 36 00 fb 48 8b 5d c0 <48> 8d bb f8 15 00 00 48 89 f8 48 c1 e8 03 49 be 00 00 00 00 00 fc RSP: 0000:ffffc900097b7588 EFLAGS: 00000282 RAX: 7044feeab6c8cf00 RBX: ffff88802a5c0000 RCX: ffffffff9476e603 RDX: dffffc0000000000 RSI: ffffffff8bcabb40 RDI: ffffffff8c1f5540 RBP: ffffc900097b75d0 R08: ffffffff8fac692f R09: 1ffffffff1f58d25 R10: dffffc0000000000 R11: fffffbfff1f58d26 R12: 1ffff11017287e97 R13: dffffc0000000000 R14: ffff8880b943e740 R15: ffff8880b943f4b8 context_switch kernel/sched/core.c:5411 [inline] __schedule+0x179e/0x49d0 kernel/sched/core.c:6745 preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:7067 irqentry_exit+0x5e/0x90 kernel/entry/common.c:354 asm_sysvec_call_function_single+0x1a/0x20 arch/x86/include/asm/idtentry.h:709 RIP: 0010:rep_movs_alternative+0x4a/0x70 arch/x86/lib/copy_user_64.S:71 Code: 75 f1 c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 48 8b 06 48 89 07 48 83 c6 08 48 83 c7 08 83 e9 08 74 df 83 f9 08 73 e8 eb c9 a4 c3 cc cc cc cc 48 89 c8 48 c1 e9 03 83 e0 07 f3 48 a5 89 c1 RSP: 0018:ffffc900097b7958 EFLAGS: 00050206 RAX: ffff88804b8a2001 RBX: 000000002009ae80 RCX: 00000000000009e0 RDX: 0000000000000000 RSI: ffff88804b8a2620 RDI: 000000002009a4a0 RBP: ffffc900097b7ad8 R08: ffff88804b8a2fff R09: 1ffff110097145ff R10: dffffc0000000000 R11: ffffed1009714600 R12: dffffc0000000000 R13: 1ffff920012f6f40 R14: 0000000000001000 R15: ffff88804b8a2000 copy_user_generic arch/x86/include/asm/uaccess_64.h:110 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:131 [inline] copy_to_user_iter lib/iov_iter.c:25 [inline] iterate_iovec include/linux/iov_iter.h:51 [inline] iterate_and_advance2 include/linux/iov_iter.h:247 [inline] iterate_and_advance include/linux/iov_iter.h:271 [inline] _copy_to_iter+0x4c0/0x1960 lib/iov_iter.c:185 copy_page_to_iter+0xb1/0x160 lib/iov_iter.c:362 process_vm_rw_pages mm/process_vm_access.c:45 [inline] process_vm_rw_single_vec mm/process_vm_access.c:118 [inline] process_vm_rw_core mm/process_vm_access.c:216 [inline] process_vm_rw+0x871/0xcf0 mm/process_vm_access.c:284 __do_sys_process_vm_readv mm/process_vm_access.c:296 [inline] __se_sys_process_vm_readv mm/process_vm_access.c:292 [inline] __x64_sys_process_vm_readv+0xe0/0x100 mm/process_vm_access.c:292 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:0x7fba0ff75bd9 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:00007fba10e0f048 EFLAGS: 00000246 ORIG_RAX: 0000000000000136 RAX: ffffffffffffffda RBX: 00007fba10104038 RCX: 00007fba0ff75bd9 RDX: 0000000000000002 RSI: 0000000020008400 RDI: 000000000000035e RBP: 00007fba0ffe4e60 R08: 0000000000000286 R09: 0000000000000000 R10: 0000000020008640 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fba10104038 R15: 00007ffcaa541c98 ---------------- Code disassembly (best guess): 0: c9 leave 1: 50 push %rax 2: e8 99 c9 0b 00 call 0xbc9a0 7: 48 83 c4 08 add $0x8,%rsp b: 4c 89 f7 mov %r14,%rdi e: e8 cd 38 00 00 call 0x38e0 13: e9 de 04 00 00 jmp 0x4f6 18: 4c 89 f7 mov %r14,%rdi 1b: e8 20 e6 21 0a call 0xa21e640 20: e8 cb ed 36 00 call 0x36edf0 25: fb sti 26: 48 8b 5d c0 mov -0x40(%rbp),%rbx * 2a: 48 8d bb f8 15 00 00 lea 0x15f8(%rbx),%rdi <-- trapping instruction 31: 48 89 f8 mov %rdi,%rax 34: 48 c1 e8 03 shr $0x3,%rax 38: 49 rex.WB 39: be 00 00 00 00 mov $0x0,%esi 3e: 00 fc add %bh,%ah