------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:27! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 738 Comm: systemd-udevd 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:ffff888235ebfa98 EFLAGS: 00010293 RAX: ffff88803fc68340 RBX: 8888888888888888 RCX: ffffffff812b6e48 RDX: 0000000000000000 RSI: ffffffff812b6ea7 RDI: 0000000000000006 RBP: 8888888908888888 R08: 0000000000000000 R09: 8888888908888888 R10: 0000000000000006 R11: 0000000000000000 R12: 8889000888888888 R13: ffff888235ebfaf0 R14: 0000000000000000 R15: 0000000000000282 FS: 00007f2ab01108c0(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcdbf6d190 CR3: 000000023aa03000 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] 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 do_readlinkat+0xcd/0x2f0 fs/stat.c:394 __do_sys_readlink fs/stat.c:427 [inline] __se_sys_readlink fs/stat.c:424 [inline] __x64_sys_readlink+0x74/0xb0 fs/stat.c:424 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f2aaef84087 Code: 73 01 c3 48 8b 0d 11 be 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 59 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e1 bd 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffcdbf705f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000059 RAX: ffffffffffffffda RBX: 00007ffcdbf71090 RCX: 00007f2aaef84087 RDX: 0000000000000400 RSI: 00007ffcdbf70ab0 RDI: 00007ffcdbf71090 RBP: 0000000000000000 R08: 0000561ae5ca7670 R09: 000000000000000e R10: 0000000000000075 R11: 0000000000000246 R12: 00007ffcdbf706b0 R13: 0000561ae74ef170 R14: 00007ffcdbf70ab0 R15: 00007ffcdbf7109f Modules linked in: ---[ end trace 762fceb3c2e6b07c ]--- 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:ffff888235ebfa98 EFLAGS: 00010293 RAX: ffff88803fc68340 RBX: 8888888888888888 RCX: ffffffff812b6e48 RDX: 0000000000000000 RSI: ffffffff812b6ea7 RDI: 0000000000000006 RBP: 8888888908888888 R08: 0000000000000000 R09: 8888888908888888 R10: 0000000000000006 R11: 0000000000000000 R12: 8889000888888888 R13: ffff888235ebfaf0 R14: 0000000000000000 R15: 0000000000000282 FS: 00007f2ab01108c0(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcdbf6d190 CR3: 000000023aa03000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 4e fb rex.WRX sti 2: 09 4c 89 e3 or %ecx,-0x1d(%rcx,%rcx,4) 6: 31 ff xor %edi,%edi 8: 48 d3 eb shr %cl,%rbx b: 48 89 de mov %rbx,%rsi e: e8 90 25 37 00 callq 0x3725a3 13: 48 85 db test %rbx,%rbx 16: 75 0d jne 0x25 18: e8 f6 23 37 00 callq 0x372413 1d: 4c 89 e0 mov %r12,%rax 20: 5b pop %rbx 21: 5d pop %rbp 22: 41 5c pop %r12 24: c3 retq 25: e8 e9 23 37 00 callq 0x372413 2a: 0f 0b ud2 <-- trapping instruction 2c: e8 e2 23 37 00 callq 0x372413 31: 48 c7 c0 10 30 e7 89 mov $0xffffffff89e73010,%rax 38: 48 rex.W 39: ba 00 00 00 00 mov $0x0,%edx 3e: 00 fc add %bh,%ah