XFS (loop7): invalid logbufs value: 9 [not 2-8] kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 27821 Comm: syz-executor0 Not tainted 4.17.0-rc7+ #81 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:vmx_vcpu_run+0x942/0x25c0 arch/x86/kvm/vmx.c:9741 RSP: 0018:ffff880183f1f398 EFLAGS: 00010002 RAX: 0000000000000000 RBX: 00000000014092c0 RCX: 1ffff100307e3e7a RDX: 0000000000010000 RSI: 0000000000000000 RDI: ffff8801795e4000 RBP: ffff880183f1f7e0 R08: ffffed003b5003c1 R09: ffff8801795e1380 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801da802500 R13: ffff8801da802500 R14: ffff8801795e1380 R15: 00000000ffffffff FS: 00007fc2f3e13700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fda01f64848 CR3: 00000001b199b000 CR4: 00000000001426f0 Call Trace: __do_kmalloc_node mm/slab.c:3681 [inline] __kmalloc_node+0x33/0x70 mm/slab.c:3689 kmalloc_node include/linux/slab.h:554 [inline] kvmalloc_node+0xbf/0x100 mm/util.c:421 kvmalloc include/linux/mm.h:550 [inline] kvzalloc include/linux/mm.h:558 [inline] kvm_alloc_memslots arch/x86/kvm/../../../virt/kvm/kvm_main.c:503 [inline] kvm_create_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:637 [inline] kvm_dev_ioctl_create_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:3162 [inline] kvm_dev_ioctl+0xf5c/0x1b20 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3214 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x1cf/0x16a0 fs/ioctl.c:684 ksys_ioctl+0xa9/0xd0 fs/ioctl.c:701 __do_sys_ioctl fs/ioctl.c:708 [inline] __se_sys_ioctl fs/ioctl.c:706 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:706 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x455a09 RSP: 002b:00007fc2f3e12c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fc2f3e136d4 RCX: 0000000000455a09 RDX: 0000000000000000 RSI: 000000000000ae01 RDI: 0000000000000018 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 000000000000027d R14: 00000000006f8c58 R15: 0000000000000000 Code: 8b a9 68 03 00 00 4c 8b b1 70 03 00 00 4c 8b b9 78 03 00 00 48 8b 89 08 03 00 00 75 05 0f 01 c2 eb 03 0f 01 c3 48 89 4c 24 08 59 <0f> 96 81 88 56 00 00 48 89 81 00 03 00 00 48 89 99 18 03 00 00 RIP: vmx_vcpu_run+0x942/0x25c0 arch/x86/kvm/vmx.c:9741 RSP: ffff880183f1f398 ---[ end trace 86335915a0829191 ]---