------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:27! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 8938 Comm: syz-executor.5 Not tainted 4.14.212-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880a357c140 task.stack: ffff8881b0cf8000 RIP: 0010:__phys_addr+0x80/0xe0 arch/x86/mm/physaddr.c:27 RSP: 0018:ffff8881b0cff700 EFLAGS: 00010246 RAX: 0000000000040000 RBX: 0600c6ff0606c480 RCX: ffffc900066df000 RDX: 0000000000040000 RSI: ffffffff8125d950 RDI: 0600c6ff0606c480 RBP: 0600c6ff8606c480 R08: ffffea0000cc0080 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 06013e7f0606c480 R13: ffff8881b0cff758 R14: 0000000000000000 R15: 0000000000000286 FS: 00007f82537d1700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0b77b91db8 CR3: 000000018c5a9000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: virt_to_head_page include/linux/mm.h:612 [inline] qlink_to_cache mm/kasan/quarantine.c:127 [inline] qlist_free_all+0xbb/0x140 mm/kasan/quarantine.c:163 quarantine_reduce+0x185/0x200 mm/kasan/quarantine.c:259 kasan_kmalloc+0xa2/0x160 mm/kasan/kasan.c:536 slab_post_alloc_hook mm/slab.h:442 [inline] slab_alloc mm/slab.c:3390 [inline] __do_kmalloc mm/slab.c:3718 [inline] __kmalloc+0x144/0x400 mm/slab.c:3729 kmalloc_array include/linux/slab.h:607 [inline] kcalloc include/linux/slab.h:618 [inline] iter_file_splice_write+0x143/0xa90 fs/splice.c:692 do_splice_from fs/splice.c:851 [inline] direct_splice_actor+0x115/0x160 fs/splice.c:1018 splice_direct_to_actor+0x27c/0x730 fs/splice.c:973 do_splice_direct+0x164/0x210 fs/splice.c:1061 do_sendfile+0x47f/0xb30 fs/read_write.c:1441 SYSC_sendfile64 fs/read_write.c:1496 [inline] SyS_sendfile64+0x9b/0x110 fs/read_write.c:1488 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x45e149 RSP: 002b:00007f82537d0c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 000000000045e149 RDX: 0000000020000100 RSI: 0000000000000004 RDI: 0000000000000004 RBP: 000000000119bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 00008080ffffff7e R11: 0000000000000246 R12: 000000000119bf8c R13: 00007ffd0293682f R14: 00007f82537d19c0 R15: 000000000119bf8c Code: c2 7f 04 84 d2 75 26 0f b6 0d d6 bb e2 08 4c 89 e0 48 d3 e8 48 85 c0 75 0d e8 fd 65 31 00 4c 89 e0 5b 5d 41 5c c3 e8 f0 65 31 00 <0f> 0b 48 c7 c7 09 95 08 8a e8 72 34 5b 00 eb cc e8 db 65 31 00 RIP: __phys_addr+0x80/0xe0 arch/x86/mm/physaddr.c:27 RSP: ffff8881b0cff700 ---[ end trace 74fb0cd63d67976c ]---