------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:27! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 29374 Comm: syz-executor.1 Not tainted 4.19.204-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: 4e fb 09 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 90 25 37 00 48 85 db 75 0d e8 f6 23 37 00 4c 89 e0 5b 5d 41 5c c3 e8 e9 23 37 00 <0f> 0b e8 e2 23 37 00 48 c7 c0 10 30 e7 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffff8880a9ab79a8 EFLAGS: 00010293 RAX: ffff8880a8bfe5c0 RBX: 0770007700770000 RCX: ffffffff812b6e48 RDX: 0000000000000000 RSI: ffffffff812b6ea7 RDI: 0000000000000006 RBP: 0770007780770000 R08: 0000000000000000 R09: 0770007780770000 R10: 0000000000000006 R11: 0000000000000000 R12: 077077f700770000 R13: ffff8880a9ab7a00 R14: 0000000000000000 R15: 0000000000000282 FS: 000000000222b400(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000002234848 CR3: 00000000abaa9000 CR4: 00000000001426e0 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] kmem_cache_alloc+0x110/0x370 mm/slab.c:3557 getname_flags+0xce/0x590 fs/namei.c:140 user_path_at_empty+0x2a/0x50 fs/namei.c:2609 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0x113/0x210 fs/stat.c:185 vfs_lstat include/linux/fs.h:3137 [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:0x465686 Code: ff ff ff 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 41 89 f8 48 89 f7 48 89 d6 41 83 f8 01 77 29 b8 06 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 02 c3 90 48 c7 c2 bc ff ff ff f7 d8 64 89 02 RSP: 002b:00007ffd5c2bb968 EFLAGS: 00000246 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 00000000000004dd RCX: 0000000000465686 RDX: 00007ffd5c2bb9a0 RSI: 00007ffd5c2bb9a0 RDI: 00007ffd5c2bba30 RBP: 00007ffd5c2bba30 R08: 0000000000000001 R09: 00007ffd5c2bb800 R10: 000000000222c853 R11: 0000000000000246 R12: 00000000004bee90 R13: 00007ffd5c2bcb00 R14: 000000000222c810 R15: 00007ffd5c2bcb40 Modules linked in: ---[ end trace 66113b302a1e9c18 ]--- RIP: 0010:__phys_addr+0xa7/0x110 arch/x86/mm/physaddr.c:27 Code: 4e fb 09 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 90 25 37 00 48 85 db 75 0d e8 f6 23 37 00 4c 89 e0 5b 5d 41 5c c3 e8 e9 23 37 00 <0f> 0b e8 e2 23 37 00 48 c7 c0 10 30 e7 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffff8880a9ab79a8 EFLAGS: 00010293 RAX: ffff8880a8bfe5c0 RBX: 0770007700770000 RCX: ffffffff812b6e48 RDX: 0000000000000000 RSI: ffffffff812b6ea7 RDI: 0000000000000006 RBP: 0770007780770000 R08: 0000000000000000 R09: 0770007780770000 R10: 0000000000000006 R11: 0000000000000000 R12: 077077f700770000 R13: ffff8880a9ab7a00 R14: 0000000000000000 R15: 0000000000000282 FS: 000000000222b400(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 x_tables: duplicate underflow at hook 3 CR2: 0000000001e92708 CR3: 00000000abaa9000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400