BUG: kernel NULL pointer dereference, address: 00000000000000c0 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 0 P4D 0 Oops: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 13158 Comm: systemd-udevd Not tainted 5.14.0-rc3-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:129 [inline] RIP: 0010:qlink_free mm/kasan/quarantine.c:134 [inline] RIP: 0010:qlist_free_all+0x35/0xc0 mm/kasan/quarantine.c:165 Code: f5 48 83 ec 08 48 8b 37 48 85 f6 0f 84 96 00 00 00 49 be 00 00 00 00 00 ea ff ff 49 89 fd 49 bc 00 00 00 00 00 fc ff df eb 2d <48> 63 87 c0 00 00 00 48 c7 c2 85 d5 bb 81 4c 8b 3e 48 29 c6 48 89 RSP: 0018:ffffc90017047980 EFLAGS: 00010246 RAX: ffffea0000000000 RBX: ffff88802254a000 RCX: ffffea0000000007 RDX: 0000000000000000 RSI: ffff888000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 000000000000002e R10: ffffffff81346eca R11: 000000000000003f R12: dffffc0000000000 R13: ffffc900170479b8 R14: ffffea0000000000 R15: ffff888000000000 FS: 00007f5189eb88c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000c0 CR3: 0000000035019000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kasan_quarantine_reduce+0x180/0x200 mm/kasan/quarantine.c:272 __kasan_slab_alloc+0x8e/0xa0 mm/kasan/common.c:444 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook mm/slab.h:519 [inline] slab_alloc_node mm/slub.c:2956 [inline] slab_alloc mm/slub.c:2964 [inline] __kmalloc+0x1f4/0x330 mm/slub.c:4108 kmalloc include/linux/slab.h:596 [inline] tomoyo_realpath_from_path+0xc3/0x620 security/tomoyo/realpath.c:254 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x21b/0x400 security/tomoyo/file.c:822 security_inode_getattr+0xcf/0x140 security/security.c:1332 vfs_getattr fs/stat.c:139 [inline] vfs_statx+0x164/0x390 fs/stat.c:207 vfs_fstatat fs/stat.c:225 [inline] vfs_lstat include/linux/fs.h:3386 [inline] __do_sys_newlstat+0x91/0x110 fs/stat.c:380 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:0x7f5188d2a335 Code: 69 db 2b 00 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 83 ff 01 48 89 f0 77 30 48 89 c7 48 89 d6 b8 06 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 03 f3 c3 90 48 8b 15 31 db 2b 00 f7 d8 64 89 RSP: 002b:00007fff3b626bb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 0000563e6f2c7650 RCX: 00007f5188d2a335 RDX: 00007fff3b626bf0 RSI: 00007fff3b626bf0 RDI: 0000563e6f2c6650 RBP: 00007fff3b626cb0 R08: 00007f5188fe91d8 R09: 0000000000001010 R10: 0000000000000020 R11: 0000000000000246 R12: 0000563e6f2c6650 R13: 0000563e6f2c665c R14: 0000563e6f2cbf35 R15: 0000563e6f2cbf3c Modules linked in: CR2: 00000000000000c0 ---[ end trace 30ea5f79c06dc8d0 ]--- RIP: 0010:qlink_to_object mm/kasan/quarantine.c:129 [inline] RIP: 0010:qlink_free mm/kasan/quarantine.c:134 [inline] RIP: 0010:qlist_free_all+0x35/0xc0 mm/kasan/quarantine.c:165 Code: f5 48 83 ec 08 48 8b 37 48 85 f6 0f 84 96 00 00 00 49 be 00 00 00 00 00 ea ff ff 49 89 fd 49 bc 00 00 00 00 00 fc ff df eb 2d <48> 63 87 c0 00 00 00 48 c7 c2 85 d5 bb 81 4c 8b 3e 48 29 c6 48 89 RSP: 0018:ffffc90017047980 EFLAGS: 00010246 RAX: ffffea0000000000 RBX: ffff88802254a000 RCX: ffffea0000000007 RDX: 0000000000000000 RSI: ffff888000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 000000000000002e R10: ffffffff81346eca R11: 000000000000003f R12: dffffc0000000000 R13: ffffc900170479b8 R14: ffffea0000000000 R15: ffff888000000000 FS: 00007f5189eb88c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6744026000 CR3: 0000000035019000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400