------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:28! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 4874 Comm: systemd-udevd Not tainted 5.13.0-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 66 20 41 00 48 85 db 75 0f e8 fc 1a 41 00 4c 89 e0 5b 5d 41 5c 41 5d c3 e8 ed 1a 41 00 <0f> 0b e8 e6 1a 41 00 48 c7 c0 10 50 eb 8b 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc9000160f9f8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000070700000000 RCX: 0000000000000000 RDX: ffff88801e77d4c0 RSI: ffffffff81346f43 RDI: 0000000000000003 RBP: 0000070780000000 R08: 0000070780000000 R09: ffffffff81bb5105 R10: ffffffff81346ebe R11: 000000000000003f R12: 00007e8700000000 R13: ffffc9000160fa58 R14: ffffea0000000000 R15: 0000070700000000 FS: 00007f9d1ffa08c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000201b3000 CR3: 0000000017dde000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: virt_to_head_page include/linux/mm.h:891 [inline] qlink_to_cache mm/kasan/quarantine.c:120 [inline] qlist_free_all+0x76/0xc0 mm/kasan/quarantine.c:162 kasan_quarantine_reduce+0x180/0x200 mm/kasan/quarantine.c:272 __kasan_slab_alloc+0x8e/0xa0 mm/kasan/common.c:444 kasan_slab_alloc include/linux/kasan.h:253 [inline] slab_post_alloc_hook mm/slab.h:512 [inline] slab_alloc_node mm/slub.c:2970 [inline] slab_alloc mm/slub.c:2978 [inline] __kmalloc+0x1f4/0x330 mm/slub.c:4106 kmalloc include/linux/slab.h:596 [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:1332 vfs_getattr fs/stat.c:139 [inline] vfs_fstat+0x43/0xb0 fs/stat.c:164 __do_sys_newfstat+0x81/0x100 fs/stat.c:404 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:0x7f9d1ee122e2 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:00007fff373a71b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000005 RAX: ffffffffffffffda RBX: 0000000000000011 RCX: 00007f9d1ee122e2 RDX: 00007fff373a71c0 RSI: 00007fff373a71c0 RDI: 0000000000000011 RBP: 00007f9d1ffa0710 R08: 0000557fbe20fec0 R09: 0000000000001010 R10: 00000000000001a0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000557fbde00ee0 R14: 00000000000000fd R15: 0000557fbde00ee0 Modules linked in: ---[ end trace 68f311a312745c08 ]--- 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 66 20 41 00 48 85 db 75 0f e8 fc 1a 41 00 4c 89 e0 5b 5d 41 5c 41 5d c3 e8 ed 1a 41 00 <0f> 0b e8 e6 1a 41 00 48 c7 c0 10 50 eb 8b 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc9000160f9f8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000070700000000 RCX: 0000000000000000 RDX: ffff88801e77d4c0 RSI: ffffffff81346f43 RDI: 0000000000000003 RBP: 0000070780000000 R08: 0000070780000000 R09: ffffffff81bb5105 R10: ffffffff81346ebe R11: 000000000000003f R12: 00007e8700000000 R13: ffffc9000160fa58 R14: ffffea0000000000 R15: 0000070700000000 FS: 00007f9d1ffa08c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8cc955c018 CR3: 0000000017dde000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400