kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN kobject: 'kvm' (00000000789fb9a0): kobject_uevent_env CPU: 0 PID: 32347 Comm: syz-executor3 Not tainted 4.20.0-rc7+ #378 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kvm_apic_hw_enabled arch/x86/kvm/lapic.h:169 [inline] RIP: 0010:vcpu_scan_ioapic arch/x86/kvm/x86.c:7449 [inline] RIP: 0010:vcpu_enter_guest arch/x86/kvm/x86.c:7602 [inline] RIP: 0010:vcpu_run arch/x86/kvm/x86.c:7874 [inline] RIP: 0010:kvm_arch_vcpu_ioctl_run+0x5296/0x7320 arch/x86/kvm/x86.c:8074 Code: 03 00 00 48 89 f8 48 c1 e8 03 42 80 3c 20 00 0f 85 b4 1e 00 00 49 8b 9f e0 03 00 00 48 8d bb 88 00 00 00 48 89 f8 48 c1 e8 03 <42> 80 3c 20 00 0f 85 8a 1e 00 00 48 8b 9b 88 00 00 00 48 8d bb d8 RSP: 0018:ffff8881758f7530 EFLAGS: 00010206 RAX: 0000000000000011 RBX: 0000000000000000 RCX: ffffc9000f337000 RDX: 00000000000000cb RSI: ffffffff81103a68 RDI: 0000000000000088 RBP: ffff8881758f78d0 R08: ffff8881cdbc25c0 R09: 0000000000000008 R10: 0000000000000028 R11: ffffffff810feb0f R12: dffffc0000000000 kobject: 'kvm' (00000000789fb9a0): fill_kobj_path: path = '/devices/virtual/misc/kvm' R13: 0000000000000000 R14: ffffc900062efdb8 R15: ffff8881c1410940 FS: 00007f4997cb6700(0000) GS:ffff8881dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f786351ddb8 CR3: 00000001d7692000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kobject: 'loop4' (00000000a972b758): kobject_uevent_env kobject: 'loop4' (00000000a972b758): fill_kobj_path: path = '/devices/virtual/block/loop4' kobject: 'kvm' (00000000789fb9a0): kobject_uevent_env kobject: 'loop5' (000000007d3bdb92): kobject_uevent_env kobject: 'kvm' (00000000789fb9a0): kobject_uevent_env kobject: 'loop5' (000000007d3bdb92): fill_kobj_path: path = '/devices/virtual/block/loop5' kvm_vcpu_ioctl+0x5c8/0x1150 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2596 kobject: 'kvm' (00000000789fb9a0): fill_kobj_path: path = '/devices/virtual/misc/kvm' kobject: 'kvm' (00000000789fb9a0): fill_kobj_path: path = '/devices/virtual/misc/kvm' kobject: 'kvm' (00000000789fb9a0): kobject_uevent_env kobject: 'kvm' (00000000789fb9a0): fill_kobj_path: path = '/devices/virtual/misc/kvm' kobject: 'loop1' (00000000ee099b0a): kobject_uevent_env vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0x1de/0x1790 fs/ioctl.c:696 kobject: 'loop1' (00000000ee099b0a): fill_kobj_path: path = '/devices/virtual/block/loop1' kobject: 'loop5' (000000007d3bdb92): kobject_uevent_env kobject: 'loop5' (000000007d3bdb92): fill_kobj_path: path = '/devices/virtual/block/loop5' kobject: 'kvm' (00000000789fb9a0): kobject_uevent_env ksys_ioctl+0xa9/0xd0 fs/ioctl.c:713 __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl fs/ioctl.c:718 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 kobject: 'kvm' (00000000789fb9a0): fill_kobj_path: path = '/devices/virtual/misc/kvm' kobject: 'kvm' (00000000789fb9a0): kobject_uevent_env kobject: 'kvm' (00000000789fb9a0): fill_kobj_path: path = '/devices/virtual/misc/kvm' entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457669 kobject: 'kvm' (00000000789fb9a0): kobject_uevent_env Code: fd b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f4997cb5c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457669 RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000005 kobject: 'kvm' (00000000789fb9a0): fill_kobj_path: path = '/devices/virtual/misc/kvm' RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4997cb66d4 R13: 00000000004c053c R14: 00000000004d15f0 R15: 00000000ffffffff Modules linked in: kobject: 'loop2' (000000001676377f): kobject_uevent_env kobject: 'loop2' (000000001676377f): fill_kobj_path: path = '/devices/virtual/block/loop2' ---[ end trace 6476c73df9281220 ]--- RIP: 0010:kvm_apic_hw_enabled arch/x86/kvm/lapic.h:169 [inline] RIP: 0010:vcpu_scan_ioapic arch/x86/kvm/x86.c:7449 [inline] RIP: 0010:vcpu_enter_guest arch/x86/kvm/x86.c:7602 [inline] RIP: 0010:vcpu_run arch/x86/kvm/x86.c:7874 [inline] RIP: 0010:kvm_arch_vcpu_ioctl_run+0x5296/0x7320 arch/x86/kvm/x86.c:8074 Code: 03 00 00 48 89 f8 48 c1 e8 03 42 80 3c 20 00 0f 85 b4 1e 00 00 49 8b 9f e0 03 00 00 48 8d bb 88 00 00 00 48 89 f8 48 c1 e8 03 <42> 80 3c 20 00 0f 85 8a 1e 00 00 48 8b 9b 88 00 00 00 48 8d bb d8 kobject: 'kvm' (00000000789fb9a0): kobject_uevent_env RSP: 0018:ffff8881758f7530 EFLAGS: 00010206 RAX: 0000000000000011 RBX: 0000000000000000 RCX: ffffc9000f337000 kobject: 'kvm' (00000000789fb9a0): fill_kobj_path: path = '/devices/virtual/misc/kvm' kobject: 'kvm' (00000000789fb9a0): kobject_uevent_env kobject: 'loop4' (00000000a972b758): kobject_uevent_env kobject: 'loop4' (00000000a972b758): fill_kobj_path: path = '/devices/virtual/block/loop4' RDX: 00000000000000cb RSI: ffffffff81103a68 RDI: 0000000000000088 kobject: 'kvm' (00000000789fb9a0): fill_kobj_path: path = '/devices/virtual/misc/kvm' RBP: ffff8881758f78d0 R08: ffff8881cdbc25c0 R09: 0000000000000008 kobject: 'loop1' (00000000ee099b0a): kobject_uevent_env R10: 0000000000000028 R11: ffffffff810feb0f R12: dffffc0000000000 kobject: 'loop1' (00000000ee099b0a): fill_kobj_path: path = '/devices/virtual/block/loop1' R13: 0000000000000000 R14: ffffc900062efdb8 R15: ffff8881c1410940 kobject: 'kvm' (00000000789fb9a0): kobject_uevent_env FS: 00007f4997cb6700(0000) GS:ffff8881dae00000(0000) knlGS:0000000000000000 kobject: 'kvm' (00000000789fb9a0): fill_kobj_path: path = '/devices/virtual/misc/kvm' CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8c16116000 CR3: 00000001d7692000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400