------------[ cut here ]------------
WARNING: CPU: 0 PID: 5166 at net/ipv4/route.c:1247 ip_rt_bug+0x2a/0x110 net/ipv4/route.c:1247
Modules linked in:
CPU: 0 PID: 5166 Comm: kworker/0:6 Not tainted 6.9.0-rc4-next-20240418-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: events iterate_cleanup_work
RIP: 0010:ip_rt_bug+0x2a/0x110 net/ipv4/route.c:1247
Code: f3 0f 1e fa 41 57 41 56 41 55 41 54 53 48 89 d3 e8 fb b0 b3 f7 66 90 e8 f4 b0 b3 f7 48 89 df be 02 00 00 00 e8 57 d0 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: e3132afffe96ac00 RBX: ffff8880615a8c80 RCX: ffffffff817324ba
RDX: dffffc0000000000 RSI: ffffffff8bcab360 RDI: ffffffff8c1f8bc0
RBP: 0000000000000001 R08: ffffffff92f7b637 R09: 1ffffffff25ef6c6
R10: dffffc0000000000 R11: fffffbfff25ef6c7 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff888064cf5640 R15: ffff888016338d00
FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3407b86c98 CR3: 000000007d772000 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+0xfb0/0x1500 net/ipv4/icmp.c:770
ipv4_send_dest_unreach net/ipv4/route.c:1227 [inline]
ipv4_link_failure+0x62f/0xa10 net/ipv4/route.c:1234
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:1059
neigh_timer_handler+0x8a5/0xfd0 net/core/neighbour.c:1146
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
__do_softirq+0x2c6/0x980 kernel/softirq.c:554
invoke_softirq kernel/softirq.c:428 [inline]
__irq_exit_rcu+0xf2/0x1c0 kernel/softirq.c:633
irq_exit_rcu+0x9/0x30 kernel/softirq.c:645
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:nf_ct_iterate_cleanup+0x94/0x4f0 net/netfilter/nf_conntrack_core.c:2406
Code: 24 10 48 89 44 24 20 49 8d 44 24 14 48 89 44 24 18 89 e8 89 eb 25 ff 03 00 00 48 c1 e0 06 48 8d 80 00 4d 06 8e 48 89 44 24 10 <48> 89 1c 24 48 8d 2c dd 00 00 00 00 48 03 2d 21 9f 0b 06 49 89 ed
RSP: 0018:ffffc90004347a98 EFLAGS: 00000202
RAX: ffffffff8e066780 RBX: 000000000001286a RCX: ffff88801bb0bc00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 000000000001286a R08: ffffffff89a0e250 R09: 1ffffffff25ef6c4
R10: dffffc0000000000 R11: fffffbfff25ef6c5 R12: ffffc90004347b20
R13: 1ffff11005412869 R14: dffffc0000000000 R15: ffffc90004347b28
iterate_cleanup_work+0x146/0x260 net/netfilter/nf_nat_masquerade.c:87
process_one_work kernel/workqueue.c:3218 [inline]
process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3299
worker_thread+0x86d/0xd70 kernel/workqueue.c:3380
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
----------------
Code disassembly (best guess):
0: 24 10 and $0x10,%al
2: 48 89 44 24 20 mov %rax,0x20(%rsp)
7: 49 8d 44 24 14 lea 0x14(%r12),%rax
c: 48 89 44 24 18 mov %rax,0x18(%rsp)
11: 89 e8 mov %ebp,%eax
13: 89 eb mov %ebp,%ebx
15: 25 ff 03 00 00 and $0x3ff,%eax
1a: 48 c1 e0 06 shl $0x6,%rax
1e: 48 8d 80 00 4d 06 8e lea -0x71f9b300(%rax),%rax
25: 48 89 44 24 10 mov %rax,0x10(%rsp)
* 2a: 48 89 1c 24 mov %rbx,(%rsp) <-- trapping instruction
2e: 48 8d 2c dd 00 00 00 lea 0x0(,%rbx,8),%rbp
35: 00
36: 48 03 2d 21 9f 0b 06 add 0x60b9f21(%rip),%rbp # 0x60b9f5e
3d: 49 89 ed mov %rbp,%r13