syzbot


general protection fault in scatterwalk_copychunks

Status: upstream: reported C repro on 2019/04/21 07:15
Reported-by: syzbot+bc78bb581922f5035c8d@syzkaller.appspotmail.com
First crash: 1830d, last: 438d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (11)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in scatterwalk_copychunks (4) net crypto C done done 1341 124d 1135d 25/26 fixed on 2023/12/22 15:08
upstream general protection fault in scatterwalk_copychunks (3) crypto C 95 2010d 2137d 0/26 closed as invalid on 2019/06/10 23:08
upstream general protection fault in scatterwalk_copychunks (2) crypto C 141 2302d 2328d 3/26 fixed on 2018/01/11 01:23
linux-5.15 BUG: unable to handle kernel paging request in scatterwalk_copychunks 3 364d 401d 0/3 auto-obsoleted due to no activity on 2023/08/23 09:08
linux-4.19 general protection fault in scatterwalk_copychunks C error 152 439d 1770d 0/1 upstream: reported C repro on 2019/06/20 18:59
upstream general protection fault in scatterwalk_copychunks crypto C 414 2330d 2339d 3/26 fixed on 2017/12/08 02:32
upstream general protection fault in scatterwalk_copychunks (5) crypto C done 2920 113d 120d 26/26 fixed on 2024/01/30 15:47
linux-4.14 KASAN: use-after-free Read in scatterwalk_copychunks C inconclusive 4 1176d 1830d 0/1 upstream: reported C repro on 2019/04/21 07:18
linux-4.19 KASAN: use-after-free Read in scatterwalk_copychunks C error 17 450d 1666d 0/1 upstream: reported C repro on 2019/10/03 04:34
linux-4.14 KASAN: slab-out-of-bounds Read in scatterwalk_copychunks C inconclusive 6 1184d 1687d 0/1 upstream: reported C repro on 2019/09/11 08:57
linux-6.1 BUG: unable to handle kernel paging request in scatterwalk_copychunks 1 312d 312d 0/3 auto-obsoleted due to no activity on 2023/09/25 13:18
Fix bisection attempts (11)
Created Duration User Patch Repo Result
2022/03/15 16:39 0m bisect fix linux-4.14.y error job log (0)
2022/01/12 22:46 27m bisect fix linux-4.14.y job log (0) log
2021/12/13 22:18 27m bisect fix linux-4.14.y job log (0) log
2021/11/13 21:50 28m bisect fix linux-4.14.y job log (0) log
2021/10/14 21:21 29m bisect fix linux-4.14.y job log (0) log
2021/09/14 20:59 21m bisect fix linux-4.14.y job log (0) log
2021/08/15 20:33 25m bisect fix linux-4.14.y job log (0) log
2021/07/16 20:09 23m bisect fix linux-4.14.y job log (0) log
2021/06/16 19:24 21m bisect fix linux-4.14.y job log (0) log
2020/10/11 15:18 23m bisect fix linux-4.14.y job log (0) log
2020/07/29 03:26 24m bisect fix linux-4.14.y job log (0) log

Sample crash report:
RBP: 00007f58329bc1f0 R08: 0000000000000001 R09: 0000000000000034
R10: 0000800100020046 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffc05f5a9bf R14: 00007f58329bc300 R15: 0000000000022000
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: 8202 Comm: syz-executor130 Not tainted 4.14.304-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
task: ffff8880b01cc1c0 task.stack: ffff88808fe30000
RIP: 0010:scatterwalk_start include/crypto/scatterwalk.h:86 [inline]
RIP: 0010:scatterwalk_pagedone include/crypto/scatterwalk.h:111 [inline]
RIP: 0010:scatterwalk_copychunks+0x4a3/0x680 crypto/scatterwalk.c:55
syz-executor130 (7962) used greatest stack depth: 25176 bytes left
RSP: 0018:ffff88808fe37520 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 000000000000401d RCX: 0000000000000000
RDX: 0000000000000002 RSI: ffff8880954144dd RDI: ffff8880b059ee58
RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1012bdb803
R10: ffff888095edc01c R11: 0000000000000000 R12: 000000000000401d
R13: ffff88808fe375d8 R14: 0000000000001000 R15: ffff8880b059ee64
FS:  00007f58329bc700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd4e315e50 CR3: 00000000a62b2000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 scatterwalk_map_and_copy crypto/scatterwalk.c:72 [inline]
 scatterwalk_map_and_copy+0x100/0x1a0 crypto/scatterwalk.c:60
 gcmaes_encrypt.constprop.0+0x6cd/0xc00 arch/x86/crypto/aesni-intel_glue.c:802
Code: fc ff df 80 3c 02 00 0f 85 d9 01 00 00 48 8d 45 10 49 89 6d 00 48 89 c2 48 89 44 24 18 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 81 01 00 00 48 b8 00 00 00 
RIP: scatterwalk_start include/crypto/scatterwalk.h:86 [inline] RSP: ffff88808fe37520
RIP: scatterwalk_pagedone include/crypto/scatterwalk.h:111 [inline] RSP: ffff88808fe37520
RIP: scatterwalk_copychunks+0x4a3/0x680 crypto/scatterwalk.c:55 RSP: ffff88808fe37520
---[ end trace 81a6fdb1933f8c22 ]---
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	df 80 3c 02 00 0f    	filds  0xf00023c(%rax)
   6:	85 d9                	test   %ebx,%ecx
   8:	01 00                	add    %eax,(%rax)
   a:	00 48 8d             	add    %cl,-0x73(%rax)
   d:	45 10 49 89          	adc    %r9b,-0x77(%r9)
  11:	6d                   	insl   (%dx),%es:(%rdi)
  12:	00 48 89             	add    %cl,-0x77(%rax)
  15:	c2 48 89             	retq   $0x8948
  18:	44 24 18             	rex.R and $0x18,%al
  1b:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  22:	fc ff df
  25:	48 c1 ea 03          	shr    $0x3,%rdx
