BUG: kernel NULL pointer dereference, address: 0000000000000080 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 48b3e067 P4D 48b3e067 PUD 8ed2e067 PMD 0 Oops: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4795 Comm: syz-executor.2 Not tainted 5.9.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:qlink_to_object mm/kasan/quarantine.c:137 [inline] RIP: 0010:qlink_free mm/kasan/quarantine.c:142 [inline] RIP: 0010:qlist_free_all+0x36/0x170 mm/kasan/quarantine.c:168 Code: 53 48 83 ec 10 48 8b 37 48 85 f6 0f 84 36 01 00 00 49 bf 00 00 00 00 00 fc ff df 48 85 ed 49 89 fd 48 89 ef 0f 84 97 00 00 00 <48> 63 87 80 00 00 00 4c 8b 26 48 29 c6 48 83 3d 75 e5 01 08 00 0f RSP: 0018:ffffc900166e77f0 EFLAGS: 00010246 RAX: ffffea0000000000 RBX: 0000000000000282 RCX: ffffea0000000007 RDX: 0000000000000000 RSI: ffff888000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000001 R09: ffffffff8c5f5ae7 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888000000000 R13: ffffc900166e7838 R14: 0000000000000200 R15: dffffc0000000000 FS: 0000000001ad4940(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000080 CR3: 0000000012990000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: quarantine_reduce+0x17e/0x200 mm/kasan/quarantine.c:261 __kasan_kmalloc.constprop.0+0x9e/0xd0 mm/kasan/common.c:442 slab_post_alloc_hook mm/slab.h:518 [inline] slab_alloc_node mm/slab.c:3254 [inline] kmem_cache_alloc_node_trace+0x144/0x3f0 mm/slab.c:3592 __do_kmalloc_node mm/slab.c:3614 [inline] __kmalloc_node+0x38/0x60 mm/slab.c:3622 kmalloc_node include/linux/slab.h:577 [inline] kvmalloc_node+0x61/0xf0 mm/util.c:574 kvmalloc include/linux/mm.h:755 [inline] kvzalloc include/linux/mm.h:763 [inline] kvm_dup_memslots arch/x86/kvm/../../../virt/kvm/kvm_main.c:1172 [inline] kvm_set_memslot+0x432/0x1520 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1189 kvm_delete_memslot+0x129/0x2a0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1251 __kvm_set_memory_region+0xe30/0xfb0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:1314 __x86_set_memory_region+0x2b5/0x5b0 arch/x86/kvm/x86.c:10006 kvm_arch_destroy_vm+0x42f/0x500 arch/x86/kvm/x86.c:10032 kvm_destroy_vm+0x512/0xbe0 arch/x86/kvm/../../../virt/kvm/kvm_main.c:878 kvm_put_kvm arch/x86/kvm/../../../virt/kvm/kvm_main.c:899 [inline] kvm_vcpu_release+0xc2/0x110 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3043 __fput+0x285/0x920 fs/file_table.c:281 task_work_run+0xdd/0x190 kernel/task_work.c:141 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:163 [inline] exit_to_user_mode_prepare+0x1e1/0x200 kernel/entry/common.c:190 syscall_exit_to_user_mode+0x7e/0x2e0 kernel/entry/common.c:265 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x416f01 Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 04 1b 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007ffc424a6de0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000007 RCX: 0000000000416f01 RDX: 0000000000000000 RSI: 000000000000018d RDI: 0000000000000006 RBP: 0000000000000001 R08: 00000000601e618d R09: 00000000601e6191 R10: 00007ffc424a6ed0 R11: 0000000000000293 R12: 000000000118d940 R13: 000000000118d940 R14: ffffffffffffffff R15: 000000000118cfec Modules linked in: CR2: 0000000000000080 ---[ end trace d1db4a44cfb0b8dd ]--- RIP: 0010:qlink_to_object mm/kasan/quarantine.c:137 [inline] RIP: 0010:qlink_free mm/kasan/quarantine.c:142 [inline] RIP: 0010:qlist_free_all+0x36/0x170 mm/kasan/quarantine.c:168 Code: 53 48 83 ec 10 48 8b 37 48 85 f6 0f 84 36 01 00 00 49 bf 00 00 00 00 00 fc ff df 48 85 ed 49 89 fd 48 89 ef 0f 84 97 00 00 00 <48> 63 87 80 00 00 00 4c 8b 26 48 29 c6 48 83 3d 75 e5 01 08 00 0f RSP: 0018:ffffc900166e77f0 EFLAGS: 00010246 RAX: ffffea0000000000 RBX: 0000000000000282 RCX: ffffea0000000007 RDX: 0000000000000000 RSI: ffff888000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000001 R09: ffffffff8c5f5ae7 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888000000000 R13: ffffc900166e7838 R14: 0000000000000200 R15: dffffc0000000000 FS: 0000000001ad4940(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f49bf180db8 CR3: 0000000012990000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400