------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:27! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 13364 Comm: syz-executor.1 Not tainted 4.14.181-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888000100640 task.stack: ffff88820aeb8000 RIP: 0010:__phys_addr+0x80/0xe0 arch/x86/mm/physaddr.c:27 RSP: 0000:ffff88820aebfc08 EFLAGS: 00010297 RAX: ffff888000100640 RBX: 0007070000000707 RCX: 1ffff110000201dd RDX: 0000000000000000 RSI: ffff888000100ef0 RDI: 0007070000000707 RBP: 0007070080000707 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 00077e8000000707 R13: 0007070000000707 R14: ffff88820aebfc68 R15: 0000000000000000 FS: 0000000001769940(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc37973e68 CR3: 0000000091fb4000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: virt_to_head_page include/linux/mm.h:600 [inline] qlink_to_cache+0x5/0x30 mm/kasan/quarantine.c:127 qlist_free_all+0xb6/0x110 mm/kasan/quarantine.c:163 quarantine_reduce+0x140/0x170 mm/kasan/quarantine.c:259 kasan_kmalloc+0x95/0xc0 mm/kasan/kasan.c:536 slab_post_alloc_hook mm/slab.h:442 [inline] slab_alloc mm/slab.c:3390 [inline] kmem_cache_alloc+0x111/0x3c0 mm/slab.c:3550 ptlock_alloc+0x1d/0x70 mm/memory.c:4741 ptlock_init include/linux/mm.h:1752 [inline] pgtable_page_ctor include/linux/mm.h:1786 [inline] pte_alloc_one+0x57/0x100 arch/x86/mm/pgtable.c:33 do_fault_around mm/memory.c:3587 [inline] do_read_fault mm/memory.c:3628 [inline] do_fault mm/memory.c:3759 [inline] handle_pte_fault mm/memory.c:3989 [inline] __handle_mm_fault+0x29f2/0x3700 mm/memory.c:4113 handle_mm_fault+0x306/0x794 mm/memory.c:4150 __do_page_fault+0x578/0xb50 arch/x86/mm/fault.c:1442 page_fault+0x45/0x50 arch/x86/entry/entry_64.S:1123 RIP: 0000: (null) RSP: 38c18f80:00007ffd38c18fc0 EFLAGS: 00000001 Code: c2 7f 04 84 d2 75 26 0f b6 0d b6 5b 48 07 4c 89 e0 48 d3 e8 48 85 c0 75 0d e8 cd 13 31 00 4c 89 e0 5b 5d 41 5c c3 e8 c0 13 31 00 <0f> 0b 48 c7 c7 49 e9 71 88 e8 82 55 5a 00 eb cc e8 ab 13 31 00 RIP: __phys_addr+0x80/0xe0 arch/x86/mm/physaddr.c:27 RSP: ffff88820aebfc08 ---[ end trace 45599360411f2d6b ]---