------------[ cut here ]------------
WARNING: CPU: 0 PID: 20206 at net/ipv4/route.c:1254 ip_rt_bug+0x2c/0x110 net/ipv4/route.c:1254
Modules linked in:
CPU: 0 UID: 0 PID: 20206 Comm: syz.5.3576 Not tainted 6.12.0-rc7-syzkaller-01681-g38f83a57aa8e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
RIP: 0010:ip_rt_bug+0x2c/0x110 net/ipv4/route.c:1254
Code: 1e fa 41 57 41 56 41 55 41 54 53 48 89 d3 e8 6b 61 72 f7 66 90 e8 64 61 72 f7 31 ff 48 89 de ba 02 00 00 00 e8 b5 44 6a 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: f92c9cc7ffa95300 RBX: ffff88806b7deb40 RCX: ffffffff8170cfaa
RDX: dffffc0000000000 RSI: ffffffff8c0acac0 RDI: ffffffff8c610de0
RBP: 0000000000000001 R08: ffffffff942e289f R09: ffffffff8a2288bb
R10: dffffc0000000000 R11: fffffbfff285c514 R12: dffffc0000000000
R13: ffffc900000078f8 R14: ffff888066c2dac0 R15: ffff888145ec1b00
FS: 00007f0c043e96c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555582c94808 CR3: 0000000056ebe000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
ip_local_out net/ipv4/ip_output.c:130 [inline]
ip_send_skb net/ipv4/ip_output.c:1505 [inline]
ip_push_pending_frames+0xbf/0x150 net/ipv4/ip_output.c:1525
__icmp_send+0x1013/0x15c0 net/ipv4/icmp.c:779
ipv4_send_dest_unreach net/ipv4/route.c:1234 [inline]
ipv4_link_failure+0x62f/0xa10 net/ipv4/route.c:1241
dst_link_failure include/net/dst.h:429 [inline]
arp_error_report+0x114/0x160 net/ipv4/arp.c:296
neigh_invalidate+0x247/0x470 net/core/neighbour.c:1010
neigh_timer_handler+0x8a5/0xfe0 net/core/neighbour.c:1097
call_timer_fn+0x18e/0x650 kernel/time/timer.c:1794
expire_timers kernel/time/timer.c:1845 [inline]
__run_timers kernel/time/timer.c:2419 [inline]
__run_timer_base+0x66a/0x8e0 kernel/time/timer.c:2430
run_timer_base kernel/time/timer.c:2439 [inline]
run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2449
handle_softirqs+0x2c5/0x980 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:1049 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:lock_acquire+0x264/0x550 kernel/locking/lockdep.c:5829
Code: 2b 00 74 08 4c 89 f7 e8 2a 6b 8e 00 f6 44 24 61 02 0f 85 85 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25
RSP: 0018:ffffc90003cb7260 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff92000796e58 RCX: f92c9cc7ffa95300
RDX: dffffc0000000000 RSI: ffffffff8c0adc40 RDI: ffffffff8c610de0
RBP: ffffc90003cb73b0 R08: ffffffff942e2807 R09: 1ffffffff285c500
R10: dffffc0000000000 R11: fffffbfff285c501 R12: 1ffff92000796e54
R13: dffffc0000000000 R14: ffffc90003cb72c0 R15: 0000000000000246
rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
rcu_read_lock include/linux/rcupdate.h:849 [inline]
is_bpf_text_address+0x46/0x2a0 kernel/bpf/core.c:767
kernel_text_address+0xa7/0xe0 kernel/extable.c:125
__kernel_text_address+0xd/0x40 kernel/extable.c:79
unwind_get_return_address+0x4d/0x90 arch/x86/kernel/unwind_orc.c:369
arch_stack_walk+0xfd/0x150 arch/x86/kernel/stacktrace.c:26
stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122
kasan_save_stack+0x3f/0x60 mm/kasan/common.c:47
__kasan_record_aux_stack+0xac/0xc0 mm/kasan/generic.c:541
__call_rcu_common kernel/rcu/tree.c:3086 [inline]
call_rcu+0x167/0xa70 kernel/rcu/tree.c:3190
kernfs_put+0x1dc/0x370 fs/kernfs/dir.c:578
kernfs_remove_by_name_ns+0xe4/0x160 fs/kernfs/dir.c:1695
kernfs_remove_by_name include/linux/kernfs.h:625 [inline]
remove_files fs/sysfs/group.c:28 [inline]
sysfs_remove_group+0xfe/0x2c0 fs/sysfs/group.c:319
sysfs_remove_groups+0x54/0xb0 fs/sysfs/group.c:343
destroy_gid_attrs drivers/infiniband/core/sysfs.c:1193 [inline]
ib_free_port_attrs+0xb3/0x3e0 drivers/infiniband/core/sysfs.c:1418
remove_one_compat_dev drivers/infiniband/core/device.c:1008 [inline]
rdma_dev_exit_net+0x1f3/0x350 drivers/infiniband/core/device.c:1146
ops_exit_list net/core/net_namespace.c:172 [inline]
setup_net+0x794/0x9e0 net/core/net_namespace.c:394
copy_net_ns+0x33f/0x570 net/core/net_namespace.c:500
create_new_namespaces+0x425/0x7b0 kernel/nsproxy.c:110
unshare_nsproxy_namespaces+0x124/0x180 kernel/nsproxy.c:228
ksys_unshare+0x57d/0xa70 kernel/fork.c:3313
__do_sys_unshare kernel/fork.c:3384 [inline]
__se_sys_unshare kernel/fork.c:3382 [inline]
__x64_sys_unshare+0x38/0x40 kernel/fork.c:3382
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:0x7f0c0357e719
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:00007f0c043e9038 EFLAGS: 00000246 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007f0c03735f80 RCX: 00007f0c0357e719
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000048000000
RBP: 00007f0c035f175e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f0c03735f80 R15: 00007ffe1f753ab8
----------------
Code disassembly (best guess):
0: 2b 00 sub (%rax),%eax
2: 74 08 je 0xc
4: 4c 89 f7 mov %r14,%rdi
7: e8 2a 6b 8e 00 call 0x8e6b36
c: f6 44 24 61 02 testb $0x2,0x61(%rsp)
11: 0f 85 85 01 00 00 jne 0x19c
17: 41 f7 c7 00 02 00 00 test $0x200,%r15d
1e: 74 01 je 0x21
20: fb sti
21: 48 c7 44 24 40 0e 36 movq $0x45e0360e,0x40(%rsp)
28: e0 45
* 2a: 4b c7 44 25 00 00 00 movq $0x0,0x0(%r13,%r12,1) <-- trapping instruction
31: 00 00
33: 43 c7 44 25 09 00 00 movl $0x0,0x9(%r13,%r12,1)
3a: 00 00
3c: 43 rex.XB
3d: c7 .byte 0xc7
3e: 44 rex.R
3f: 25 .byte 0x25