------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:28! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5117 Comm: systemd-udevd Not tainted 5.13.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__phys_addr+0xd3/0x140 arch/x86/mm/physaddr.c:28 Code: e3 44 89 e9 31 ff 48 d3 eb 48 89 de e8 66 20 41 00 48 85 db 75 0f e8 fc 1a 41 00 4c 89 e0 5b 5d 41 5c 41 5d c3 e8 ed 1a 41 00 <0f> 0b e8 e6 1a 41 00 48 c7 c0 10 50 eb 8b 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc900172a7990 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000007700077 RCX: 0000000000000000 RDX: ffff88805cf88000 RSI: ffffffff81346f43 RDI: 0000000000000003 RBP: 0000000087700077 R08: 0000000087700077 R09: ffffffff81bb5105 R10: ffffffff81346ebe R11: 000000000000003f R12: 0000778007700077 R13: ffffc900172a79f0 R14: ffffea0000000000 R15: 0000000007700077 FS: 00007fb1c1a968c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7b674b4018 CR3: 0000000036b91000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: virt_to_head_page include/linux/mm.h:891 [inline] qlink_to_cache mm/kasan/quarantine.c:120 [inline] qlist_free_all+0x76/0xc0 mm/kasan/quarantine.c:162 kasan_quarantine_reduce+0x180/0x200 mm/kasan/quarantine.c:272 __kasan_slab_alloc+0x8e/0xa0 mm/kasan/common.c:444 kasan_slab_alloc include/linux/kasan.h:253 [inline] slab_post_alloc_hook mm/slab.h:512 [inline] slab_alloc_node mm/slub.c:2970 [inline] slab_alloc mm/slub.c:2978 [inline] kmem_cache_alloc+0x29b/0x4a0 mm/slub.c:2983 kmem_cache_zalloc include/linux/slab.h:711 [inline] __alloc_file+0x21/0x280 fs/file_table.c:101 alloc_empty_file+0x6d/0x170 fs/file_table.c:150 path_openat+0xe3/0x27e0 fs/namei.c:3480 do_filp_open+0x190/0x3d0 fs/namei.c:3521 do_sys_openat2+0x16d/0x420 fs/open.c:1195 do_sys_open fs/open.c:1211 [inline] __do_sys_openat fs/open.c:1227 [inline] __se_sys_openat fs/open.c:1222 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1222 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fb1c09087da Code: 75 3e 89 d0 45 31 d2 25 00 00 41 00 3d 00 00 41 00 74 2d 8b 05 37 2f 2c 00 85 c0 75 51 48 63 d2 48 63 ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 8a 00 00 00 48 83 c4 60 5b 5d 41 5c c3 90 RSP: 002b:00007ffec50de060 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007ffec50e0230 RCX: 00007fb1c09087da RDX: 0000000000080000 RSI: 00007fb1c146431f RDI: 0000000000000010 RBP: 00007fb1c146431f R08: 0000000000000000 R09: 0000000000000020 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080000 R13: 00007ffec50e0248 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 1fe9b69274a9dc36 ]--- RIP: 0010:__phys_addr+0xd3/0x140 arch/x86/mm/physaddr.c:28 Code: e3 44 89 e9 31 ff 48 d3 eb 48 89 de e8 66 20 41 00 48 85 db 75 0f e8 fc 1a 41 00 4c 89 e0 5b 5d 41 5c 41 5d c3 e8 ed 1a 41 00 <0f> 0b e8 e6 1a 41 00 48 c7 c0 10 50 eb 8b 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc900172a7990 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000007700077 RCX: 0000000000000000 RDX: ffff88805cf88000 RSI: ffffffff81346f43 RDI: 0000000000000003 RBP: 0000000087700077 R08: 0000000087700077 R09: ffffffff81bb5105 R10: ffffffff81346ebe R11: 000000000000003f R12: 0000778007700077 R13: ffffc900172a79f0 R14: ffffea0000000000 R15: 0000000007700077 FS: 00007fb1c1a968c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffec50e0e90 CR3: 0000000036b91000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400