------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:28! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 32562 Comm: syz-executor.2 Not tainted 5.9.0-rc5-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:28 Code: 95 7d 09 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 a0 90 3f 00 48 85 db 75 0d e8 f6 93 3f 00 4c 89 e0 5b 5d 41 5c c3 e8 e9 93 3f 00 <0f> 0b e8 e2 93 3f 00 48 c7 c0 10 50 a9 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc90018d17b90 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 000000002ae0b670 RCX: ffffffff8134b998 RDX: ffff88802b9fc480 RSI: ffffffff8134b9f7 RDI: 0000000000000006 RBP: 00000000aae0b670 R08: 0000000000000001 R09: ffffffff8c5f4a77 R10: 00000000aae0b670 R11: 0000000000000001 R12: 000077802ae0b670 R13: ffffc90018d17bf8 R14: 0000000000000200 R15: dffffc0000000000 FS: 00000000031bd940(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0dc248adb8 CR3: 000000021757f000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: virt_to_head_page include/linux/mm.h:848 [inline] qlink_to_cache mm/kasan/quarantine.c:128 [inline] qlist_free_all+0xd9/0x170 mm/kasan/quarantine.c:165 quarantine_reduce+0x17e/0x200 mm/kasan/quarantine.c:261 __kasan_kmalloc.constprop.0+0x9e/0xd0 mm/kasan/common.c:442 slab_post_alloc_hook mm/slab.h:518 [inline] slab_alloc mm/slab.c:3312 [inline] kmem_cache_alloc+0x13a/0x3a0 mm/slab.c:3482 shmem_alloc_inode+0x18/0x40 mm/shmem.c:3819 alloc_inode+0x61/0x230 fs/inode.c:232 new_inode_pseudo fs/inode.c:928 [inline] new_inode+0x27/0x2f0 fs/inode.c:957 shmem_get_inode+0x18b/0xbb0 mm/shmem.c:2291 shmem_symlink+0xe2/0x7c0 mm/shmem.c:3142 vfs_symlink fs/namei.c:3959 [inline] vfs_symlink+0x44e/0x690 fs/namei.c:3945 do_symlinkat+0x258/0x2c0 fs/namei.c:3986 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45d327 Code: 0f 1f 00 b8 5c 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 1d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 58 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 fd b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:000000000169fda8 EFLAGS: 00000202 ORIG_RAX: 0000000000000058 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000045d327 RDX: 000000000169fe43 RSI: 00000000004c311a RDI: 000000000169fe30 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000013 R10: 0000000000000075 R11: 0000000000000202 R12: 0000000000000001 R13: 000000000169fde0 R14: 0000000000000000 R15: 000000000169fdf0 Modules linked in: ---[ end trace 18415d3762cc62a1 ]--- RIP: 0010:__phys_addr+0xa7/0x110 arch/x86/mm/physaddr.c:28 Code: 95 7d 09 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 a0 90 3f 00 48 85 db 75 0d e8 f6 93 3f 00 4c 89 e0 5b 5d 41 5c c3 e8 e9 93 3f 00 <0f> 0b e8 e2 93 3f 00 48 c7 c0 10 50 a9 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc90018d17b90 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 000000002ae0b670 RCX: ffffffff8134b998 RDX: ffff88802b9fc480 RSI: ffffffff8134b9f7 RDI: 0000000000000006 RBP: 00000000aae0b670 R08: 0000000000000001 R09: ffffffff8c5f4a77 R10: 00000000aae0b670 R11: 0000000000000001 R12: 000077802ae0b670 R13: ffffc90018d17bf8 R14: 0000000000000200 R15: dffffc0000000000 FS: 00000000031bd940(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3172a000 CR3: 000000021757f000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400