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: 18700 Comm: syz-executor.1 Not tainted 4.14.144+ #0 task: 0000000022e9e264 task.stack: 00000000815b8e94 RIP: 0010:do_tcp_sendpages+0x33c/0x1780 net/ipv4/tcp.c:967 RSP: 0018:ffff8881a46f76a8 EFLAGS: 00010206 RAX: 000000000000000f RBX: 0000000000000000 RCX: 000000000000681b RDX: ffffffff8252c9ea RSI: ffffc90003fea000 RDI: 0000000000000078 RBP: 0000000000005580 R08: 0000000000000001 R09: 0000000000000001 R10: fffffbfff5e45ba5 R11: ffffffffaf22dd2b R12: ffffea000605ea00 R13: dffffc0000000000 R14: ffff88819d875800 R15: 0000000000028000 FS: 00007f8790f62700(0000) GS:ffff8881dbb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2e526000 CR3: 000000019d57c001 CR4: 00000000001606a0 DR0: 0000000020000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: tcp_sendpage_locked net/ipv4/tcp.c:1076 [inline] tcp_sendpage_locked+0x81/0x130 net/ipv4/tcp.c:1067 tcp_sendpage+0x3a/0x60 net/ipv4/tcp.c:1086 inet_sendpage+0x197/0x5d0 net/ipv4/af_inet.c:777 kernel_sendpage+0x84/0xd0 net/socket.c:3406 sock_sendpage+0x84/0xa0 net/socket.c:871 pipe_to_sendpage+0x23d/0x300 fs/splice.c:451 splice_from_pipe_feed fs/splice.c:502 [inline] __splice_from_pipe+0x331/0x740 fs/splice.c:626 splice_from_pipe+0xd9/0x140 fs/splice.c:661 do_splice_from fs/splice.c:851 [inline] direct_splice_actor+0x118/0x160 fs/splice.c:1018 splice_direct_to_actor+0x292/0x760 fs/splice.c:973 do_splice_direct+0x177/0x240 fs/splice.c:1061 do_sendfile+0x493/0xb20 fs/read_write.c:1445 SYSC_sendfile64 fs/read_write.c:1506 [inline] SyS_sendfile64+0x11f/0x140 fs/read_write.c:1492 do_syscall_64+0x19b/0x520 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x4598e9 RSP: 002b:00007f8790f61c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00000000004598e9 RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 00008000fffffffe R11: 0000000000000246 R12: 00007f8790f626d4 R13: 00000000004c709e R14: 00000000004dc750 R15: 00000000ffffffff Code: 24 08 48 0f 44 d8 e8 84 4c de fe 48 85 ed 0f 84 7e 03 00 00 e8 76 4c de fe 48 8d 7b 78 8b ac 24 c8 00 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 74 08 3c 03 0f 8e 15 11 00 00 2b 6b 78 85 RIP: do_tcp_sendpages+0x33c/0x1780 net/ipv4/tcp.c:967 RSP: ffff8881a46f76a8 audit: type=1326 audit(3137606847.913:708): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=18696 comm="syz-executor.1" exe="/root/syz-executor.1" sig=9 arch=c000003e syscall=228 compat=0 ip=0x45c72a code=0x0 ---[ end trace 1b03e7efb1329d69 ]---