------------[ cut here ]------------ WARNING: CPU: 0 PID: 7964 at net/ipv4/route.c:1259 kfree_skb include/linux/skbuff.h:1237 [inline] WARNING: CPU: 0 PID: 7964 at net/ipv4/route.c:1259 ip_rt_bug+0x28/0x120 net/ipv4/route.c:1258 Modules linked in: CPU: 0 PID: 7964 Comm: syz-executor.3 Not tainted 6.5.0-rc1-syzkaller-00165-g0dd1805fe498 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 RIP: 0010:ip_rt_bug+0x28/0x120 net/ipv4/route.c:1259 Code: 00 00 f3 0f 1e fa 41 54 55 53 48 89 d3 48 83 ec 08 e8 6c 2d e1 f8 66 90 e8 65 2d e1 f8 be 02 00 00 00 48 89 df e8 98 61 7c ff <0f> 0b 48 83 c4 08 31 c0 5b 5d 41 5c c3 e8 46 2d e1 f8 48 8d 7b 10 RSP: 0018:ffffc900000077c8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88803b3f2140 RCX: 0000000000000100 RDX: ffff88807a3c0000 RSI: ffffffff88a54148 RDI: ffffffff8ac804c0 RBP: ffff88803b3f2140 R08: 0000000000000001 R09: fffffbfff23093e2 R10: ffffffff91849f17 R11: ffffffff8a359678 R12: ffff88807dac0000 R13: ffff888017eb0d00 R14: 0000000000000000 R15: ffff88803b3f2198 FS: 00007efd877356c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f700e375198 CR3: 00000000a67f5000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dst_output include/net/dst.h:458 [inline] ip_local_out net/ipv4/ip_output.c:127 [inline] ip_send_skb net/ipv4/ip_output.c:1477 [inline] ip_push_pending_frames+0x120/0x2a0 net/ipv4/ip_output.c:1497 icmp_push_reply+0x30f/0x450 net/ipv4/icmp.c:389 __icmp_send+0xccc/0x17e0 net/ipv4/icmp.c:770 ipv4_send_dest_unreach net/ipv4/route.c:1239 [inline] ipv4_link_failure+0x5ba/0x9f0 net/ipv4/route.c:1246 dst_link_failure include/net/dst.h:437 [inline] arp_error_report+0xcf/0x1c0 net/ipv4/arp.c:296 neigh_invalidate+0x21c/0x560 net/core/neighbour.c:1048 neigh_timer_handler+0xbd0/0xf50 net/core/neighbour.c:1135 call_timer_fn+0x1a0/0x580 kernel/time/timer.c:1700 expire_timers kernel/time/timer.c:1751 [inline] __run_timers+0x764/0xb10 kernel/time/timer.c:2022 run_timer_softirq+0x58/0xd0 kernel/time/timer.c:2035 __do_softirq+0x218/0x965 kernel/softirq.c:553 invoke_softirq kernel/softirq.c:427 [inline] __irq_exit_rcu kernel/softirq.c:632 [inline] irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1109 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:lock_acquire+0x1ef/0x510 kernel/locking/lockdep.c:5729 Code: c1 05 d5 01 9b 7e 83 f8 01 0f 85 b0 02 00 00 9c 58 f6 c4 02 0f 85 9b 02 00 00 48 85 ed 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc9000574fa88 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff92000ae9f53 RCX: 0000000000000001 RDX: 1ffff1100f478158 RSI: ffffffff8a6c7a20 RDI: ffffffff8ac804c0 RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff23093d0 R10: ffffffff91849e87 R11: 1ffffffff1936249 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8c9a6440 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:303 [inline] rcu_read_lock include/linux/rcupdate.h:749 [inline] inet_twsk_purge+0x139/0x920 net/ipv4/inet_timewait_sock.c:292 ops_exit_list+0x125/0x170 net/core/net_namespace.c:175 setup_net+0x64d/0xa40 net/core/net_namespace.c:362 copy_net_ns+0x2fa/0x670 net/core/net_namespace.c:491 create_new_namespaces+0x3ea/0xb10 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0xc1/0x1f0 kernel/nsproxy.c:228 ksys_unshare+0x3da/0x930 kernel/fork.c:3438 __do_sys_unshare kernel/fork.c:3509 [inline] __se_sys_unshare kernel/fork.c:3507 [inline] __x64_sys_unshare+0x31/0x40 kernel/fork.c:3507 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7efd86a7cb29 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007efd877350c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007efd86b9c120 RCX: 00007efd86a7cb29 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000 RBP: 00007efd86ac847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007efd86b9c120 R15: 00007ffd5f0be248 ---------------- Code disassembly (best guess): 0: c1 05 d5 01 9b 7e 83 roll $0x83,0x7e9b01d5(%rip) # 0x7e9b01dc 7: f8 clc 8: 01 0f add %ecx,(%rdi) a: 85 b0 02 00 00 9c test %esi,-0x63fffffe(%rax) 10: 58 pop %rax 11: f6 c4 02 test $0x2,%ah 14: 0f 85 9b 02 00 00 jne 0x2b5 1a: 48 85 ed test %rbp,%rbp 1d: 74 01 je 0x20 1f: fb sti 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 48 01 c3 add %rax,%rbx <-- trapping instruction 2d: 48 c7 03 00 00 00 00 movq $0x0,(%rbx) 34: 48 c7 43 08 00 00 00 movq $0x0,0x8(%rbx) 3b: 00 3c: 48 rex.W 3d: 8b .byte 0x8b 3e: 84 .byte 0x84 3f: 24 .byte 0x24