------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:27! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 1 Comm: systemd Not tainted 4.19.211-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: 67 fb 09 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 40 28 37 00 48 85 db 75 0d e8 a6 26 37 00 4c 89 e0 5b 5d 41 5c c3 e8 99 26 37 00 <0f> 0b e8 92 26 37 00 48 c7 c0 10 30 e7 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffff8880b5a07468 EFLAGS: 00010293 RAX: ffff8880b59fa040 RBX: 0077077000000000 RCX: ffffffff812b5e78 RDX: 0000000000000000 RSI: ffffffff812b5ed7 RDI: 0000000000000006 RBP: 0077077080000000 R08: 0000000000000000 R09: 0077077080000000 R10: 0000000000000006 R11: 0000000000000000 R12: 00777ef000000000 R13: ffff8880b5a074c0 R14: 0000000000000000 R15: 0000000000000286 FS: 00007fac2902b500(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00d0c6000 CR3: 00000000a46fe000 CR4: 00000000003406e0 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 __d_alloc+0x2b/0xa10 fs/dcache.c:1612 d_alloc+0x4a/0x230 fs/dcache.c:1696 d_alloc_parallel+0xeb/0x19e0 fs/dcache.c:2443 lookup_open+0x4ea/0x1a20 fs/namei.c:3148 do_last fs/namei.c:3327 [inline] path_openat+0x1804/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fac275cc9b1 Code: f7 d8 bf ff ff ff ff 64 89 02 eb cb 0f 1f 00 66 2e 0f 1f 84 00 00 00 00 00 80 3f 00 74 1b be 00 08 09 00 b8 02 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 1f 89 c7 e9 00 ff ff ff 48 8b 05 b1 54 2e 00 RSP: 002b:00007ffeb1697aa8 EFLAGS: 00000202 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000000000000002f RCX: 00007fac275cc9b1 RDX: 000055752bb7e710 RSI: 0000000000090800 RDI: 000055752bb7e710 RBP: 00007ffeb1697b00 R08: 0000000000000003 R09: 0000000000001010 R10: 000055752bbe9d20 R11: 0000000000000202 R12: 000055752bb7e710 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:27! ---[ end trace 496d839caa03184c ]--- RIP: 0010:__phys_addr+0xa7/0x110 arch/x86/mm/physaddr.c:27 Code: 67 fb 09 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 40 28 37 00 48 85 db 75 0d e8 a6 26 37 00 4c 89 e0 5b 5d 41 5c c3 e8 99 26 37 00 <0f> 0b e8 92 26 37 00 48 c7 c0 10 30 e7 89 48 ba 00 00 00 00 00 fc invalid opcode: 0000 [#2] PREEMPT SMP KASAN RSP: 0018:ffff8880b5a07468 EFLAGS: 00010293 CPU: 0 PID: 4700 Comm: systemd-udevd Tainted: G D 4.19.211-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 RAX: ffff8880b59fa040 RBX: 0077077000000000 RCX: ffffffff812b5e78 Code: 67 fb 09 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 40 28 37 00 48 85 db 75 0d e8 a6 26 37 00 4c 89 e0 5b 5d 41 5c c3 e8 99 26 37 00 <0f> 0b e8 92 26 37 00 48 c7 c0 10 30 e7 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffff88809a067a90 EFLAGS: 00010293 RAX: ffff88809a0580c0 RBX: 0770000000000000 RCX: ffffffff812b5e78 RDX: 0000000000000000 RSI: ffffffff812b5ed7 RDI: 0000000000000006 RBP: 0770000080000000 R08: 0000000000000000 R09: 0770000080000000 R10: 0000000000000006 R11: 0000000000000009 R12: 0770778000000000 R13: ffff88809a067ae8 R14: 0000000000000000 R15: 0000000000000286 FS: 00007fb41afd58c0(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff5703ee000 CR3: 000000009a363000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff812b5ed7 RDI: 0000000000000006 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 RBP: 0077077080000000 R08: 0000000000000000 R09: 0077077080000000 kasan_kmalloc+0xa2/0x160 mm/kasan/kasan.c:538 R10: 0000000000000006 R11: 0000000000000000 R12: 00777ef000000000 R13: ffff8880b5a074c0 R14: 0000000000000000 R15: 0000000000000286 FS: 00007fac2902b500(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 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 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb7d1aae000 CR3: 00000000a46fe000 CR4: 00000000003406e0 __do_sys_readlinkat fs/stat.c:421 [inline] __se_sys_readlinkat fs/stat.c:418 [inline] __x64_sys_readlinkat+0x93/0xf0 fs/stat.c:418 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fb419e490ba Code: 48 8b 0d e1 bd 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 49 89 ca b8 0b 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d ae bd 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffdf0a2fdb8 EFLAGS: 00000202 ORIG_RAX: 000000000000010b RAX: ffffffffffffffda RBX: 000055b65a9675b0 RCX: 00007fb419e490ba RDX: 000055b65a9675b0 RSI: 000055b65a969540 RDI: 00000000ffffff9c DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 RBP: 0000000000000064 R08: 000055b65a869670 R09: 0000000000000070 R10: 0000000000000063 R11: 0000000000000202 R12: 000055b65a969540 R13: 00000000ffffff9c R14: 00007ffdf0a2fe10 R15: 0000000000000063 Modules linked in: