------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:27! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 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: ffff888090aae6c0 task.stack: ffff888090ab0000 RIP: 0010:__phys_addr+0x80/0xe0 arch/x86/mm/physaddr.c:27 RSP: 0018:ffff888090ab7960 EFLAGS: 00010297 RAX: ffff888090aae6c0 RBX: 0000770000000077 RCX: 1ffff11012155dec RDX: 0000000000000000 RSI: ffff888090aaef68 RDI: 0000770000000077 RBP: 0000770080000077 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000ee8000000077 R13: ffff888090ab79b8 R14: 0000000000000000 R15: 0000000000000282 FS: 00007f1e4f6688c0(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcd60efdbc CR3: 0000000090bb7000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: virt_to_head_page include/linux/mm.h:600 [inline] qlink_to_cache mm/kasan/quarantine.c:127 [inline] qlist_free_all+0xbb/0x140 mm/kasan/quarantine.c:163 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] __do_kmalloc mm/slab.c:3718 [inline] __kmalloc_track_caller+0x13d/0x7b0 mm/slab.c:3735 kmemdup_nul+0x2d/0xa0 mm/util.c:138 security_context_to_sid_core+0x94/0x3d0 security/selinux/ss/services.c:1420 selinux_inode_setsecurity+0x155/0x350 security/selinux/hooks.c:3377 selinux_inode_notifysecctx+0x2b/0x50 security/selinux/hooks.c:6132 security_inode_notifysecctx+0x76/0xb0 security/security.c:1314 kernfs_refresh_inode+0x328/0x4b0 fs/kernfs/inode.c:195 kernfs_iop_getattr+0x90/0xd0 fs/kernfs/inode.c:210 vfs_getattr_nosec+0xff/0x160 fs/stat.c:79 vfs_getattr+0x3f/0x60 fs/stat.c:116 vfs_statx+0xf0/0x160 fs/stat.c:189 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:0x7f1e4e4db335 RSP: 002b:00007fffbe4e8d68 EFLAGS: 00000246 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 00005566f08a8fc0 RCX: 00007f1e4e4db335 RDX: 00007fffbe4e8da0 RSI: 00007fffbe4e8da0 RDI: 00005566f08a7fc0 RBP: 00007fffbe4e8e60 R08: 00007f1e4e79a1d8 R09: 0000000000001010 R10: 0000000000000020 R11: 0000000000000246 R12: 00005566f08a7fc0 R13: 00005566f08a7fc4 R14: 00005566f0892ed1 R15: 00005566f0892ed4 Code: c2 7f 04 84 d2 75 26 0f b6 0d 46 52 68 07 4c 89 e0 48 d3 e8 48 85 c0 75 0d e8 8d 8b 30 00 4c 89 e0 5b 5d 41 5c c3 e8 80 8b 30 00 <0f> 0b 48 c7 c7 49 0d 92 88 e8 b2 dd 59 00 eb cc e8 6b 8b 30 00 RIP: __phys_addr+0x80/0xe0 arch/x86/mm/physaddr.c:27 RSP: ffff888090ab7960 ---[ end trace f8a6e2a76bc87907 ]---