QAT: Invalid ioctl ------------[ cut here ]------------ kernel BUG at arch/x86/kvm/x86.c:357! invalid opcode: 0000 [#1] PREEMPT SMP KASAN QAT: Invalid ioctl CPU: 0 PID: 11168 Comm: syz-executor.0 Not tainted 5.0.0-rc7+ #80 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kvm_spurious_fault+0x9/0x10 arch/x86/kvm/x86.c:357 Code: e8 9c ce 65 00 41 bd 03 00 00 00 5b 44 89 e8 41 5c 41 5d 5d c3 66 90 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 e8 77 ce 65 00 <0f> 0b 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 49 89 d6 41 55 41 54 RSP: 0018:ffff888057ea7790 EFLAGS: 00010212 RAX: 0000000000040000 RBX: ffff88803eb6f810 RCX: ffffc90005ff4000 RDX: 00000000000004d6 RSI: ffffffff810a1309 RDI: 0000000000000007 RBP: ffff888057ea7790 R08: ffff8880544aa040 R09: ffff8880a9be1000 kobject: 'kvm' (000000003469e39d): kobject_uevent_env R10: ffffed101537c3ff R11: ffff8880a9be1fff R12: 1ffff1100afd4ef5 R13: ffff8880a9be1000 R14: ffff888057ea7808 R15: 000000000000ae41 FS: 00007f9b338f0700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff17d440000 CR3: 0000000087b0c000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 kobject: 'kvm' (000000003469e39d): fill_kobj_path: path = '/devices/virtual/misc/kvm' DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vmcs_clear arch/x86/kvm/vmx/ops.h:185 [inline] loaded_vmcs_init+0x95/0x250 arch/x86/kvm/vmx/vmx.c:566 ------------[ cut here ]------------ alloc_loaded_vmcs+0x81/0x170 arch/x86/kvm/vmx/vmx.c:2440 downgrading a read lock WARNING: CPU: 1 PID: 11167 at kernel/locking/lockdep.c:3553 __lock_downgrade kernel/locking/lockdep.c:3553 [inline] WARNING: CPU: 1 PID: 11167 at kernel/locking/lockdep.c:3553 lock_downgrade+0x478/0x810 kernel/locking/lockdep.c:3816 vmx_create_vcpu+0x24e/0x24dd arch/x86/kvm/vmx/vmx.c:6729