syzbot


general protection fault in tcp_splice_read

Status: upstream: reported C repro on 2020/07/26 21:05
Reported-by: syzbot+e0d111086728da125162@syzkaller.appspotmail.com
First crash: 1609d, last: 662d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in tcp_splice_read net C done done 23 2084d 2193d 13/28 fixed on 2019/11/09 22:22
linux-4.19 general protection fault in tcp_splice_read C error 11 1071d 1858d 0/1 upstream: reported C repro on 2019/11/20 18:48
Fix bisection attempts (23)
Created Duration User Patch Repo Result
2023/02/28 19:25 1h55m bisect fix linux-4.14.y OK (0) job log log
2023/01/27 15:00 27m bisect fix linux-4.14.y OK (0) job log log
2022/11/19 08:34 26m bisect fix linux-4.14.y OK (0) job log log
2022/10/20 08:08 25m bisect fix linux-4.14.y OK (0) job log log
2022/09/15 17:03 25m bisect fix linux-4.14.y OK (0) job log log
2022/08/16 16:12 31m bisect fix linux-4.14.y OK (0) job log log
2022/07/17 15:29 22m bisect fix linux-4.14.y OK (0) job log log
2022/06/17 14:56 32m bisect fix linux-4.14.y OK (0) job log log
2022/05/18 14:26 25m bisect fix linux-4.14.y OK (0) job log log
2022/04/18 13:55 31m bisect fix linux-4.14.y OK (0) job log log
2022/03/19 13:10 25m bisect fix linux-4.14.y OK (0) job log log
2022/02/16 20:36 27m bisect fix linux-4.14.y OK (0) job log log
2022/01/17 20:10 25m bisect fix linux-4.14.y OK (0) job log log
2021/12/18 19:39 30m bisect fix linux-4.14.y OK (0) job log log
2021/11/18 18:53 25m bisect fix linux-4.14.y OK (0) job log log
2021/10/19 18:26 26m bisect fix linux-4.14.y OK (0) job log log
2021/09/19 18:00 26m bisect fix linux-4.14.y OK (0) job log log
2021/08/20 17:32 28m bisect fix linux-4.14.y OK (0) job log log
2021/07/21 17:09 22m bisect fix linux-4.14.y OK (0) job log log
2021/06/21 16:37 31m bisect fix linux-4.14.y OK (0) job log log
2021/05/21 23:52 22m bisect fix linux-4.14.y OK (0) job log log
2021/02/03 06:08 0m bisect fix linux-4.14.y error job log
2021/01/04 05:45 23m bisect fix linux-4.14.y OK (0) job log log

