------------[ 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: 17091 Comm: syz-executor4 Not tainted 4.16.0-rc6+ #271 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__tcp_retransmit_skb+0x28e6/0x2cb0 net/ipv4/tcp_output.c:2864 RSP: 0018:ffff8801db306ff8 EFLAGS: 00010206 RAX: ffff8801c522e6c0 RBX: 0000000000000001 RCX: ffffffff84caec16 RDX: 0000000000000100 RSI: ffff8801cd172238 RDI: ffff8801ab1115ec RBP: ffff8801db3073a8 R08: ffff88021fff805c R09: 0000000000000000 R10: 00000000811172d9 R11: ffff88021fff805d R12: ffff8801ab11164e R13: 00000000ec6ade10 R14: ffff8801ab1115c0 R15: ffff8801cd172000 FS: 0000000000000000(0000) GS:ffff8801db300000(0063) knlGS:00000000f776ab40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000008135ee0 CR3: 00000001ce13c003 CR4: 00000000001606e0 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:__sanitizer_cov_trace_pc+0x44/0x50 kernel/kcov.c:107 RSP: 0018:ffff8801af4bf248 EFLAGS: 00000212 ORIG_RAX: ffffffffffffff12 RAX: 0000000000010000 RBX: ffff8801d07ca780 RCX: ffffffff825b3d54 RDX: 0000000000000dff RSI: ffffc900038d8000 RDI: ffff8801d07ca784 RBP: ffff8801af4bf248 R08: ffffed0035e97ed9 R09: ffff8801af4bf6a4 R10: 0000000000000005 R11: ffffed0035e97ed8 R12: 0000000000001ea6 R13: 0000000000010000 R14: 0000000000000008 R15: dffffc0000000000 elements_fit_in_base lib/flex_array.c:42 [inline] flex_array_get+0xa4/0x230 lib/flex_array.c:324 flex_array_get_ptr+0x1d/0x60 lib/flex_array.c:349 avtab_search_node+0x1d5/0x490 security/selinux/ss/avtab.c:229 context_struct_compute_av+0x5c6/0x1210 security/selinux/ss/services.c:680 security_compute_av+0x2f2/0x7d0 security/selinux/ss/services.c:1133 avc_compute_av+0x174/0x710 security/selinux/avc.c:972 avc_has_perm_noaudit+0x3ee/0x520 security/selinux/avc.c:1110 selinux_inode_permission+0x2b4/0x5f0 security/selinux/hooks.c:3097 security_inode_permission+0xaf/0xf0 security/security.c:697 inode_permission+0xea/0x470 fs/namei.c:456 may_lookup fs/namei.c:1649 [inline] link_path_walk+0x1e6/0x1470 fs/namei.c:2035 path_parentat+0x43/0x140 fs/namei.c:2336 filename_parentat+0x256/0x550 fs/namei.c:2358 filename_create+0xbf/0x520 fs/namei.c:3608 user_path_create fs/namei.c:3683 [inline] SYSC_mkdirat fs/namei.c:3815 [inline] SyS_mkdirat fs/namei.c:3807 [inline] SYSC_mkdir fs/namei.c:3834 [inline] SyS_mkdir+0xd4/0x2a0 fs/namei.c:3832 do_syscall_32_irqs_on arch/x86/entry/common.c:330 [inline] do_fast_syscall_32+0x3ec/0xf9f arch/x86/entry/common.c:392 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7f6ec99 RSP: 002b:00000000f776a09c EFLAGS: 00000286 ORIG_RAX: 0000000000000027 RAX: ffffffffffffffda RBX: 00000000200001c0 RCX: 00000000000000c3 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Code: ff e8 bf 6e de fc e9 3b f2 ff ff e8 d5 6e de fc e9 ab fc ff ff 48 8b bd c8 fc ff ff e8 64 6e de fc e9 06 e8 ff ff e8 ea 2c a6 fc <0f> 0b e8 93 6e de fc e9 cd fa ff ff 48 89 8d 78 fc ff ff e8 82 RIP: __tcp_retransmit_skb+0x28e6/0x2cb0 net/ipv4/tcp_output.c:2864 RSP: ffff8801db306ff8 ---[ end trace 629a8e98a12a0ca7 ]---