------------[ cut here ]------------ kernel BUG at net/ipv4/tcp_output.c:2817! invalid opcode: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 19742 Comm: syz-executor7 Not tainted 4.13.0-rc6+ #31 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801cf500400 task.stack: ffff8801cbc10000 RIP: 0010:__tcp_retransmit_skb+0x1d18/0x1fa0 net/ipv4/tcp_output.c:2817 RSP: 0018:ffff8801db207408 EFLAGS: 00010206 RAX: ffff8801cf500400 RBX: 0000000000000001 RCX: 000000000fc1cea7 RDX: 0000000000000100 RSI: ffff8801cf57b540 RDI: ffff8801cf57b56c RBP: ffff8801db2075c8 R08: ffff88021fff901c R09: ffff88021fff9008 R10: 0000000000000000 R11: ffff88021fff901d R12: ffff8801cf57b5c6 R13: 000000000fc1d237 R14: ffff8801cf57b540 R15: ffff8801cd656a80 FS: 00007f4918653700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020b6b004 CR3: 00000001c0d58000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tcp_retransmit_skb+0x2e/0x230 net/ipv4/tcp_output.c:2891 tcp_retransmit_timer+0xcee/0x2a10 net/ipv4/tcp_timer.c:476 tcp_write_timer_handler+0x335/0x810 net/ipv4/tcp_timer.c:561 tcp_write_timer+0x146/0x160 net/ipv4/tcp_timer.c:579 call_timer_fn+0x233/0x830 kernel/time/timer.c:1268 expire_timers kernel/time/timer.c:1307 [inline] __run_timers+0x7fd/0xb90 kernel/time/timer.c:1601 run_timer_softirq+0x21/0x80 kernel/time/timer.c:1614 __do_softirq+0x2f5/0xba3 kernel/softirq.c:284 invoke_softirq kernel/softirq.c:364 [inline] irq_exit+0x1cc/0x200 kernel/softirq.c:405 exiting_irq arch/x86/include/asm/apic.h:638 [inline] smp_apic_timer_interrupt+0x76/0xa0 arch/x86/kernel/apic/apic.c:1044 apic_timer_interrupt+0x93/0xa0 arch/x86/entry/entry_64.S:702 RIP: 0010:arch_local_irq_enable arch/x86/include/asm/paravirt.h:824 [inline] RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] RIP: 0010:_raw_spin_unlock_irq+0x56/0x70 kernel/locking/spinlock.c:199 RSP: 0018:ffff8801cbc17248 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff10 RAX: dffffc0000000000 RBX: ffff8801db225780 RCX: 0000000000000000 RDX: 1ffffffff0b59433 RSI: 0000000000000001 RDI: ffffffff85aca198 RBP: ffff8801cbc17250 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801cf274300 R13: 1ffff10039782e52 R14: ffff8801cf500400 R15: ffff8801cf500400 finish_lock_switch kernel/sched/sched.h:1334 [inline] finish_task_switch+0x1d3/0x740 kernel/sched/core.c:2638 context_switch kernel/sched/core.c:2774 [inline] __schedule+0x8f0/0x2070 kernel/sched/core.c:3332 schedule+0x108/0x440 kernel/sched/core.c:3391 freezable_schedule include/linux/freezer.h:171 [inline] futex_wait_queue_me+0x3ed/0x7e0 kernel/futex.c:2407 futex_wait+0x357/0xa00 kernel/futex.c:2522 do_futex+0x1059/0x20a0 kernel/futex.c:3394 SYSC_futex kernel/futex.c:3454 [inline] SyS_futex+0x260/0x390 kernel/futex.c:3422 entry_SYSCALL_64_fastpath+0x1f/0xbe RIP: 0033:0x451e59 RSP: 002b:00007f4918652cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: ffffffffffffffda RBX: 0000000000718028 RCX: 0000000000451e59 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000718028 RBP: 0000000000000086 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004b7c6d R13: 00000000ffffffff R14: 0000000020000000 R15: 0000000000001000 Code: ff e8 7d 33 95 fd e9 4b fb ff ff 48 8b bd a0 fe ff ff e8 cc 33 95 fd e9 fc f8 ff ff e8 c2 33 95 fd e9 53 f6 ff ff e8 68 44 61 fd <0f> 0b e8 b1 33 95 fd e9 9e e5 ff ff 4c 89 e7 e8 44 33 95 fd e9 RIP: __tcp_retransmit_skb+0x1d18/0x1fa0 net/ipv4/tcp_output.c:2817 RSP: ffff8801db207408 ---[ end trace c03844221632ac0e ]---