------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:28! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 3902 Comm: systemd-journal Not tainted 5.9.0-rc5-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: 95 7d 09 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 a0 90 3f 00 48 85 db 75 0d e8 f6 93 3f 00 4c 89 e0 5b 5d 41 5c c3 e8 e9 93 3f 00 <0f> 0b e8 e2 93 3f 00 48 c7 c0 10 50 a9 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc90001477ab8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000007700007700 RCX: ffffffff8134b998 RDX: ffff888092f5a3c0 RSI: ffffffff8134b9f7 RDI: 0000000000000006 RBP: 0000007780007700 R08: 0000000000000001 R09: 0000000000000001 R10: 0000007780007700 R11: 0000000000000001 R12: 000077f700007700 R13: ffffc90001477b20 R14: 0000000000000200 R15: dffffc0000000000 FS: 00007f15d9bf98c0(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f15d51a6000 CR3: 0000000092842000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: virt_to_head_page include/linux/mm.h:848 [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] __do_kmalloc mm/slab.c:3653 [inline] __kmalloc+0x178/0x310 mm/slab.c:3664 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_number_perm+0x1cb/0x4d0 security/tomoyo/file.c:723 security_file_ioctl+0x50/0xb0 security/security.c:1480 __do_sys_ioctl fs/ioctl.c:747 [inline] __se_sys_ioctl fs/ioctl.c:739 [inline] __x64_sys_ioctl+0xb3/0x200 fs/ioctl.c:739 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f15d8ebb017 Code: 00 00 00 48 8b 05 81 7e 2b 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 51 7e 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffc86155f58 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ffc861564d0 RCX: 00007f15d8ebb017 RDX: 00007ffc86155f8c RSI: 000000000000541b RDI: 0000000000000003 RBP: 00007ffc86155fb0 R08: 0000000000000008 R09: 00007ffc861f90f0 R10: 000000000002b9cc R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000003 R14: 0000559fd8310958 R15: 0005af781ec013b4 Modules linked in: ---[ end trace b443e2ea6981f1da ]--- RIP: 0010:__phys_addr+0xa7/0x110 arch/x86/mm/physaddr.c:28 Code: 95 7d 09 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 a0 90 3f 00 48 85 db 75 0d e8 f6 93 3f 00 4c 89 e0 5b 5d 41 5c c3 e8 e9 93 3f 00 <0f> 0b e8 e2 93 3f 00 48 c7 c0 10 50 a9 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc90001477ab8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000007700007700 RCX: ffffffff8134b998 RDX: ffff888092f5a3c0 RSI: ffffffff8134b9f7 RDI: 0000000000000006 RBP: 0000007780007700 R08: 0000000000000001 R09: 0000000000000001 R10: 0000007780007700 R11: 0000000000000001 R12: 000077f700007700 R13: ffffc90001477b20 R14: 0000000000000200 R15: dffffc0000000000 FS: 00007f15d9bf98c0(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f15d51a6000 CR3: 0000000092842000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400