Sample crash report:
audit: type=1400 audit(1595800528.436:8): avc:  denied  { execmem } for  pid=6338 comm="syz-executor004" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1
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: 6338 Comm: syz-executor004 Not tainted 4.14.189-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff888097b06600 task.stack: ffff888086e70000
RIP: 0010:tcp_splice_read+0x123/0x950 net/ipv4/tcp.c:779
RSP: 0018:ffff888086e77c40 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 1ffff11012f60ddf
RDX: 000000000000000f RSI: ffff888097b06ed8 RDI: 0000000000000078
RBP: ffff888097c8b500 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff888086e77ea8
R13: 0000000000000000 R14: ffff888097aa3580 R15: 0000000000000000
FS:  00000000016d7880(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200000c0 CR3: 00000000a48b9000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 smc_splice_read+0x16c/0x1c0 net/smc/af_smc.c:1304
 sock_splice_read+0xa6/0xe0 net/socket.c:883
 do_splice_to+0xfb/0x140 fs/splice.c:880
 do_splice fs/splice.c:1173 [inline]
 SYSC_splice fs/splice.c:1402 [inline]
 SyS_splice+0x104a/0x1380 fs/splice.c:1382
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x4402c9
RSP: 002b:00007ffcc51ed9c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000113
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004402c9
RDX: 0000000000000004 RSI: 0000000000000000 RDI: 0000000000000005
RBP: 00000000006ca018 R08: 0000000000000006 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401ad0
R13: 0000000000401b60 R14: 0000000000000000 R15: 0000000000000000
Code: df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 c9 07 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 5b 18 48 8d 7b 78 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e db 06 00 00 45 31 e4 f6 43 
RIP: tcp_splice_read+0x123/0x950 net/ipv4/tcp.c:779 RSP: ffff888086e77c40
---[ end trace 4547e70882029cec ]---

Crashes (167):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/26 21:57 linux-4.14.y 69b94dd6dcd1 51265195 .config console log report syz C ci2-linux-4-14
2021/04/21 23:22 linux-4.14.y cf256fbcbe34 2bc8999a .config console log report info ci2-linux-4-14 general protection fault in tcp_splice_read
2021/04/16 20:39 linux-4.14.y cf256fbcbe34 7e2b734b .config console log report info ci2-linux-4-14 general protection fault in tcp_splice_read
2021/04/14 05:55 linux-4.14.y 958e517f4e16 a184b83e .config console log report info ci2-linux-4-14 general protection fault in tcp_splice_read
2021/04/08 23:41 linux-4.14.y 0cc244011f40 6a81331a .config console log report info ci2-linux-4-14 general protection fault in tcp_splice_read
2021/03/28 22:19 linux-4.14.y 670d6552eda8 a8529b82 .config console log report info ci2-linux-4-14 general protection fault in tcp_splice_read
2021/03/27 15:02 linux-4.14.y 670d6552eda8 a8529b82 .config console log report info ci2-linux-4-14 general protection fault in tcp_splice_read
2021/03/16 03:58 linux-4.14.y c7150cd2fa8c fdb2bb2c .config console log report info ci2-linux-4-14 general protection fault in tcp_splice_read
2021/02/21 11:41 linux-4.14.y 29c52025152b 3e5ed8b4 .config console log report info ci2-linux-4-14 general protection fault in tcp_splice_read
2021/02/13 14:47 linux-4.14.y 2c8a3fceddf0 98682e5e .config console log report info ci2-linux-4-14 general protection fault in tcp_splice_read
2021/02/12 04:16 linux-4.14.y 2c8a3fceddf0 a5f86b15 .config console log report info ci2-linux-4-14 general protection fault in tcp_splice_read
2020/12/05 05:27 linux-4.14.y c196b3a9c83a 20366b87 .config console log report info ci2-linux-4-14
2020/11/30 07:39 linux-4.14.y 87335852c5d9 a0092f9d .config console log report info ci2-linux-4-14
2020/11/26 02:28 linux-4.14.y 87335852c5d9 3f581b43 .config console log report info ci2-linux-4-14
2020/11/20 03:16 linux-4.14.y 8961076ed318 0767f13f .config console log report info ci2-linux-4-14
2020/10/27 07:18 linux-4.14.y 5b7a52cd2eef 8b3eaf58 .config console log report info ci2-linux-4-14
2020/10/16 22:58 linux-4.14.y cbfa1702aaf6 6e262c73 .config console log report info ci2-linux-4-14
2020/10/16 18:49 linux-4.14.y cbfa1702aaf6 6e262c73 .config console log report info ci2-linux-4-14
2020/10/15 22:53 linux-4.14.y cbfa1702aaf6 6e262c73 .config console log report info ci2-linux-4-14
2020/10/12 09:45 linux-4.14.y cbfa1702aaf6 4a77ae0b .config console log report info ci2-linux-4-14
2020/10/08 20:21 linux-4.14.y cbfa1702aaf6 92390980 .config console log report info ci2-linux-4-14
2020/10/08 07:20 linux-4.14.y cbfa1702aaf6 1880b4a9 .config console log report info ci2-linux-4-14
2020/10/07 14:17 linux-4.14.y cbfa1702aaf6 1880b4a9 .config console log report info ci2-linux-4-14
2020/10/07 01:21 linux-4.14.y cbfa1702aaf6 1880b4a9 .config console log report info ci2-linux-4-14
2020/10/06 18:22 linux-4.14.y cbfa1702aaf6 1880b4a9 .config console log report info ci2-linux-4-14
2020/10/06 16:57 linux-4.14.y cbfa1702aaf6 1880b4a9 .config console log report info ci2-linux-4-14
2020/10/06 12:35 linux-4.14.y cbfa1702aaf6 1880b4a9 .config console log report info ci2-linux-4-14
2020/10/05 04:19 linux-4.14.y cbfa1702aaf6 5ef9c291 .config console log report info ci2-linux-4-14
2020/10/04 08:37 linux-4.14.y cbfa1702aaf6 1a3f9408 .config console log report info ci2-linux-4-14
2020/10/04 04:24 linux-4.14.y cbfa1702aaf6 1a3f9408 .config console log report info ci2-linux-4-14
2020/10/03 06:56 linux-4.14.y cbfa1702aaf6 2653fa43 .config console log report info ci2-linux-4-14
2020/10/03 02:04 linux-4.14.y cbfa1702aaf6 062c9832 .config console log report info ci2-linux-4-14
2020/10/02 15:49 linux-4.14.y cbfa1702aaf6 062c9832 .config console log report info ci2-linux-4-14
2020/10/02 05:14 linux-4.14.y cbfa1702aaf6 9602ddf4 .config console log report info ci2-linux-4-14
2020/10/01 15:33 linux-4.14.y cbfa1702aaf6 4103fce0 .config console log report info ci2-linux-4-14
2020/09/30 22:33 linux-4.14.y cbfa1702aaf6 a9767fb2 .config console log report info ci2-linux-4-14
2020/09/30 17:42 linux-4.14.y cbfa1702aaf6 8516f6d3 .config console log report info ci2-linux-4-14
2020/09/29 10:30 linux-4.14.y cbfa1702aaf6 1b88c6d5 .config console log report info ci2-linux-4-14
2020/09/29 04:11 linux-4.14.y cbfa1702aaf6 1b88c6d5 .config console log report info ci2-linux-4-14
2020/09/28 04:28 linux-4.14.y cbfa1702aaf6 5dd8aee8 .config console log report info ci2-linux-4-14
2020/09/28 03:38 linux-4.14.y cbfa1702aaf6 5dd8aee8 .config console log report info ci2-linux-4-14
2020/09/27 20:18 linux-4.14.y cbfa1702aaf6 5dd8aee8 .config console log report info ci2-linux-4-14
2020/09/27 16:12 linux-4.14.y cbfa1702aaf6 5dd8aee8 .config console log report info ci2-linux-4-14
2020/09/26 07:24 linux-4.14.y cbfa1702aaf6 4a006f63 .config console log report info ci2-linux-4-14
2020/09/25 17:37 linux-4.14.y cbfa1702aaf6 4a006f63 .config console log report info ci2-linux-4-14
2020/09/25 15:46 linux-4.14.y cbfa1702aaf6 4a006f63 .config console log report info ci2-linux-4-14
2020/09/12 21:30 linux-4.14.y cbfa1702aaf6 21d289c2 .config console log report ci2-linux-4-14
2020/09/12 09:17 linux-4.14.y 458a534cac0c 79fb24e2 .config console log report ci2-linux-4-14
2020/09/12 03:34 linux-4.14.y 458a534cac0c 79fb24e2 .config console log report ci2-linux-4-14
2020/07/26 21:04 linux-4.14.y 69b94dd6dcd1 51265195 .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.