------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:28! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 23562 Comm: syz-executor.1 Not tainted 5.9.0-rc6-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: 35 23 0a 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 90 69 40 00 48 85 db 75 0d e8 06 6d 40 00 4c 89 e0 5b 5d 41 5c c3 e8 f9 6c 40 00 <0f> 0b e8 f2 6c 40 00 48 c7 c0 10 50 e9 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc9001774f938 EFLAGS: 00010212 RAX: 0000000000000458 RBX: 0777777000007700 RCX: ffffc9000a6dd000 RDX: 0000000000040000 RSI: ffffffff8135d147 RDI: 0000000000000006 RBP: 0777777080007700 R08: 0000000000000001 R09: 0000000000000001 R10: 0777777080007700 R11: 0000000000000000 R12: 0777eef000007700 R13: ffffc9001774f9a0 R14: 0000000000000200 R15: dffffc0000000000 FS: 00007fd91da74700(0000) GS:ffff8880ae500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd91da52db8 CR3: 000000020c928000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: virt_to_head_page include/linux/mm.h:850 [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/0x3f0 mm/slab.c:3482 kmem_cache_zalloc include/linux/slab.h:656 [inline] lsm_file_alloc security/security.c:567 [inline] security_file_alloc+0x34/0x170 security/security.c:1455 __alloc_file+0xd8/0x350 fs/file_table.c:106 alloc_empty_file+0x6d/0x170 fs/file_table.c:151 path_openat+0xe3/0x2730 fs/namei.c:3354 do_filp_open+0x17e/0x3c0 fs/namei.c:3395 do_sys_openat2+0x16d/0x420 fs/open.c:1168 do_sys_open fs/open.c:1184 [inline] __do_sys_openat fs/open.c:1200 [inline] __se_sys_openat fs/open.c:1195 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1195 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45e179 Code: 3d b2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 0b b2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fd91da73c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000022d40 RCX: 000000000045e179 RDX: 000000000014fb82 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 000000000118cf88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 000000000169fb6f R14: 00007fd91da749c0 R15: 000000000118cf4c Modules linked in: ---[ end trace 93f1896513f126ab ]--- RIP: 0010:__phys_addr+0xa7/0x110 arch/x86/mm/physaddr.c:28 Code: 35 23 0a 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 90 69 40 00 48 85 db 75 0d e8 06 6d 40 00 4c 89 e0 5b 5d 41 5c c3 e8 f9 6c 40 00 <0f> 0b e8 f2 6c 40 00 48 c7 c0 10 50 e9 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc9001774f938 EFLAGS: 00010212 RAX: 0000000000000458 RBX: 0777777000007700 RCX: ffffc9000a6dd000 RDX: 0000000000040000 RSI: ffffffff8135d147 RDI: 0000000000000006 RBP: 0777777080007700 R08: 0000000000000001 R09: 0000000000000001 R10: 0777777080007700 R11: 0000000000000000 R12: 0777eef000007700 R13: ffffc9001774f9a0 R14: 0000000000000200 R15: dffffc0000000000 FS: 00007fd91da74700(0000) GS:ffff8880ae500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004f8e10 CR3: 000000020c928000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400