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: 0 PID: 3050 Comm: syz-executor.5 Not tainted 4.14.143+ #0 task: 000000009377eff8 task.stack: 000000006e27b5e6 RIP: 0010:do_tcp_sendpages+0x33c/0x1780 net/ipv4/tcp.c:967 RSP: 0018:ffff8881c58b76a8 EFLAGS: 00010206 RAX: 000000000000000f RBX: 0000000000000000 RCX: 0000000000008ebb RDX: ffffffff8252c8ca RSI: ffffc90000d55000 RDI: 0000000000000078 RBP: 0000000000005580 R08: 0000000000028000 R09: ffffed103a64e728 R10: ffffed103a64e727 R11: ffff8881d327393f R12: ffffea00066d8340 R13: dffffc0000000000 R14: ffff8881d3273700 R15: 0000000000028000 FS: 00007f44a0f56700(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000075c000 CR3: 00000001c5a06003 CR4: 00000000001606b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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:1500 [inline] SyS_sendfile64+0xab/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:00007f44a0f55c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00000000004598e9 RDX: 0000000020d83ff8 RSI: 0000000000000009 RDI: 0000000000000007 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 00008000fffffffe R11: 0000000000000246 R12: 00007f44a0f566d4 R13: 00000000004c709e R14: 00000000004dc750 R15: 00000000ffffffff Code: 24 08 48 0f 44 d8 e8 24 4d de fe 48 85 ed 0f 84 7e 03 00 00 e8 16 4d 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: ffff8881c58b76a8 ---[ end trace 091120140b4dd6f5 ]---