netlink: 4 bytes leftover after parsing attributes in process `syz-executor4'. ================================================================== BUG: KMSAN: uninit-value in vmcs_clear arch/x86/kvm/vmx.c:2119 [inline] BUG: KMSAN: uninit-value in loaded_vmcs_init+0x343/0x590 arch/x86/kvm/vmx.c:2126 CPU: 0 PID: 6593 Comm: syz-executor3 Not tainted 4.19.0-rc4+ #63 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x306/0x460 lib/dump_stack.c:113 kmsan_report+0x1a3/0x2d0 mm/kmsan/kmsan.c:917 __msan_warning+0x7c/0xe0 mm/kmsan/kmsan_instr.c:500 vmcs_clear arch/x86/kvm/vmx.c:2119 [inline] loaded_vmcs_init+0x343/0x590 arch/x86/kvm/vmx.c:2126 __loaded_vmcs_clear+0x2fb/0x3c0 arch/x86/kvm/vmx.c:2209 flush_smp_call_function_queue+0x404/0x770 kernel/smp.c:243 generic_smp_call_function_single_interrupt+0x1f/0x30 kernel/smp.c:192 smp_call_function_single_interrupt+0x2f7/0x530 arch/x86/kernel/smp.c:296 call_function_single_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:891 RIP: 0010:native_restore_fl arch/x86/include/asm/irqflags.h:40 [inline] RIP: 0010:arch_local_irq_restore arch/x86/include/asm/irqflags.h:81 [inline] RIP: 0010:kmsan_kmalloc+0xd4/0x120 mm/kmsan/kmsan_hooks.c:96 Code: 00 74 16 eb 53 48 89 df 4c 89 f6 e8 76 bc ff ff 41 ff 8d 7c 09 00 00 75 3f e8 68 c2 36 ff 48 8b 45 c0 48 89 45 b8 ff 75 b8 9d <65> 48 8b 04 25 28 00 00 00 48 3b 45 d0 75 2f 48 83 c4 20 5b 41 5c RSP: 0018:ffff8801578afa90 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff04 RAX: 0000000000000246 RBX: ffff8801c041f180 RCX: 0000000000000031 RDX: 0000000000000030 RSI: ffff88021fff2000 RDI: ffffffff7fffffff RBP: ffff8801578afad8 R08: 00000000004000c0 R09: 0000000000000002 R10: 0000000000000004 R11: ffffffff8439f150 R12: ffff8801c2e9cf00 R13: ffff88015fce1e00 R14: 00000000000000c0 R15: 00000000006000c0 kmsan_slab_alloc+0x10/0x20 mm/kmsan/kmsan_hooks.c:102 slab_post_alloc_hook mm/slab.h:446 [inline] slab_alloc_node mm/slub.c:2727 [inline] slab_alloc mm/slub.c:2735 [inline] kmem_cache_alloc+0xb06/0xd50 mm/slub.c:2740 __d_alloc+0xcc/0xf50 fs/dcache.c:1614 d_alloc_pseudo+0x68/0x80 fs/dcache.c:1742 alloc_file_pseudo+0x19f/0x4e0 fs/file_table.c:224 sock_alloc_file+0x1b0/0x5f0 net/socket.c:394 sock_map_fd net/socket.c:417 [inline] __sys_socket+0x268/0x670 net/socket.c:1349 __do_sys_socket net/socket.c:1354 [inline] __se_sys_socket+0x8d/0xb0 net/socket.c:1352 __x64_sys_socket+0x4a/0x70 net/socket.c:1352 do_syscall_64+0xbe/0x100 arch/x86/entry/common.c:291 entry_SYSCALL_64_after_hwframe+0x63/0xe7 RIP: 0033:0x45a0e7 Code: 00 00 00 49 89 ca b8 36 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 9a 88 fb ff c3 66 0f 1f 84 00 00 00 00 00 b8 29 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 7d 88 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:0000000000a3f6b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000045a0e7 RDX: 0000000000000006 RSI: 0000000000000001 RDI: 0000000000000002 RBP: 0000000000000003 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000246 R12: 0000000000000009 R13: 000000000003b0bb R14: 0000000000000011 R15: 0000000000000003 Local variable description: ----error.i@loaded_vmcs_init Variable was created at: loaded_vmcs_init+0x8a/0x590 arch/x86/kvm/vmx.c:2125 __loaded_vmcs_clear+0x2fb/0x3c0 arch/x86/kvm/vmx.c:2209 ==================================================================