------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:28! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 3901 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: 35 23 0a 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 10 6b 40 00 48 85 db 75 0d e8 86 6e 40 00 4c 89 e0 5b 5d 41 5c c3 e8 79 6e 40 00 <0f> 0b e8 72 6e 40 00 48 c7 c0 10 50 e9 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc90003e17ae8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000012000 RCX: ffffffff8135d0e8 RDX: ffff888093cf2380 RSI: ffffffff8135d147 RDI: 0000000000000006 RBP: 0000000080012000 R08: 0000000000000001 R09: ffffffff8d0b7a77 R10: 0000000080012000 R11: 0000000000000000 R12: 0000778000012000 R13: ffffc90003e17b50 R14: 0000000000000200 R15: dffffc0000000000 FS: 00007f9b1ce838c0(0000) GS:ffff8880ae500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555589b95160 CR3: 0000000094181000 CR4: 00000000001526e0 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:3312 [inline] __do_kmalloc mm/slab.c:3653 [inline] __kmalloc+0x178/0x360 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_perm+0x21b/0x400 security/tomoyo/file.c:822 security_path_truncate+0xcf/0x140 security/security.c:1144 do_sys_ftruncate+0x3f7/0x570 fs/open.c:193 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f9b1c146ec7 Code: 73 01 c3 48 8b 0d d1 5f 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 4d 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 5f 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffdb2cbb2b8 EFLAGS: 00000202 ORIG_RAX: 000000000000004d RAX: ffffffffffffffda RBX: 00007ffdb2cbb2f0 RCX: 00007f9b1c146ec7 RDX: 000055c2a04aee80 RSI: 0000000000800000 RDI: 0000000000000010 RBP: 00007ffdb2cbb2e8 R08: 0000000000000008 R09: 000055c2a04af25c R10: 000055c2a04af1e0 R11: 0000000000000202 R12: 000055c2a04af1e0 R13: 00007ffdb2cbb3e8 R14: 000055c29ef5a958 R15: 0005afc031d65f5f Modules linked in: ---[ end trace 7fbf8dac0306858b ]--- RIP: 0010:__phys_addr+0xa7/0x110 arch/x86/mm/physaddr.c:28 Code: 35 23 0a 4c 89 e3 31 ff 48 d3 eb 48 89 de e8 10 6b 40 00 48 85 db 75 0d e8 86 6e 40 00 4c 89 e0 5b 5d 41 5c c3 e8 79 6e 40 00 <0f> 0b e8 72 6e 40 00 48 c7 c0 10 50 e9 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc90003e17ae8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000012000 RCX: ffffffff8135d0e8 RDX: ffff888093cf2380 RSI: ffffffff8135d147 RDI: 0000000000000006 RBP: 0000000080012000 R08: 0000000000000001 R09: ffffffff8d0b7a77 R10: 0000000080012000 R11: 0000000000000000 R12: 0000778000012000 R13: ffffc90003e17b50 R14: 0000000000000200 R15: dffffc0000000000 FS: 00007f9b1ce838c0(0000) GS:ffff8880ae500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555589b95160 CR3: 0000000094181000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400