------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:28! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 7205 Comm: syz-executor.4 Not tainted 5.9.0-rc7-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: 93 23 0a 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 e0 69 40 00 48 85 db 75 0d e8 56 6d 40 00 4c 89 e0 5b 5d 41 5c c3 e8 49 6d 40 00 <0f> 0b e8 42 6d 40 00 48 c7 c0 10 50 e9 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc90005037908 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0007077007700077 RCX: ffffffff8135d0e8 RDX: ffff8880584e20c0 RSI: ffffffff8135d147 RDI: 0000000000000006 RBP: 0007077087700077 R08: 0000000000000001 R09: 0000000000000001 R10: 0007077087700077 R11: 0000000000000000 R12: 00077ef007700077 R13: ffffc90005037970 R14: 0000000000000200 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880ae500000(0063) knlGS:00000000092e7900 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000032c24000 CR3: 00000000894b3000 CR4: 00000000001506e0 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:3316 [inline] __do_kmalloc mm/slab.c:3657 [inline] __kmalloc+0x178/0x360 mm/slab.c:3668 kmalloc include/linux/slab.h:559 [inline] tomoyo_realpath_from_path+0xc3/0x620 security/tomoyo/realpath.c:254 tomoyo_get_realpath security/tomoyo/file.c:151 [inline] tomoyo_path_perm+0x21b/0x400 security/tomoyo/file.c:822 security_inode_getattr+0xcf/0x140 security/security.c:1278 vfs_getattr fs/stat.c:121 [inline] vfs_statx+0x170/0x390 fs/stat.c:206 vfs_lstat include/linux/fs.h:3178 [inline] __do_compat_sys_ia32_lstat64+0x85/0xe0 arch/x86/kernel/sys_ia32.c:179 do_syscall_32_irqs_on arch/x86/entry/common.c:78 [inline] __do_fast_syscall_32+0x60/0x90 arch/x86/entry/common.c:137 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:160 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f00549 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000090becb0 EFLAGS: 00000202 ORIG_RAX: 00000000000000c4 RAX: ffffffffffffffda RBX: 00000000090bedac RCX: 00000000090becc0 RDX: 0000000000000003 RSI: 00000000092e82a0 RDI: 00000000080d8a9e RBP: 00000000090bedac R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: