kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN NOPTI Modules linked in: CPU: 1 PID: 7095 Comm: syz-executor.2 Not tainted 4.14.145+ #0 task: 00000000f3538ef5 task.stack: 00000000f18f8340 RIP: 0010:tcp_sendmsg_locked+0x509/0x2f50 net/ipv4/tcp.c:1281 RSP: 0018:ffff8881ae087998 EFLAGS: 00010206 RAX: 0000000000000011 RBX: ffff8881799ec000 RCX: 0000000000008ec1 RDX: ffffffff8252ea80 RSI: ffffc90000509000 RDI: 0000000000000088 RBP: ffff8881d45f4212 R08: 0000000000000001 R09: 0000000000000001 R10: fffffbfff43c5b9d R11: 0000000000000000 R12: ffff8881ae087c00 R13: 0000000000000000 R14: ffff8881d45f4200 R15: dffffc0000000000 FS: 00007f2b1312d700(0000) GS:ffff8881dbb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ea25000 CR3: 000000017ef32005 CR4: 00000000001606a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: tcp_sendmsg+0x2b/0x40 net/ipv4/tcp.c:1457 inet_sendmsg+0x15b/0x520 net/ipv4/af_inet.c:760 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb7/0x100 net/socket.c:656 sock_write_iter+0x20f/0x360 net/socket.c:925 call_write_iter include/linux/fs.h:1788 [inline] new_sync_write fs/read_write.c:471 [inline] __vfs_write+0x401/0x5a0 fs/read_write.c:484 vfs_write+0x17f/0x4d0 fs/read_write.c:546 SYSC_write fs/read_write.c:594 [inline] SyS_write+0x102/0x250 fs/read_write.c:586 do_syscall_64+0x19b/0x520 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x459a09 RSP: 002b:00007f2b1312cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459a09 RDX: 00000000fffffffe RSI: 0000000020000380 RDI: 0000000000000006 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2b1312d6d4 R13: 00000000004c5f88 R14: 00000000004e0610 R15: 00000000ffffffff Code: ee 2b de fe 48 85 db 0f 84 12 08 00 00 e8 e0 2b de fe 8b 84 24 08 01 00 00 49 8d bd 88 00 00 00 89 44 24 08 48 89 f8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 74 06 0f 8e 07 24 00 00 41 f6 85 88 00 00 RIP: tcp_sendmsg_locked+0x509/0x2f50 net/ipv4/tcp.c:1281 RSP: ffff8881ae087998 ---[ end trace 7b8bba14145e7a98 ]---