------------[ cut here ]------------ kernel BUG at net/ipv4/tcp_output.c:2864! invalid opcode: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 37 Comm: kworker/u4:2 Not tainted 4.16.0+ #285 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:__tcp_retransmit_skb+0x28e6/0x2cb0 net/ipv4/tcp_output.c:2864 RSP: 0018:ffff8801db106ff8 EFLAGS: 00010206 RAX: ffff8801d9596200 RBX: 0000000000000001 RCX: ffffffff85d98af6 RDX: 0000000000000100 RSI: ffff88018ef92cb8 RDI: ffff8801addb92ec RBP: ffff8801db1073a8 R08: ffff88021fff805c R09: 0000000000000000 R10: 000000001122e369 R11: ffff88021fff805d R12: ffff8801addb934e R13: 0000000014846f85 R14: ffff8801addb92c0 R15: ffff88018ef92a80 FS: 0000000000000000(0000) GS:ffff8801db100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000002161410 CR3: 000000000846a006 CR4: 00000000001606e0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: tcp_retransmit_skb+0x2e/0x230 net/ipv4/tcp_output.c:2950 tcp_retransmit_timer+0xefc/0x2dd0 net/ipv4/tcp_timer.c:488 tcp_write_timer_handler+0x335/0x820 net/ipv4/tcp_timer.c:573 tcp_write_timer+0x153/0x170 net/ipv4/tcp_timer.c:593 call_timer_fn+0x228/0x820 kernel/time/timer.c:1326 expire_timers kernel/time/timer.c:1363 [inline] __run_timers+0x7ee/0xb70 kernel/time/timer.c:1666 run_timer_softirq+0x4c/0x70 kernel/time/timer.c:1692 __do_softirq+0x2d7/0xb85 kernel/softirq.c:285 invoke_softirq kernel/softirq.c:365 [inline] irq_exit+0x1cc/0x200 kernel/softirq.c:405 exiting_irq arch/x86/include/asm/apic.h:541 [inline] smp_apic_timer_interrupt+0x16b/0x700 arch/x86/kernel/apic/apic.c:1052 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:857 RIP: 0010:lock_acquire+0x26d/0x580 kernel/locking/lockdep.c:3909 RSP: 0018:ffff8801d95aefb0 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff12 RAX: dffffc0000000000 RBX: ffff8801d9596200 RCX: 0000000000000000 RDX: 1ffffffff10a24ed RSI: 0000000018957119 RDI: 0000000000000282 RBP: ffff8801d95af0a8 R08: 1ffff1003b2b5d59 R09: 0000000000000002 R10: ffff8801d95aef90 R11: 0000000000000000 R12: 1ffff1003b2b5dfc R13: 0000000000000000 R14: 0000000000000002 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:244 [inline] rcu_read_lock include/linux/rcupdate.h:630 [inline] inet_twsk_purge+0x39f/0x770 net/ipv4/inet_timewait_sock.c:266 dccp_v6_exit_batch+0x1a/0x20 net/dccp/ipv6.c:1112 ops_exit_list.isra.6+0x100/0x150 net/core/net_namespace.c:145 cleanup_net+0x6a1/0xcb0 net/core/net_namespace.c:517 process_one_work+0xc47/0x1bb0 kernel/workqueue.c:2113 worker_thread+0x223/0x1990 kernel/workqueue.c:2247 kthread+0x33c/0x400 kernel/kthread.c:238 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:406 Code: ff e8 1f 8b ce fb e9 3b f2 ff ff e8 35 8b ce fb e9 ab fc ff ff 48 8b bd c8 fc ff ff e8 c4 8a ce fb e9 06 e8 ff ff e8 4a da 97 fb <0f> 0b e8 f3 8a ce fb e9 cd fa ff ff 48 89 8d 78 fc ff ff e8 e2 RIP: __tcp_retransmit_skb+0x28e6/0x2cb0 net/ipv4/tcp_output.c:2864 RSP: ffff8801db106ff8 ---[ end trace a317da38ca0516b4 ]---