------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:27! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 3712 Comm: systemd-udevd Not tainted 4.19.143-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__phys_addr+0xa7/0x110 arch/x86/mm/physaddr.c:27 Code: 80 7d 08 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 c0 c6 38 00 48 85 db 75 0d e8 26 c5 38 00 4c 89 e0 5b 5d 41 5c c3 e8 19 c5 38 00 <0f> 0b e8 12 c5 38 00 48 c7 c0 10 50 c7 88 48 ba 00 00 00 00 00 fc RSP: 0018:ffff88808f06f710 EFLAGS: 00010293 RAX: ffff88808f060700 RBX: 0707070707070707 RCX: ffffffff8130ec58 RDX: 0000000000000000 RSI: ffffffff8130ecb7 RDI: 0000000000000006 RBP: 0707070787070707 R08: 0000000000000000 R09: 0707070787070707 R10: 0000000000000006 R11: 0000000000000000 R12: 07077e8707070707 R13: ffff88808f06f768 R14: 0000000000000000 R15: 0000000000000282 FS: 00007f9b0c98d8c0(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001590000 CR3: 000000008f54c000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: virt_to_head_page include/linux/mm.h:665 [inline] qlink_to_cache mm/kasan/quarantine.c:127 [inline] qlist_free_all+0xbb/0x140 mm/kasan/quarantine.c:163 quarantine_reduce+0x1a9/0x230 mm/kasan/quarantine.c:259 kasan_kmalloc+0xa2/0x160 mm/kasan/kasan.c:538 slab_post_alloc_hook mm/slab.h:445 [inline] slab_alloc mm/slab.c:3397 [inline] __do_kmalloc mm/slab.c:3725 [inline] __kmalloc_track_caller+0x13f/0x3c0 mm/slab.c:3742 kmemdup_nul+0x2d/0xa0 mm/util.c:138 security_context_to_sid_core+0xb3/0x590 security/selinux/ss/services.c:1463 security_context_to_sid+0x35/0x40 security/selinux/ss/services.c:1525 selinux_inode_setsecurity+0x197/0x3d0 security/selinux/hooks.c:3501 selinux_inode_notifysecctx+0x2b/0x60 security/selinux/hooks.c:6667 security_inode_notifysecctx+0x50/0xb0 security/security.c:1343 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 fs/stat.c:116 [inline] vfs_statx+0x15a/0x210 fs/stat.c:189 vfs_lstat include/linux/fs.h:3138 [inline] __do_sys_newlstat fs/stat.c:350 [inline] __se_sys_newlstat+0x96/0x120 fs/stat.c:344 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f9b0b800335 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:00007fff2381b798 EFLAGS: 00000246 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 000055a683f13ff0 RCX: 00007f9b0b800335 RDX: 00007fff2381b7d0 RSI: 00007fff2381b7d0 RDI: 000055a683f12ff0 RBP: 00007fff2381b890 R08: 00007f9b0babf258 R09: 0000000000001010 R10: 00007f9b0babeb58 R11: 0000000000000246 R12: 000055a683f12ff0 R13: 000055a683f12ff4 R14: 000055a683ef9ab1 R15: 000055a683ef9ab4 Modules linked in: ---[ end trace 283f68cf850b537a ]--- RIP: 0010:__phys_addr+0xa7/0x110 arch/x86/mm/physaddr.c:27 Code: 80 7d 08 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 c0 c6 38 00 48 85 db 75 0d e8 26 c5 38 00 4c 89 e0 5b 5d 41 5c c3 e8 19 c5 38 00 <0f> 0b e8 12 c5 38 00 48 c7 c0 10 50 c7 88 48 ba 00 00 00 00 00 fc RSP: 0018:ffff88808f06f710 EFLAGS: 00010293 RAX: ffff88808f060700 RBX: 0707070707070707 RCX: ffffffff8130ec58 RDX: 0000000000000000 RSI: ffffffff8130ecb7 RDI: 0000000000000006 RBP: 0707070787070707 R08: 0000000000000000 R09: 0707070787070707 R10: 0000000000000006 R11: 0000000000000000 R12: 07077e8707070707 R13: ffff88808f06f768 R14: 0000000000000000 R15: 0000000000000282 FS: 00007f9b0c98d8c0(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc62c80b10 CR3: 000000008f54c000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400