syzbot


general protection fault in tcp_sendpage

Status: public: reported C repro on 2019/04/11 08:44
Reported-by: syzbot+2943cfccb380a734490e@syzkaller.appspotmail.com
First crash: 2169d, last: 2169d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 general protection fault in tcp_sendpage C 6 2169d 2048d 0/3 public: reported C repro on 2019/04/14 00:00

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory accessgeneral protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 2065 Comm: syz-executor796 Not tainted 4.4.167+ #4
task: ffff8801d515df00 task.stack: ffff8801ced48000
RIP: 0010:[<ffffffff823f592a>]  [<ffffffff823f592a>] do_tcp_sendpages net/ipv4/tcp.c:929 [inline]
RIP: 0010:[<ffffffff823f592a>]  [<ffffffff823f592a>] tcp_sendpage+0x40a/0x17e0 net/ipv4/tcp.c:1033
RSP: 0018:ffff8801ced4f988  EFLAGS: 00010206
RAX: 000000000000000f RBX: 000000000000fd58 RCX: 1ffff1001701a193
RDX: 0000000000000000 RSI: ffffffff823f5919 RDI: 0000000000000078
RBP: ffff8801ced4fae8 R08: ffff8801d515e810 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff823f5520
R13: ffff8800b80d0a40 R14: 0000000000000000 R15: dffffc0000000000
FS:  00007fe3840fc700(0000) GS:ffff8801db700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002002013f CR3: 00000001d62a2000 CR4: 00000000001606b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 f00170f62ed7c222 0000000000000000 ffff8801d515e7c8 ffffed003aa2bcf8
 fffffbfff0634d24 dffffc0000000000 ffff8801ced4fa08 0000000000000000
 ffff8800b80d0e28 ffff8801ced4fa40 0000000600000007 ffff8801d515df00
Call Trace:
 [<ffffffff824a6361>] inet_sendpage+0x221/0x510 net/ipv4/af_inet.c:772
 [<ffffffff821d1db3>] kernel_sendpage+0x93/0xf0 net/socket.c:3320
 [<ffffffff821d1e9c>] sock_sendpage+0x8c/0xc0 net/socket.c:793
 [<ffffffff8152b1c6>] pipe_to_sendpage+0x266/0x330 fs/splice.c:724
 [<ffffffff8152dfc4>] splice_from_pipe_feed fs/splice.c:776 [inline]
 [<ffffffff8152dfc4>] __splice_from_pipe+0x364/0x790 fs/splice.c:901
 [<ffffffff81531089>] splice_from_pipe+0xf9/0x170 fs/splice.c:936
 [<ffffffff8153113c>] generic_splice_sendpage+0x3c/0x50 fs/splice.c:1109
 [<ffffffff81532251>] do_splice_from fs/splice.c:1128 [inline]
 [<ffffffff81532251>] do_splice fs/splice.c:1404 [inline]
 [<ffffffff81532251>] SYSC_splice fs/splice.c:1707 [inline]
 [<ffffffff81532251>] SyS_splice+0xde1/0x1430 fs/splice.c:1690
 [<ffffffff82715ee1>] entry_SYSCALL_64_fastpath+0x1e/0x9a
Code: ff ff ff 4c 0f 44 f0 e8 35 19 f1 fe 48 85 db 0f 84 d4 02 00 00 e8 27 19 f1 fe 49 8d 7e 78 8b 9d 58 ff ff ff 48 89 f8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 74 08 3c 03 0f 8e be 0f 00 00 41 2b 5e 78 
RIP  [<ffffffff823f592a>] do_tcp_sendpages net/ipv4/tcp.c:929 [inline]
RIP  [<ffffffff823f592a>] tcp_sendpage+0x40a/0x17e0 net/ipv4/tcp.c:1033
 RSP <ffff8801ced4f988>
---[ end trace 3e20fafd05c011b3 ]---

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/12/14 07:57 https://android.googlesource.com/kernel/common android-4.4 b95a8c048a28 fe7127be .config console log report syz C ci-android-44-kasan-gce
2018/12/14 07:08 https://android.googlesource.com/kernel/common android-4.4 b95a8c048a28 fe7127be .config console log report syz C ci-android-44-kasan-gce
2018/12/14 07:58 https://android.googlesource.com/kernel/common android-4.4 b95a8c048a28 fe7127be .config console log report syz C ci-android-44-kasan-gce-386
2018/12/14 07:33 https://android.googlesource.com/kernel/common android-4.4 b95a8c048a28 fe7127be .config console log report syz C ci-android-44-kasan-gce-386
2018/12/14 06:40 https://android.googlesource.com/kernel/common android-4.4 b95a8c048a28 fe7127be .config console log report ci-android-44-kasan-gce
2018/12/14 06:32 https://android.googlesource.com/kernel/common android-4.4 b95a8c048a28 fe7127be .config console log report ci-android-44-kasan-gce
* Struck through repros no longer work on HEAD.