__sys_sendmsg+0xa3/0x120 net/socket.c:2096 kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access SYSC_sendmsg net/socket.c:2107 [inline] SyS_sendmsg+0x27/0x40 net/socket.c:2103 general protection fault: 0000 [#1] PREEMPT SMP KASAN do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 Modules linked in: CPU: 0 PID: 16947 Comm: syz-executor.5 Not tainted 4.14.215-syzkaller #0 entry_SYSCALL_64_after_hwframe+0x46/0xbb Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0033:0x45e219 task: ffff888078294280 task.stack: ffff8880a34d8000 RSP: 002b:00007f0884b54c68 EFLAGS: 00000246 RIP: 0010:vhost_umem_interval_tree_iter_first drivers/vhost/vhost.c:53 [inline] RIP: 0010:vhost_del_umem_range drivers/vhost/vhost.c:971 [inline] RIP: 0010:vhost_process_iotlb_msg drivers/vhost/vhost.c:1042 [inline] RIP: 0010:vhost_chr_write_iter drivers/vhost/vhost.c:1071 [inline] RIP: 0010:vhost_chr_write_iter+0x863/0x10f0 drivers/vhost/vhost.c:1055 ORIG_RAX: 000000000000002e RSP: 0018:ffff8880a34dfc00 EFLAGS: 00010246 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 000000000045e219 RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000003 RAX: dffffc0000000000 RBX: ffff888072b275c0 RCX: 0000000000000000 RBP: 00007f0884b54ca0 R08: 0000000000000000 R09: 0000000000000000 RDX: 0000000000000002 RSI: ffffffff8598a465 RDI: ffff888072b27680 RBP: ffffed100e564ec9 R08: 0000000000000000 R09: 00000000000406ac R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R10: ffff888078294b58 R11: ffff888078294280 R12: 0000000000000002 R13: 00007ffde54339bf R14: 00007f0884b559c0 R15: 000000000119bf8c R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff1101469bf87 FS: 00007fea120d7700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2857187000 CR3: 00000000a9589000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: 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:0x45e219 RSP: 002b:00007fea120d6c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e219 RDX: 0000000000000048 RSI: 0000000020000200 RDI: 0000000000000003 RBP: 000000000119bfc0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c R13: 00007ffdd9f0331f R14: 00007fea120d79c0 R15: 000000000119bf8c Code: ff df 48 89 f9 48 c1 e9 03 80 3c 01 00 0f 85 cd 06 00 00 4c 8b ab c0 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 e9 48 c1 e9 03 <80> 3c 01 00 0f 85 96 06 00 00 49 8b 6d 00 48 85 ed 0f 84 e4 03 RIP: vhost_umem_interval_tree_iter_first drivers/vhost/vhost.c:53 [inline] RSP: ffff8880a34dfc00 RIP: vhost_del_umem_range drivers/vhost/vhost.c:971 [inline] RSP: ffff8880a34dfc00 RIP: vhost_process_iotlb_msg drivers/vhost/vhost.c:1042 [inline] RSP: ffff8880a34dfc00 RIP: vhost_chr_write_iter drivers/vhost/vhost.c:1071 [inline] RSP: ffff8880a34dfc00 RIP: vhost_chr_write_iter+0x863/0x10f0 drivers/vhost/vhost.c:1055 RSP: ffff8880a34dfc00 ---[ end trace 219fe6e9ccb317df ]---