------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:28! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 22550 Comm: systemd-udevd Not tainted 5.14.0-rc2-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 2f 41 00 48 85 db 75 0f e8 fc 29 41 00 4c 89 e0 5b 5d 41 5c 41 5d c3 e8 ed 29 41 00 <0f> 0b e8 e6 29 41 00 48 c7 c0 10 50 6b 8b 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc90009eef6d8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 000000002b1b8000 RCX: 0000000000000000 RDX: ffff8880176bb880 RSI: ffffffff81345ee3 RDI: 0000000000000003 RBP: 00000000ab1b8000 R08: 00000000ab1b8000 R09: ffffffff81bbc2b5 R10: ffffffff81345e5e R11: 000000000000003f R12: 000077802b1b8000 R13: ffffc90009eef738 R14: ffffea0000000000 R15: 000000002b1b8000 FS: 00007f62a6a5c8c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd7b23d720 CR3: 00000000acd25000 CR4: 00000000001526f0 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+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:254 [inline] slab_post_alloc_hook mm/slab.h:519 [inline] slab_alloc_node mm/slub.c:2956 [inline] slab_alloc mm/slub.c:2964 [inline] kmem_cache_alloc+0x285/0x4a0 mm/slub.c:2969 kmem_cache_zalloc include/linux/slab.h:711 [inline] lsm_inode_alloc security/security.c:592 [inline] security_inode_alloc+0x34/0x160 security/security.c:1017 inode_init_always+0x5d8/0xd60 fs/inode.c:170 alloc_inode+0x82/0x230 fs/inode.c:240 new_inode_pseudo fs/inode.c:934 [inline] new_inode+0x27/0x2f0 fs/inode.c:963 shmem_get_inode+0x195/0xc20 mm/shmem.c:2313 shmem_mknod+0x5a/0x1f0 mm/shmem.c:2829 lookup_open.isra.0+0xfe4/0x13d0 fs/namei.c:3228 open_last_lookups fs/namei.c:3298 [inline] path_openat+0x9b3/0x27f0 fs/namei.c:3504 do_filp_open+0x1aa/0x400 fs/namei.c:3534 do_sys_openat2+0x16d/0x420 fs/open.c:1204 do_sys_open fs/open.c:1220 [inline] __do_sys_open fs/open.c:1228 [inline] __se_sys_open fs/open.c:1224 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1224 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:0x7f62a58ce6f0 Code: 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 83 3d 19 30 2c 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 fe 9d 01 00 48 89 04 24 RSP: 002b:00007ffd7b204d28 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f62a58ce6f0 RDX: 0000000000000180 RSI: 00000000000800c2 RDI: 000056001ebab030 RBP: 000000000003a2f8 R08: 000000000000fcfe R09: 0000000000000030 R10: 0000000000000000 R11: 0000000000000246 R12: 000056001ebab045 R13: 8421084210842109 R14: 00000000000800c2 R15: 00007f62a595c540 Modules linked in: ---[ end trace 54bd7b8fd69c137e ]--- 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 2f 41 00 48 85 db 75 0f e8 fc 29 41 00 4c 89 e0 5b 5d 41 5c 41 5d c3 e8 ed 29 41 00 <0f> 0b e8 e6 29 41 00 48 c7 c0 10 50 6b 8b 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc90009eef6d8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 000000002b1b8000 RCX: 0000000000000000 RDX: ffff8880176bb880 RSI: ffffffff81345ee3 RDI: 0000000000000003 RBP: 00000000ab1b8000 R08: 00000000ab1b8000 R09: ffffffff81bbc2b5 R10: ffffffff81345e5e R11: 000000000000003f R12: 000077802b1b8000 R13: ffffc90009eef738 R14: ffffea0000000000 R15: 000000002b1b8000 FS: 00007f62a6a5c8c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000f55acdb0 CR3: 00000000acd25000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400