------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:28! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 2976 Comm: systemd-udevd Not tainted 5.16.0-rc2-next-20211125-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 f6 f9 42 00 48 85 db 75 0f e8 5c f7 42 00 4c 89 e0 5b 5d 41 5c 41 5d c3 e8 4d f7 42 00 <0f> 0b e8 46 f7 42 00 48 c7 c0 10 50 8b 8b 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc9000281f9f8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0770007707707700 RCX: 0000000000000000 RDX: ffff88801dcb1d40 RSI: ffffffff8134ed93 RDI: 0000000000000003 RBP: 0770007787707700 R08: 0770007787707700 R09: 000000008020001a R10: ffffffff8134ed0e R11: 0000000000000000 R12: 077077f707707700 R13: ffffc9000281fa58 R14: ffffea0000000000 R15: 0770007707707700 FS: 00007f730149c8c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000001e3ec000 CR4: 00000000003526e0 Call Trace: virt_to_head_page include/linux/mm.h:861 [inline] qlink_to_cache mm/kasan/quarantine.c:120 [inline] qlist_free_all+0x76/0xf0 mm/kasan/quarantine.c:162 kasan_quarantine_reduce+0x180/0x200 mm/kasan/quarantine.c:272 __kasan_slab_alloc+0xa2/0xc0 mm/kasan/common.c:444 kasan_slab_alloc include/linux/kasan.h:259 [inline] slab_post_alloc_hook mm/slab.h:519 [inline] slab_alloc_node mm/slub.c:3234 [inline] slab_alloc mm/slub.c:3242 [inline] __kmalloc+0x1e7/0x340 mm/slub.c:4419 kmalloc include/linux/slab.h:595 [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:1334 vfs_getattr fs/stat.c:157 [inline] vfs_fstat+0x43/0xb0 fs/stat.c:182 __do_sys_newfstat+0x81/0x100 fs/stat.c:422 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:0x7f730030e2e2 Code: 48 8b 05 b9 db 2b 00 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 83 ff 01 77 33 48 63 fe b8 05 00 00 00 48 89 d6 0f 05 <48> 3d 00 f0 ff ff 77 06 f3 c3 0f 1f 40 00 48 8b 15 81 db 2b 00 f7 RSP: 002b:00007ffde758ab58 EFLAGS: 00000246 ORIG_RAX: 0000000000000005 RAX: ffffffffffffffda RBX: 0000000000000011 RCX: 00007f730030e2e2 RDX: 00007ffde758ab60 RSI: 00007ffde758ab60 RDI: 0000000000000011 RBP: 00007f730149c710 R08: 000055f90675e200 R09: 0000000000001010 R10: 00007f73005ccb58 R11: 0000000000000246 R12: 0000000000000000 R13: 000055f90675e030 R14: 00000000000000fd R15: 000055f90675e030 Modules linked in: ---[ end trace 26bf53e74b55d20d ]--- 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 f6 f9 42 00 48 85 db 75 0f e8 5c f7 42 00 4c 89 e0 5b 5d 41 5c 41 5d c3 e8 4d f7 42 00 <0f> 0b e8 46 f7 42 00 48 c7 c0 10 50 8b 8b 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc9000281f9f8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0770007707707700 RCX: 0000000000000000 RDX: ffff88801dcb1d40 RSI: ffffffff8134ed93 RDI: 0000000000000003 RBP: 0770007787707700 R08: 0770007787707700 R09: 000000008020001a R10: ffffffff8134ed0e R11: 0000000000000000 R12: 077077f707707700 R13: ffffc9000281fa58 R14: ffffea0000000000 R15: 0770007707707700 FS: 00007f730149c8c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000001e3ec000 CR4: 00000000003526e0