BUG: unable to handle kernel NULL pointer dereference at 00000000000000fc IP: qlink_to_object mm/kasan/quarantine.c:136 [inline] IP: qlink_free mm/kasan/quarantine.c:141 [inline] IP: qlist_free_all+0x28/0x140 mm/kasan/quarantine.c:166 PGD 0 P4D 0 Oops: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 3638 Comm: systemd-udevd Not tainted 4.14.176-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88808f48e6c0 task.stack: ffff88808f490000 RIP: 0010:qlink_to_object mm/kasan/quarantine.c:136 [inline] RIP: 0010:qlink_free mm/kasan/quarantine.c:141 [inline] RIP: 0010:qlist_free_all+0x28/0x140 mm/kasan/quarantine.c:166 RSP: 0018:ffff88808f497bb8 EFLAGS: 00010246 RAX: ffffea0000000000 RBX: ffff888000000000 RCX: ffffea000000001f RDX: 0000000000000000 RSI: ffff88808f48ef40 RDI: ffff888000000000 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888000000000 R13: ffff88808f497bf0 R14: 0000000000000000 R15: 0000000000000282 FS: 00007f29c3b578c0(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000fc CR3: 000000008fb58000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: quarantine_reduce+0x140/0x170 mm/kasan/quarantine.c:259 kasan_kmalloc+0x95/0xe0 mm/kasan/kasan.c:536 slab_post_alloc_hook mm/slab.h:442 [inline] slab_alloc mm/slab.c:3390 [inline] kmem_cache_alloc+0x114/0x770 mm/slab.c:3550 getname_flags fs/namei.c:138 [inline] getname_flags+0xc8/0x560 fs/namei.c:128 user_path_at_empty+0x2a/0x50 fs/namei.c:2631 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0xd1/0x160 fs/stat.c:185 vfs_lstat include/linux/fs.h:3066 [inline] SYSC_newlstat+0x83/0xe0 fs/stat.c:350 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x7f29c29ca335 RSP: 002b:00007fffea0a2048 EFLAGS: 00000246 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 000055702efd28f0 RCX: 00007f29c29ca335 RDX: 00007fffea0a2080 RSI: 00007fffea0a2080 RDI: 000055702efd18f0 RBP: 00007fffea0a2140 R08: 00007f29c2c891d8 R09: 0000000000001010 R10: 0000000000000020 R11: 0000000000000246 R12: 000055702efd18f0 R13: 000055702efd191a R14: 000055702efcae56 R15: 000055702efcae5a Code: eb d6 90 41 57 41 56 41 55 41 54 55 53 48 8b 1f 48 85 db 0f 84 08 01 00 00 48 89 f5 49 89 fd 48 85 ed 49 89 ee 0f 84 8b 00 00 00 <49> 63 86 fc 00 00 00 4c 8b 23 48 29 c3 48 83 3d 03 c3 4d 06 00 RIP: qlink_to_object mm/kasan/quarantine.c:136 [inline] RSP: ffff88808f497bb8 RIP: qlink_free mm/kasan/quarantine.c:141 [inline] RSP: ffff88808f497bb8 RIP: qlist_free_all+0x28/0x140 mm/kasan/quarantine.c:166 RSP: ffff88808f497bb8 CR2: 00000000000000fc ---[ end trace f6b0c7d4e108bfd1 ]---