------------[ cut here ]------------ WARNING: CPU: 1 PID: 1022 at net/ipv4/route.c:1246 kfree_skb include/linux/skbuff.h:1114 [inline] WARNING: CPU: 1 PID: 1022 at net/ipv4/route.c:1246 ip_rt_bug+0x1d/0xf0 net/ipv4/route.c:1245 Modules linked in: CPU: 1 PID: 1022 Comm: kworker/u4:5 Not tainted 5.17.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:ip_rt_bug+0x1d/0xf0 net/ipv4/route.c:1246 Code: 69 fe 9d fb e9 d1 fa ff ff 0f 1f 40 00 41 57 41 56 41 55 41 54 53 48 89 d3 e8 5f c2 dc f8 66 90 48 89 df 31 f6 e8 f3 b0 72 ff <0f> 0b 31 c0 5b 41 5c 41 5d 41 5e 41 5f c3 49 bd 00 00 00 00 00 fc RSP: 0018:ffffc90000dc05b8 EFLAGS: 00010292 RAX: 500d245ca1fd1600 RBX: ffff8880736f0500 RCX: ffffffff81676851 RDX: dffffc0000000000 RSI: 0000000000000301 RDI: 0000000000000000 RBP: dffffc0000000000 R08: dffffc0000000000 R09: fffffbfff1ffe5d7 R10: fffffbfff1ffe5d7 R11: 0000000000000000 R12: ffff8880736f0500 R13: ffff8880736f0558 R14: ffff88807ec79a80 R15: ffff888140fee800 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9d2a7011e5 CR3: 000000001b96f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: dst_output include/net/dst.h:451 [inline] ip_local_out net/ipv4/ip_output.c:126 [inline] ip_send_skb+0x113/0x1a0 net/ipv4/ip_output.c:1570 __icmp_send+0x16d3/0x2810 net/ipv4/icmp.c:769 ipv4_send_dest_unreach net/ipv4/route.c:1226 [inline] ipv4_link_failure+0x4db/0x8c0 net/ipv4/route.c:1233 dst_link_failure include/net/dst.h:430 [inline] arp_error_report+0x10f/0x150 net/ipv4/arp.c:295 neigh_invalidate+0x246/0x470 net/core/neighbour.c:1024 neigh_timer_handler+0x8a1/0xe00 net/core/neighbour.c:1111 call_timer_fn+0xf6/0x210 kernel/time/timer.c:1421 expire_timers kernel/time/timer.c:1466 [inline] __run_timers+0x71a/0x910 kernel/time/timer.c:1734 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1747 __do_softirq+0x392/0x7a3 kernel/softirq.c:558 __irq_exit_rcu+0xec/0x170 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:lock_acquire+0x21f/0x4d0 kernel/locking/lockdep.c:5643 Code: 08 4c 89 f7 e8 d2 55 6a 00 f6 84 24 81 00 00 00 02 0f 85 13 02 00 00 41 f7 c4 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 04 2f 00 00 00 00 43 c7 44 2f 09 00 00 00 00 43 c7 44 2f 11 RSP: 0018:ffffc9000461f8e0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920008c3f2c RCX: ffff88801cdfe158 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000461fa40 R08: dffffc0000000000 R09: fffffbfff1ffe5c5 R10: fffffbfff1ffe5c5 R11: 0000000000000000 R12: 0000000000000246 R13: 1ffff920008c3f24 R14: ffffc9000461f960 R15: dffffc0000000000 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:268 rcu_read_lock include/linux/rcupdate.h:694 [inline] inet_twsk_purge+0x11b/0x890 net/ipv4/inet_timewait_sock.c:268 ops_exit_list net/core/net_namespace.c:173 [inline] cleanup_net+0x80c/0xc70 net/core/net_namespace.c:597 process_one_work+0x850/0x1130 kernel/workqueue.c:2307 worker_thread+0xab1/0x1300 kernel/workqueue.c:2454 kthread+0x2a3/0x2d0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess): 0: 08 4c 89 f7 or %cl,-0x9(%rcx,%rcx,4) 4: e8 d2 55 6a 00 callq 0x6a55db 9: f6 84 24 81 00 00 00 testb $0x2,0x81(%rsp) 10: 02 11: 0f 85 13 02 00 00 jne 0x22a 17: 41 f7 c4 00 02 00 00 test $0x200,%r12d 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 04 2f 00 00 00 movq $0x0,(%r15,%r13,1) <-- trapping instruction 31: 00 32: 43 c7 44 2f 09 00 00 movl $0x0,0x9(%r15,%r13,1) 39: 00 00 3b: 43 rex.XB 3c: c7 .byte 0xc7 3d: 44 2f rex.R (bad) 3f: 11 .byte 0x11