================================================================== BUG: KMSAN: uninit-value in do_error_trap+0x39b/0x600 arch/x86/kernel/traps.c:297 CPU: 0 PID: 4519 Comm: syz-executor002 Not tainted 4.16.0+ #87 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x185/0x1d0 lib/dump_stack.c:53 kmsan_report+0x142/0x240 mm/kmsan/kmsan.c:1067 __msan_warning_32+0x6c/0xb0 mm/kmsan/kmsan_instr.c:683 do_error_trap+0x39b/0x600 arch/x86/kernel/traps.c:297 do_invalid_op+0x46/0x50 arch/x86/kernel/traps.c:316 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:986 RIP: 0010:tcp_mark_head_lost+0xeec/0xf70 net/ipv4/tcp_input.c:2194 RSP: 0018:ffff88019d97f568 EFLAGS: 00010293 RAX: ffffffff88529a6c RBX: 0000000000000000 RCX: ffff8801d5fe5880 RDX: 0000000000000000 RSI: aaaaaaaaaaaab000 RDI: ffffea0000000000 RBP: ffff88019d97f640 R08: 0000000000000000 R09: 0000000000000002 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000003 R13: ffff880198988ed8 R14: 0000000000000000 R15: 0000000000000004 tcp_update_scoreboard net/ipv4/tcp_input.c:2210 [inline] tcp_fastretrans_alert+0x4324/0x6f20 net/ipv4/tcp_input.c:2848 tcp_ack+0x6235/0x8800 net/ipv4/tcp_input.c:3618 tcp_rcv_state_process+0xba4/0x65f0 net/ipv4/tcp_input.c:5879 tcp_v4_do_rcv+0xb26/0xd90 net/ipv4/tcp_ipv4.c:1491 sk_backlog_rcv include/net/sock.h:908 [inline] __release_sock+0x2d6/0x680 net/core/sock.c:2271 release_sock+0x97/0x2a0 net/core/sock.c:2786 inet_shutdown+0x5c3/0x640 net/ipv4/af_inet.c:855 SYSC_shutdown+0x2a3/0x400 net/socket.c:1901 SyS_shutdown+0x44/0x60 net/socket.c:1892 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x3d/0xa2 RIP: 0033:0x440039 RSP: 002b:00007ffd37aa1258 EFLAGS: 00000217 ORIG_RAX: 0000000000000030 RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440039 RDX: 0000000000440039 RSI: 0000000000000001 RDI: 0000000000000003 RBP: 00000000006ca018 R08: 0000000000000010 R09: 0000000000000010 R10: 0000000000000009 R11: 0000000000000217 R12: 0000000000401960 R13: 00000000004019f0 R14: 0000000000000000 R15: 0000000000000000 Local variable description: ----oc.i.i@__alloc_pages_nodemask Variable was created at: __alloc_pages_nodemask+0x10f/0x5dc0 mm/page_alloc.c:4238 alloc_pages_vma+0xcc8/0x1800 mm/mempolicy.c:2019 ==================================================================