general protection fault, probably for non-canonical address 0xdffffc000000000a: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000050-0x0000000000000057] CPU: 0 PID: 12755 Comm: syz-executor.0 Not tainted 5.18.0-rc3-syzkaller-00006-gb7f73403a3e9 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:__dentry_path+0x215/0x740 fs/d_path.c:342 Code: c1 09 31 ff 41 89 ed 41 83 e5 01 44 89 ee e8 b2 76 98 ff 45 85 ed 75 ce e8 88 74 98 ff 48 8b 44 24 20 89 6c 24 18 48 c1 e8 03 <42> 80 3c 30 00 0f 85 d2 04 00 00 48 8b 44 24 10 83 e5 01 89 6c 24 RSP: 0018:ffffc9000312fc30 EFLAGS: 00010206 RAX: 000000000000000a RBX: ffffffff8ba14640 RCX: ffffc90005419000 RDX: 0000000000040000 RSI: ffffffff81dfd988 RDI: 0000000000000003 RBP: 0000000000003e8c R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff81dfd945 R11: 0000000000000001 R12: 0000000000000fff R13: 0000000000000000 R14: dffffc0000000000 R15: ffff888016884fff FS: 00007f0eb78ca700(0000) GS:ffff88802ca00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000207f4000 CR3: 000000006dd7d000 CR4: 0000000000152ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dentry_path_raw+0xc2/0x110 fs/d_path.c:367 kvm_uevent_notify_change.part.0+0x215/0x450 arch/x86/kvm/../../../virt/kvm/kvm_main.c:5492 kvm_uevent_notify_change arch/x86/kvm/../../../virt/kvm/kvm_main.c:5459 [inline] kvm_destroy_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:1198 [inline] kvm_put_kvm+0xf7/0xb70 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1264 kvm_dev_ioctl_create_vm arch/x86/kvm/../../../virt/kvm/kvm_main.c:4795 [inline] kvm_dev_ioctl+0x85d/0x1c70 arch/x86/kvm/../../../virt/kvm/kvm_main.c:4811 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/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f0eb66890e9 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:00007f0eb78ca168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f0eb679bf60 RCX: 00007f0eb66890e9 RDX: 0000000000000000 RSI: 000000000000ae01 RDI: 0000000000000003 RBP: 00007f0eb66e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffebf741e0f R14: 00007f0eb78ca300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__dentry_path+0x215/0x740 fs/d_path.c:342 Code: c1 09 31 ff 41 89 ed 41 83 e5 01 44 89 ee e8 b2 76 98 ff 45 85 ed 75 ce e8 88 74 98 ff 48 8b 44 24 20 89 6c 24 18 48 c1 e8 03 <42> 80 3c 30 00 0f 85 d2 04 00 00 48 8b 44 24 10 83 e5 01 89 6c 24 RSP: 0018:ffffc9000312fc30 EFLAGS: 00010206 RAX: 000000000000000a RBX: ffffffff8ba14640 RCX: ffffc90005419000 RDX: 0000000000040000 RSI: ffffffff81dfd988 RDI: 0000000000000003 RBP: 0000000000003e8c R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff81dfd945 R11: 0000000000000001 R12: 0000000000000fff R13: 0000000000000000 R14: dffffc0000000000 R15: ffff888016884fff FS: 00007f0eb78ca700(0000) GS:ffff88802cd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faa17b6d498 CR3: 000000006dd7d000 CR4: 0000000000152ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c1 09 31 rorl $0x31,(%rcx) 3: ff 41 89 incl -0x77(%rcx) 6: ed in (%dx),%eax 7: 41 83 e5 01 and $0x1,%r13d b: 44 89 ee mov %r13d,%esi e: e8 b2 76 98 ff callq 0xff9876c5 13: 45 85 ed test %r13d,%r13d 16: 75 ce jne 0xffffffe6 18: e8 88 74 98 ff callq 0xff9874a5 1d: 48 8b 44 24 20 mov 0x20(%rsp),%rax 22: 89 6c 24 18 mov %ebp,0x18(%rsp) 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) <-- trapping instruction 2f: 0f 85 d2 04 00 00 jne 0x507 35: 48 8b 44 24 10 mov 0x10(%rsp),%rax 3a: 83 e5 01 and $0x1,%ebp 3d: 89 .byte 0x89 3e: 6c insb (%dx),%es:(%rdi) 3f: 24 .byte 0x24