------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:27! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 7964 Comm: sshd Not tainted 4.14.221-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880b4f1e040 task.stack: ffff8880b35b8000 RIP: 0010:__phys_addr+0x80/0xe0 arch/x86/mm/physaddr.c:27 RSP: 0018:ffff8880b35bf658 EFLAGS: 00010297 RAX: ffff8880b4f1e040 RBX: 6262626262626262 RCX: 1ffff110169e3d1d RDX: 0000000000000000 RSI: ffff8880b4f1e8f0 RDI: 6262626262626262 RBP: 62626262e2626262 R08: 00000000000000d8 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 6262d9e262626262 R13: ffff8880b35bf6b0 R14: 0000000000000000 R15: 0000000000000286 FS: 00007f108ed228c0(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000033ca708 CR3: 00000000a9ca6000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 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_node mm/slab.c:3333 [inline] kmem_cache_alloc_node+0x133/0x410 mm/slab.c:3640 __alloc_skb+0x5c/0x510 net/core/skbuff.c:193 alloc_skb_fclone include/linux/skbuff.h:1022 [inline] sk_stream_alloc_skb+0xb1/0x760 net/ipv4/tcp.c:855 tcp_sendmsg_locked+0xed8/0x2ef0 net/ipv4/tcp.c:1301 tcp_sendmsg+0x2b/0x40 net/ipv4/tcp.c:1457 inet_sendmsg+0x11a/0x4e0 net/ipv4/af_inet.c:762 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 net/socket.c:656 sock_write_iter+0x22c/0x370 net/socket.c:925 call_write_iter include/linux/fs.h:1778 [inline] new_sync_write fs/read_write.c:469 [inline] __vfs_write+0x44c/0x630 fs/read_write.c:482 vfs_write+0x17f/0x4d0 fs/read_write.c:544 SYSC_write fs/read_write.c:590 [inline] SyS_write+0xf2/0x210 fs/read_write.c:582 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f108ce8b970 RSP: 002b:00007ffea1cbdf98 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000324 RCX: 00007f108ce8b970 RDX: 0000000000000324 RSI: 0000561f7fc0cbb8 RDI: 0000000000000003 RBP: 0000561f7fc04e90 R08: 00007ffea1cbe050 R09: 0000000000006000 R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffea1cbe02f R14: 0000561f7ec67be7 R15: 0000000000000003 Code: c2 7f 04 84 d2 75 26 0f b6 0d c6 a2 e3 08 4c 89 e0 48 d3 e8 48 85 c0 75 0d e8 6d 21 30 00 4c 89 e0 5b 5d 41 5c c3 e8 60 21 30 00 <0f> 0b 48 c7 c7 49 a1 08 8a e8 12 9a 59 00 eb cc e8 4b 21 30 00 RIP: __phys_addr+0x80/0xe0 arch/x86/mm/physaddr.c:27 RSP: ffff8880b35bf658 ---[ end trace b4766c7fe05e52bb ]---