general protection fault, probably for non-canonical address 0xdffffc0000000038: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x00000000000001c0-0x00000000000001c7] CPU: 0 PID: 30791 Comm: syz-executor.2 Not tainted 5.17.0-next-20220401-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:flush_workqueue+0xf8/0x1440 kernel/workqueue.c:2828 Code: ff 89 de e8 8a 01 2c 00 84 db 0f 84 28 0f 00 00 e8 9d fd 2b 00 48 8b 85 e8 fe ff ff 48 8d b8 c0 01 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 74 08 3c 03 0f 8e f9 12 00 00 48 8b 85 e8 fe RSP: 0018:ffffc90002f1fba8 EFLAGS: 00010202 RAX: 0000000000000038 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff88801f6857c0 RSI: ffffffff814d2a53 RDI: 00000000000001c0 RBP: ffffc90002f1fd18 R08: 0000000000000002 R09: 0000000000000001 R10: ffffffff814d2a46 R11: 0000000000000000 R12: dffffc0000000000 R13: ffffc90002f1fd70 R14: ffffc90003019000 R15: ffffc9000301a240 FS: 00007f19ab067700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe2d0d9d090 CR3: 0000000058877000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kvm_mmu_uninit_tdp_mmu+0x7f/0x170 arch/x86/kvm/mmu/tdp_mmu.c:54 kvm_arch_destroy_vm+0x350/0x470 arch/x86/kvm/x86.c:11915 kvm_create_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:1157 [inline] kvm_dev_ioctl_create_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:4750 [inline] kvm_dev_ioctl+0x16fa/0x1c30 arch/x86/kvm/../../../virt/kvm/kvm_main.c:4805 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f19a9e89049 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f19ab067168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f19a9f9bf60 RCX: 00007f19a9e89049 RDX: 0000000000000000 RSI: 000000000000ae01 RDI: 0000000000000004 RBP: 00007f19a9ee308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdeb49e3ff R14: 00007f19ab067300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:flush_workqueue+0xf8/0x1440 kernel/workqueue.c:2828 Code: ff 89 de e8 8a 01 2c 00 84 db 0f 84 28 0f 00 00 e8 9d fd 2b 00 48 8b 85 e8 fe ff ff 48 8d b8 c0 01 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 74 08 3c 03 0f 8e f9 12 00 00 48 8b 85 e8 fe RSP: 0018:ffffc90002f1fba8 EFLAGS: 00010202 RAX: 0000000000000038 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff88801f6857c0 RSI: ffffffff814d2a53 RDI: 00000000000001c0 RBP: ffffc90002f1fd18 R08: 0000000000000002 R09: 0000000000000001 R10: ffffffff814d2a46 R11: 0000000000000000 R12: dffffc0000000000 R13: ffffc90002f1fd70 R14: ffffc90003019000 R15: ffffc9000301a240 FS: 00007f19ab067700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe2d0d691b8 CR3: 0000000058877000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: ff 89 de e8 8a 01 decl 0x18ae8de(%rcx) 6: 2c 00 sub $0x0,%al 8: 84 db test %bl,%bl a: 0f 84 28 0f 00 00 je 0xf38 10: e8 9d fd 2b 00 callq 0x2bfdb2 15: 48 8b 85 e8 fe ff ff mov -0x118(%rbp),%rax 1c: 48 8d b8 c0 01 00 00 lea 0x1c0(%rax),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 74 08 je 0x3b 33: 3c 03 cmp $0x3,%al 35: 0f 8e f9 12 00 00 jle 0x1334 3b: 48 rex.W 3c: 8b .byte 0x8b 3d: 85 e8 test %ebp,%eax 3f: fe .byte 0xfe