------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:28! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 10570 Comm: systemd-udevd Not tainted 5.14.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__phys_addr+0x150/0x160 arch/x86/mm/physaddr.c:28 Code: e6 0d 90 00 e9 41 ff ff ff e8 1c c3 46 00 48 c7 c7 50 fd 58 8c 4c 89 f6 4c 89 fa e8 fa 1a f0 02 e9 49 ff ff ff e8 00 c3 46 00 <0f> 0b e8 f9 c2 46 00 0f 0b e8 f2 c2 46 00 0f 0b 53 48 89 fb e8 e7 RSP: 0018:ffffc900019ef878 EFLAGS: 00010293 RAX: ffffffff813974d0 RBX: 0000000098a4b360 RCX: ffff888027c1d4c0 RDX: 0000000000000000 RSI: 0000000098a4b360 RDI: 0000778018a4b360 RBP: 0000000018a4b360 R08: ffffffff813973c7 R09: ffffffff81c991f5 R10: ffffed1002208151 R11: 0000000000000000 R12: 0000000000000001 R13: ffff888030d3d500 R14: 0000778018a4b360 R15: ffffea0000000000 FS: 00007f40f7b798c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001dc4848 CR3: 0000000037248000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: virt_to_head_page include/linux/mm.h:899 [inline] qlink_to_cache mm/kasan/quarantine.c:120 [inline] qlist_free_all mm/kasan/quarantine.c:162 [inline] kasan_quarantine_reduce+0x127/0x1c0 mm/kasan/quarantine.c:272 __kasan_slab_alloc+0x2f/0xd0 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:2959 [inline] slab_alloc mm/slub.c:2967 [inline] kmem_cache_alloc+0x1d1/0x340 mm/slub.c:2972 getname_flags+0xba/0x640 fs/namei.c:138 user_path_at_empty+0x28/0x50 fs/namei.c:2747 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0x102/0x3d0 fs/stat.c:203 vfs_fstatat fs/stat.c:225 [inline] vfs_lstat include/linux/fs.h:3386 [inline] __do_sys_newlstat fs/stat.c:380 [inline] __se_sys_newlstat+0xab/0x770 fs/stat.c:374 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f40f69eb335 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:00007ffd6fd208b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 00005564f0084230 RCX: 00007f40f69eb335 RDX: 00007ffd6fd208f0 RSI: 00007ffd6fd208f0 RDI: 00005564f0083230 RBP: 00007ffd6fd209b0 R08: 00007f40f6caa198 R09: 0000000000001010 R10: 00007f40f6ca9b58 R11: 0000000000000246 R12: 00005564f0083230 R13: 00005564f008323c R14: 00005564f0089855 R15: 00005564f008985c Modules linked in: ---[ end trace 951beb56ed9b4962 ]--- RIP: 0010:__phys_addr+0x150/0x160 arch/x86/mm/physaddr.c:28 Code: e6 0d 90 00 e9 41 ff ff ff e8 1c c3 46 00 48 c7 c7 50 fd 58 8c 4c 89 f6 4c 89 fa e8 fa 1a f0 02 e9 49 ff ff ff e8 00 c3 46 00 <0f> 0b e8 f9 c2 46 00 0f 0b e8 f2 c2 46 00 0f 0b 53 48 89 fb e8 e7 RSP: 0018:ffffc900019ef878 EFLAGS: 00010293 RAX: ffffffff813974d0 RBX: 0000000098a4b360 RCX: ffff888027c1d4c0 RDX: 0000000000000000 RSI: 0000000098a4b360 RDI: 0000778018a4b360 RBP: 0000000018a4b360 R08: ffffffff813973c7 R09: ffffffff81c991f5 R10: ffffed1002208151 R11: 0000000000000000 R12: 0000000000000001 R13: ffff888030d3d500 R14: 0000778018a4b360 R15: ffffea0000000000 FS: 00007f40f7b798c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6ba3c14000 CR3: 0000000037248000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 4 bytes skipped: 0: e9 41 ff ff ff jmpq 0xffffff46 5: e8 1c c3 46 00 callq 0x46c326 a: 48 c7 c7 50 fd 58 8c mov $0xffffffff8c58fd50,%rdi 11: 4c 89 f6 mov %r14,%rsi 14: 4c 89 fa mov %r15,%rdx 17: e8 fa 1a f0 02 callq 0x2f01b16 1c: e9 49 ff ff ff jmpq 0xffffff6a 21: e8 00 c3 46 00 callq 0x46c326 26: 0f 0b ud2 <-- trapping instruction 28: e8 f9 c2 46 00 callq 0x46c326 2d: 0f 0b ud2 2f: e8 f2 c2 46 00 callq 0x46c326 34: 0f 0b ud2 36: 53 push %rbx 37: 48 89 fb mov %rdi,%rbx 3a: e8 .byte 0xe8 3b: e7 .byte 0xe7