------------[ 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: 116 Comm: kworker/u4:3 Not tainted 4.16.0-rc6+ #359 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:ffff8801db306ff8 EFLAGS: 00010206 RAX: ffff8801d907c700 RBX: 0000000000000001 RCX: ffffffff84cadc16 RDX: 0000000000000100 RSI: ffff8801d7206238 RDI: ffff8801b403b2ac RBP: ffff8801db3073a8 R08: ffff88021fff805c R09: 0000000000000000 R10: 000000008c22b7e5 R11: ffff88021fff805d R12: ffff8801b403b30e R13: 00000000447d9671 R14: ffff8801b403b280 R15: ffff8801d7206000 FS: 0000000000000000(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000006fa318 CR3: 0000000006e22001 CR4: 00000000001626e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tcp_retransmit_skb+0x2e/0x230 net/ipv4/tcp_output.c:2950 tcp_retransmit_timer+0xefc/0x2dd0 net/ipv4/tcp_timer.c:487 tcp_write_timer_handler+0x335/0x820 net/ipv4/tcp_timer.c:572 tcp_write_timer+0x153/0x170 net/ipv4/tcp_timer.c:592 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:arch_local_irq_restore arch/x86/include/asm/paravirt.h:778 [inline] RIP: 0010:lock_is_held_type+0x18b/0x210 kernel/locking/lockdep.c:3960 RSP: 0018:ffff8801d908f000 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff12 RAX: dffffc0000000000 RBX: 0000000000000282 RCX: ffffffff84c3fb0b RDX: 1ffffffff0dd939d RSI: ffffffff86f42ec0 RDI: 0000000000000282 RBP: ffff8801d908f020 R08: 0000000000000000 R09: 1ffff1003b211df9 R10: ffff8801d908ef90 R11: 0000000000000003 R12: ffff8801d907c700 R13: 0000000000000000 R14: 0000000000000109 R15: dffffc0000000000 lock_is_held include/linux/lockdep.h:344 [inline] rcu_preempt_sleep_check include/linux/rcupdate.h:301 [inline] ___might_sleep+0x35e/0x470 kernel/sched/core.c:6098 inet_twsk_purge+0x36e/0x770 net/ipv4/inet_timewait_sock.c:265 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 3f 7d de fc e9 3b f2 ff ff e8 55 7d de fc e9 ab fc ff ff 48 8b bd c8 fc ff ff e8 e4 7c de fc e9 06 e8 ff ff e8 0a 3c a6 fc <0f> 0b e8 13 7d de fc e9 cd fa ff ff 48 89 8d 78 fc ff ff e8 02 RIP: __tcp_retransmit_skb+0x28e6/0x2cb0 net/ipv4/tcp_output.c:2864 RSP: ffff8801db306ff8 ---[ end trace 1953ca7ab0a7f5f2 ]---