inet_dgram_connect+0x114/0x1e0 net/ipv4/af_inet.c:540 SYSC_connect+0x1f6/0x2d0 net/socket.c:1655 kasan: GPF could be caused by NULL-ptr deref or user memory access SyS_connect+0x24/0x30 net/socket.c:1636 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 general protection fault: 0000 [#1] PREEMPT SMP KASAN entry_SYSCALL_64_after_hwframe+0x42/0xb7 Modules linked in: RIP: 0033:0x459879 RSP: 002b:00007f1af71afc78 EFLAGS: 00000246 CPU: 0 PID: 8531 Comm: syz-executor.1 Not tainted 4.14.141 #37 ORIG_RAX: 000000000000002a Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RAX: ffffffffffffffda RBX: 00007f1af71afc90 RCX: 0000000000459879 task: ffff88805b9c0680 task.stack: ffff88804a6e0000 RDX: 0000000000000010 RSI: 0000000020004cc0 RDI: 0000000000000004 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+0x4a9/0x1260 drivers/vhost/vhost.c:1055 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 RSP: 0018:ffff88804a6e7b90 EFLAGS: 00010246 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1af71b06d4 R13: 00000000004bfdc4 R14: 00000000004d1c00 R15: 0000000000000005 RAX: 0000000000000002 RBX: dffffc0000000000 RCX: 0000000000000000 kobject: 'loop4' (ffff8880a4a90920): kobject_uevent_env RDX: dffffc0000000000 RSI: ffffffff84a7f129 RDI: ffff88805586ab80 kobject: 'loop4' (ffff8880a4a90920): fill_kobj_path: path = '/devices/virtual/block/loop4' RBP: ffff88804a6e7cb0 R08: dffffc0000000000 R09: ffffffff88caf6b8 R10: ffff88804a6e7b80 R11: ffff88805b9c0680 R12: ffff88805586f288 R13: 0000000020000100 R14: ffff88805586aac0 R15: 0000000000000000 FS: 00007fa14c397700(0000) GS:ffff8880aee00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001c13040 CR3: 000000005afb3000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vhost_net_chr_write_iter+0x59/0x70 drivers/vhost/net.c:1365 call_write_iter include/linux/fs.h:1777 [inline] new_sync_write fs/read_write.c:469 [inline] __vfs_write+0x4a7/0x6b0 fs/read_write.c:482 vfs_write+0x198/0x500 fs/read_write.c:544 SYSC_write fs/read_write.c:590 [inline] SyS_write+0xfd/0x230 fs/read_write.c:582 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x459879 RSP: 002b:00007fa14c396c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459879 RDX: 0000000000000068 RSI: 00000000200002c0 RDI: 0000000000000005 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa14c3976d4 R13: 00000000004c9c2e R14: 00000000004e13c8 R15: 00000000ffffffff Code: ff ff 48 89 f9 48 c1 e9 03 80 3c 11 00 0f 85 9c 0c 00 00 49 8b 8e c0 00 00 00 48 ba 00 00 00 00 00 fc ff df 49 89 cf 48 c1 e9 03 <80> 3c 11 00 0f 85 61 0c 00 00 4d 8b 27 4d 85 e4 0f 84 27 09 00 RIP: vhost_del_umem_range drivers/vhost/vhost.c:971 [inline] RSP: ffff88804a6e7b90 RIP: vhost_process_iotlb_msg drivers/vhost/vhost.c:1042 [inline] RSP: ffff88804a6e7b90 RIP: vhost_chr_write_iter drivers/vhost/vhost.c:1071 [inline] RSP: ffff88804a6e7b90 RIP: vhost_chr_write_iter+0x4a9/0x1260 drivers/vhost/vhost.c:1055 RSP: ffff88804a6e7b90 kobject: 'rx-0' (ffff88805052f850): kobject_cleanup, parent ffff8880a086e148 kobject: 'rx-0' (ffff88805052f850): auto cleanup 'remove' event kobject: 'loop2' (ffff8880a49c4620): kobject_uevent_env ---[ end trace 4930976376fe7e5d ]--- kobject: 'loop2' (ffff8880a49c4620): fill_kobj_path: path = '/devices/virtual/block/loop2'