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 Modules linked in: CPU: 0 PID: 11994 Comm: syz-executor.2 Not tainted 4.14.143 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880a4cc4100 task.stack: ffff88805d550000 RIP: 0010:do_tcp_sendpages+0x33d/0x18f0 net/ipv4/tcp.c:967 RSP: 0018:ffff88805d5576b0 EFLAGS: 00010202 RAX: 0000000000000010 RBX: 0000000000000000 RCX: ffffc9000c852000 RDX: 00000000000011ca RSI: ffffffff8523f03b RDI: 0000000000000080 RBP: ffff88805d5577d8 R08: 0000000000028000 R09: ffff8880a4cc49a0 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000240 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff88809177ad00 FS: 00007f20275fd700(0000) GS:ffff8880aee00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3202a000 CR3: 000000008c6df000 CR4: 00000000001426f0 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+0x88/0x140 net/ipv4/tcp.c:1067 tcp_sendpage+0x3f/0x60 net/ipv4/tcp.c:1086 inet_sendpage+0x157/0x580 net/ipv4/af_inet.c:779 kernel_sendpage+0x92/0xf0 net/socket.c:3406 sock_sendpage+0x8b/0xc0 net/socket.c:871 pipe_to_sendpage+0x242/0x340 fs/splice.c:451 splice_from_pipe_feed fs/splice.c:502 [inline] __splice_from_pipe+0x348/0x780 fs/splice.c:626 splice_from_pipe+0xf0/0x150 fs/splice.c:661 generic_splice_sendpage+0x3c/0x50 fs/splice.c:832 do_splice_from fs/splice.c:851 [inline] direct_splice_actor+0x123/0x190 fs/splice.c:1018 splice_direct_to_actor+0x29e/0x7b0 fs/splice.c:973 do_splice_direct+0x18d/0x230 fs/splice.c:1061 do_sendfile+0x4db/0xbd0 fs/read_write.c:1441 SYSC_sendfile64 fs/read_write.c:1502 [inline] SyS_sendfile64+0x102/0x110 fs/read_write.c:1488 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x4598e9 RSP: 002b:00007f20275fcc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00000000004598e9 RDX: 0000000000000000 RSI: 000000000000000c RDI: 0000000000000007 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 00008040fffffffd R11: 0000000000000246 R12: 00007f20275fd6d4 R13: 00000000004c709e R14: 00000000004dc750 R15: 00000000ffffffff Code: ff ff 48 0f 44 d8 e8 43 f2 38 fc 4d 85 e4 0f 84 9b 03 00 00 e8 35 f2 38 fc 48 8d bb 80 00 00 00 44 8b 65 a8 48 89 f8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 74 08 3c 03 0f 8e 85 11 00 00 44 2b a3 80 RIP: do_tcp_sendpages+0x33d/0x18f0 net/ipv4/tcp.c:967 RSP: ffff88805d5576b0 ---[ end trace b07867b77a22905d ]---