------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:28! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 3919 Comm: systemd-udevd 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: 7f 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:ffffc900011f7918 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0007770000000000 RCX: ffffffff8135d0e8 RDX: ffff8880a2da00c0 RSI: ffffffff8135d147 RDI: 0000000000000006 RBP: 0007770080000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0007770080000000 R11: 0000000000000000 R12: 0007ee8000000000 R13: ffffc900011f7980 R14: 0000000000000200 R15: dffffc0000000000 FS: 00007f2a4c6328c0(0000) GS:ffff8880ae400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055dcff3e90f8 CR3: 00000000a338d000 CR4: 00000000001526f0 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_sys_newlstat+0x91/0x110 fs/stat.c:374 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f2a4b4a5335 Code: 69 db 2b 00 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 83 ff 01 48 89 f0 77 30 48 89 c7 48 89 d6 b8 06 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 03 f3 c3 90 48 8b 15 31 db 2b 00 f7 d8 64 89 RSP: 002b:00007fff0aa3cc88 EFLAGS: 00000246 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 000055dcff3b1130 RCX: 00007f2a4b4a5335 RDX: 00007fff0aa3ccc0 RSI: 00007fff0aa3ccc0 RDI: 000055dcff3b0130 RBP: 00007fff0aa3cd80 R08: 00007f2a4b764178 R09: 0000000000001010 R10: 00007f2a4b763b58 R11: 0000000000000246 R12: 000055dcff3b0130 R13: 000055dcff3b0155 R14: 000055dcff3ad294 R15: 000055dcff3ad295 Modules linked in: ---[ end trace 5eee3f18c4ea2058 ]--- RIP: 0010:__phys_addr+0xa7/0x110 arch/x86/mm/physaddr.c:28 Code: 7f 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:ffffc900011f7918 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0007770000000000 RCX: ffffffff8135d0e8 RDX: ffff8880a2da00c0 RSI: ffffffff8135d147 RDI: 0000000000000006 RBP: 0007770080000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0007770080000000 R11: 0000000000000000 R12: 0007ee8000000000 R13: ffffc900011f7980 R14: 0000000000000200 R15: dffffc0000000000 FS: 00007f2a4c6328c0(0000) GS:ffff8880ae400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055dcff3e90f8 CR3: 00000000a338d000 CR4: 00000000001526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400