* 29:	0f b6 04 02          	movzbl (%rdx,%rax,1),%eax <-- trapping instruction
  2d:	84 c0                	test   %al,%al
  2f:	74 08                	je     0x39
  31:	3c 03                	cmp    $0x3,%al
  33:	0f 8e 81 01 00 00    	jle    0x1ba
  39:	48                   	rex.W
  3a:	b8                   	.byte 0xb8
  3b:	00 00                	add    %al,(%rax)

Crashes (204):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/31 10:08 linux-4.14.y 3949d1610004 b68fb8d6 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2022/08/05 18:34 linux-4.14.y b641242202ed a65a7ce9 .config console log report syz C ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2022/07/24 14:07 linux-4.14.y 9c3bf9cf362f 22343af4 .config console log report syz C ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2022/05/12 06:29 linux-4.14.y e3a56aaade89 beb0b407 .config console log report syz C ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2019/09/02 13:02 linux-4.14.y 01fd1694b93c db7c31ca .config console log report syz C ci2-linux-4-14
2019/04/21 06:39 linux-4.14.y 68d7a45eec10 b0e8efcb .config console log report syz C ci2-linux-4-14
2022/10/30 23:02 linux-4.14.y 41f36d7859a7 2a71366b .config console log report syz [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2023/02/11 18:29 linux-4.14.y a8ad60f2af58 93e26d60 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2023/02/07 22:36 linux-4.14.y a8ad60f2af58 15c3d445 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2023/02/01 20:47 linux-4.14.y 3949d1610004 9a6f477c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2022/10/04 21:41 linux-4.14.y 9d5c0b3a8e1a eab8f949 .config console log report info [disk image] [vmlinux] ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2022/09/30 23:23 linux-4.14.y 9d5c0b3a8e1a feb56351 .config console log report info [disk image] [vmlinux] ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2022/09/21 10:48 linux-4.14.y 4edbf74132a4 380f82fb .config console log report info [disk image] [vmlinux] ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2022/09/19 18:36 linux-4.14.y 5df8b4735177 dd9a85ff .config console log report info [disk image] [vmlinux] ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2022/07/24 19:08 linux-4.14.y 9c3bf9cf362f 22343af4 .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2022/07/24 05:08 linux-4.14.y 9c3bf9cf362f 22343af4 .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2022/06/30 21:36 linux-4.14.y f051383ef03b 1434eec0 .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2022/02/13 16:39 linux-4.14.y 8034e99d1a01 8b9ca619 .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2022/01/28 07:33 linux-4.14.y bbb957e1bd4a 495e00c5 .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2022/01/25 22:45 linux-4.14.y 4ba8e26127c3 2cbffd88 .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2022/01/18 04:11 linux-4.14.y 4ba8e26127c3 731a2d23 .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2022/01/14 22:21 linux-4.14.y 4ba8e26127c3 53e00b45 .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2022/01/14 01:40 linux-4.14.y 4ba8e26127c3 b8d780ab .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/05/17 19:11 linux-4.14.y 7d7d1c0ab3eb a2eb125d .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/05/15 06:24 linux-4.14.y 7d7d1c0ab3eb 8bdd5343 .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/05/08 18:44 linux-4.14.y 7d7d1c0ab3eb bc5434be .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/05/01 23:01 linux-4.14.y 7d7d1c0ab3eb 77e2b668 .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/04/24 13:25 linux-4.14.y cf256fbcbe34 17f0b706 .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/04/23 23:09 linux-4.14.y cf256fbcbe34 17f0b706 .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/04/22 15:13 linux-4.14.y cf256fbcbe34 33c28d03 .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/04/20 00:37 linux-4.14.y cf256fbcbe34 4285c989 .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/04/13 22:44 linux-4.14.y 958e517f4e16 a184b83e .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/04/13 20:31 linux-4.14.y 958e517f4e16 a184b83e .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/04/12 14:24 linux-4.14.y 958e517f4e16 6a81331a .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/04/01 17:35 linux-4.14.y bd634aa64163 6a81331a .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/03/30 09:30 linux-4.14.y 670d6552eda8 6a81331a .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/03/28 02:41 linux-4.14.y 670d6552eda8 a8529b82 .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/03/16 19:18 linux-4.14.y c7150cd2fa8c fdb2bb2c .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/03/12 11:27 linux-4.14.y c7150cd2fa8c 429d8a6b .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/03/10 21:54 linux-4.14.y 1d177c0872ab 764067f3 .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/03/10 01:55 linux-4.14.y 1d177c0872ab 26967e35 .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/03/09 03:37 linux-4.14.y 1d177c0872ab 09fbf400 .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/03/06 13:20 linux-4.14.y 397a88b2cc86 e4b4d570 .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/02/25 08:41 linux-4.14.y 3242aa3a635c fcc6d71b .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/02/14 16:02 linux-4.14.y 2c8a3fceddf0 98682e5e .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/02/13 15:35 linux-4.14.y 2c8a3fceddf0 98682e5e .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/01/31 11:16 linux-4.14.y 2c8a3fceddf0 fc9fd31e .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/01/26 14:50 linux-4.14.y 2d2791fce891 52e37319 .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/01/25 17:33 linux-4.14.y 2d2791fce891 52e37319 .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/01/21 04:39 linux-4.14.y 2762b48e9611 d4f4eca5 .config console log report info ci2-linux-4-14 general protection fault in scatterwalk_copychunks
2021/01/07 15:42 linux-4.14.y 1752938529c6 c104d4a3 .config console log report info ci2-linux-4-14
* Struck through repros no longer work on HEAD.