------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:28! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 7064 Comm: syz-executor.2 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 e0 69 40 00 48 85 db 75 0d e8 56 6d 40 00 4c 89 e0 5b 5d 41 5c c3 e8 49 6d 40 00 <0f> 0b e8 42 6d 40 00 48 c7 c0 10 50 e9 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc90001837650 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0770000000077000 RCX: ffffffff8135d0e8 RDX: ffff8880a762e200 RSI: ffffffff8135d147 RDI: 0000000000000006 RBP: 0770000080077000 R08: 0000000000000001 R09: ffffffff8d0c09f7 R10: 0770000080077000 R11: 0000000000000000 R12: 0770778000077000 R13: ffffc900018376b8 R14: 0000000000000200 R15: dffffc0000000000 FS: 0000000002d77940(0000) GS:ffff8880ae500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000016a5374 CR3: 00000000908e1000 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:3316 [inline] kmem_cache_alloc+0x13a/0x3f0 mm/slab.c:3486 vm_area_dup+0x88/0x2b0 kernel/fork.c:355 dup_mmap kernel/fork.c:531 [inline] dup_mm+0x508/0x1300 kernel/fork.c:1355 copy_mm kernel/fork.c:1411 [inline] copy_process+0x28e4/0x6940 kernel/fork.c:2070 _do_fork+0xe8/0xb10 kernel/fork.c:2429 __do_sys_clone+0xc8/0x110 kernel/fork.c:2546 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45c74a Code: f7 d8 64 89 04 25 d4 02 00 00 64 4c 8b 0c 25 10 00 00 00 31 d2 4d 8d 91 d0 02 00 00 31 f6 bf 11 00 20 01 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 f5 00 00 00 85 c0 41 89 c5 0f 85 fc 00 00 RSP: 002b:000000000169fd60 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 000000000169fd60 RCX: 000000000045c74a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 000000000169fda0 R08: 0000000000000001 R09: 0000000002d77940 R10: 0000000002d77c10 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000001 R15: 000000000169fdf0 Modules linked in: ---[ end trace 68147a4e20d6ba03 ]--- 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 e0 69 40 00 48 85 db 75 0d e8 56 6d 40 00 4c 89 e0 5b 5d 41 5c c3 e8 49 6d 40 00 <0f> 0b e8 42 6d 40 00 48 c7 c0 10 50 e9 89 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc90001837650 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0770000000077000 RCX: ffffffff8135d0e8 RDX: ffff8880a762e200 RSI: ffffffff8135d147 RDI: 0000000000000006 RBP: 0770000080077000 R08: 0000000000000001 R09: ffffffff8d0c09f7 R10: 0770000080077000 R11: 0000000000000000 R12: 0770778000077000 R13: ffffc900018376b8 R14: 0000000000000200 R15: dffffc0000000000 FS: 0000000002d77940(0000) GS:ffff8880ae500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f774480a000 CR3: 00000000908e1000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400