syzbot


general protection fault in tcp_sendpage

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

Sample crash report:
random: crng init done
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: 2044 Comm: syz-executor533 Not tainted 4.9.141+ #1
task: ffff8801d00cc740 task.stack: ffff8801cea68000
RIP: 0010:[<ffffffff824e0ebd>]  [<ffffffff824e0ebd>] do_tcp_sendpages net/ipv4/tcp.c:924 [inline]
RIP: 0010:[<ffffffff824e0ebd>]  [<ffffffff824e0ebd>] tcp_sendpage+0x35d/0x1910 net/ipv4/tcp.c:1033
RSP: 0018:ffff8801cea6f930  EFLAGS: 00010206
RAX: 000000000000000f RBX: 0000000000000000 RCX: 1ffff1003a27c2eb
RDX: 0000000000000000 RSI: ffffffff824e0eab RDI: 0000000000000078
RBP: ffff8801cea6fa98 R08: ffff8801d00ccff0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 000000000000fd58
R13: ffff8801d42ec880 R14: ffff8801d13e1500 R15: dffffc0000000000
FS:  00007f58bb9e7700(0000) GS:ffff8801db600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020020000 CR3: 00000001d10ba000 CR4: 00000000001606b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffff8801cea6f940 ffffffff81243c87 0000000000000246 ffff8801d00cc740
 ffffffff830cc2e0 fffffbfff067d37c 0000000000000000 ffff8801d00ccff0
 ffffed003a0199fd 0000000000000000 ffff8801d13e18e8 ffff8801cea6f9f0
Call Trace:
 [<ffffffff825968b1>] inet_sendpage+0x221/0x510 net/ipv4/af_inet.c:787
 [<ffffffff822a0313>] kernel_sendpage+0x93/0xf0 net/socket.c:3334
 [<ffffffff822a03fc>] sock_sendpage+0x8c/0xc0 net/socket.c:802
 [<ffffffff815a98c6>] pipe_to_sendpage+0x266/0x330 fs/splice.c:470
 [<ffffffff815ad926>] splice_from_pipe_feed fs/splice.c:521 [inline]
 [<ffffffff815ad926>] __splice_from_pipe+0x316/0x710 fs/splice.c:645
 [<ffffffff815af439>] splice_from_pipe+0xf9/0x170 fs/splice.c:680
 [<ffffffff815af4ec>] generic_splice_sendpage+0x3c/0x50 fs/splice.c:851
 [<ffffffff815b066d>] do_splice_from fs/splice.c:870 [inline]
 [<ffffffff815b066d>] do_splice fs/splice.c:1166 [inline]
 [<ffffffff815b066d>] SYSC_splice fs/splice.c:1416 [inline]
 [<ffffffff815b066d>] SyS_splice+0xe4d/0x14d0 fs/splice.c:1399
 [<ffffffff810056ef>] do_syscall_64+0x19f/0x550 arch/x86/entry/common.c:285
 [<ffffffff82817893>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb
Code: ff ff 48 0f 44 d8 e8 c3 ab e3 fe 4d 85 e4 0f 84 f0 04 00 00 e8 b5 ab e3 fe 48 8d 7b 78 44 8b a5 58 ff ff ff 48 89 f8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 74 08 3c 03 0f 8e 06 11 00 00 44 2b 63 78 
RIP  [<ffffffff824e0ebd>] do_tcp_sendpages net/ipv4/tcp.c:924 [inline]
RIP  [<ffffffff824e0ebd>] tcp_sendpage+0x35d/0x1910 net/ipv4/tcp.c:1033
 RSP <ffff8801cea6f930>
---[ end trace cbb814e2a57e6682 ]---

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