syzbot


general protection fault in tcp_splice_read

Status: upstream: reported C repro on 2019/11/20 18:48
Reported-by: syzbot+ceea13b822f11b7e2210@syzkaller.appspotmail.com
First crash: 1857d, last: 1070d
Fix bisection: failed (error log, bisect log)
  
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 2083d 2192d 13/28 fixed on 2019/11/09 22:22
linux-4.14 general protection fault in tcp_splice_read C 167 661d 1608d 0/1 upstream: reported C repro on 2020/07/26 21:05
Fix bisection attempts (21)
Created Duration User Patch Repo Result
2021/10/29 09:58 15m bisect fix linux-4.19.y error job log
2021/09/26 02:31 40m bisect fix linux-4.19.y OK (0) job log log
2021/08/27 01:53 37m bisect fix linux-4.19.y OK (0) job log log
2021/07/28 00:41 35m bisect fix linux-4.19.y OK (0) job log log
2021/06/28 00:07 34m bisect fix linux-4.19.y OK (0) job log log
2021/05/28 23:23 33m bisect fix linux-4.19.y OK (0) job log log
2021/04/28 22:45 38m bisect fix linux-4.19.y OK (0) job log log
2021/03/29 18:23 27m bisect fix linux-4.19.y OK (0) job log log
2021/02/27 17:33 35m bisect fix linux-4.19.y OK (0) job log log
2021/01/28 16:51 41m bisect fix linux-4.19.y OK (0) job log log
2020/12/29 16:17 34m bisect fix linux-4.19.y OK (0) job log log
2020/11/29 01:26 41m bisect fix linux-4.19.y OK (0) job log log
2020/10/30 00:53 32m bisect fix linux-4.19.y OK (0) job log log
2020/09/30 00:03 36m bisect fix linux-4.19.y OK (0) job log log
2020/08/30 22:00 40m bisect fix linux-4.19.y OK (0) job log log
2020/07/04 11:30 32m bisect fix linux-4.19.y OK (0) job log log
2020/06/04 10:55 34m bisect fix linux-4.19.y OK (0) job log log
2020/05/05 10:20 35m bisect fix linux-4.19.y OK (0) job log log
2020/04/05 09:48 31m bisect fix linux-4.19.y OK (0) job log log
2020/03/06 09:11 37m bisect fix linux-4.19.y OK (0) job log log
2020/02/05 08:25 39m bisect fix linux-4.19.y OK (0) job log log

Sample crash report:
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
CPU: 1 PID: 8563 Comm: syz-executor589 Not tainted 4.19.90-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:tcp_splice_read+0x167/0xc30 net/ipv4/tcp.c:799
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 45 0a 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 6d 18 49 8d 7d 78 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 3c 09 00 00 45 8b 6d 78 31 ff
RSP: 0018:ffff8880a55a7ba0 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: ffff8880a55a7cb0 RCX: 1ffff11014911d36
RDX: 000000000000000f RSI: ffff8880a488e990 RDI: 0000000000000078
RBP: ffff8880a55a7cd8 R08: ffff8880a488e0c0 R09: ffff8880a488e9b0
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880a4cc2ec0
R13: 0000000000000000 R14: 0000000000000000 R15: ffff888095d37300
FS:  00007f0ce9148700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0ce9126e78 CR3: 0000000087e8a000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 smc_splice_read+0x266/0x390 net/smc/af_smc.c:1855
 sock_splice_read+0xb9/0x100 net/socket.c:859
 do_splice_to+0x127/0x180 fs/splice.c:881
 do_splice+0x1048/0x1340 fs/splice.c:1186
 __do_sys_splice fs/splice.c:1428 [inline]
 __se_sys_splice fs/splice.c:1408 [inline]
 __x64_sys_splice+0x2c6/0x330 fs/splice.c:1408
 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4484b9
Code: e8 0c 0f 03 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 fb 06 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f0ce9147d88 EFLAGS: 00000246 ORIG_RAX: 0000000000000113
RAX: ffffffffffffffda RBX: 00000000006ddc78 RCX: 00000000004484b9
RDX: 0000000000000005 RSI: 0000000000000000 RDI: 0000000000000006
RBP: 00000000006ddc70 R08: 000000000d86dac9 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006ddc7c
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000064616561
Modules linked in:
---[ end trace be85569b3da478fa ]---
RIP: 0010:tcp_splice_read+0x167/0xc30 net/ipv4/tcp.c:799
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 45 0a 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 6d 18 49 8d 7d 78 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 3c 09 00 00 45 8b 6d 78 31 ff
RSP: 0018:ffff8880a55a7ba0 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: ffff8880a55a7cb0 RCX: 1ffff11014911d36
RDX: 000000000000000f RSI: ffff8880a488e990 RDI: 0000000000000078
RBP: ffff8880a55a7cd8 R08: ffff8880a488e0c0 R09: ffff8880a488e9b0
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880a4cc2ec0
R13: 0000000000000000 R14: 0000000000000000 R15: ffff888095d37300
FS:  00007f0ce9148700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0ce9126e78 CR3: 0000000087e8a000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/12/20 12:31 linux-4.19.y 7d120bf21c05 36650b4b .config console log report syz C ci2-linux-4-19
2022/01/16 01:54 linux-4.19.y 3f8a27f9e27b 723cfaf0 .config console log report info ci2-linux-4-19 general protection fault in tcp_splice_read
2020/07/31 22:00 linux-4.19.y 13af6c74b14a 8df85ed9 .config console log report ci2-linux-4-19
2020/07/31 06:22 linux-4.19.y 205a42ce2861 8df85ed9 .config console log report ci2-linux-4-19
2020/07/31 06:21 linux-4.19.y 205a42ce2861 8df85ed9 .config console log report ci2-linux-4-19
2020/07/31 06:21 linux-4.19.y 205a42ce2861 8df85ed9 .config console log report ci2-linux-4-19
2020/07/31 06:20 linux-4.19.y 205a42ce2861 8df85ed9 .config console log report ci2-linux-4-19
2020/07/28 14:18 linux-4.19.y 20b3a3dfdf6c cb93dc6a .config console log report ci2-linux-4-19
2020/01/06 08:25 linux-4.19.y 3d40d7117e35 438e1227 .config console log report ci2-linux-4-19
2019/12/20 12:05 linux-4.19.y 7d120bf21c05 36650b4b .config console log report ci2-linux-4-19
2019/11/20 17:47 linux-4.19.y c555efaf1402 432c7650 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.