syzbot


BUG: unable to handle kernel NULL pointer dereference in pcrypt_aead_serial

Status: upstream: reported C repro on 2019/06/10 16:16
Reported-by: syzbot+9ebcee0e1fe76a7dd301@syzkaller.appspotmail.com
First crash: 2026d, last: 1659d
Fix bisection the fix commit could be any of (bisect log):
  e6a95d8851f1 Linux 4.14.124
  56dfe6252c68 Linux 4.14.188
  
Last patch testing requests (4)
Created Duration User Patch Repo Result
2023/01/25 06:32 9m retest repro linux-4.14.y report log
2023/01/25 05:32 10m retest repro linux-4.14.y report log
2022/09/07 13:27 9m retest repro linux-4.14.y report log
2022/09/07 12:27 11m retest repro linux-4.14.y report log
Fix bisection attempts (8)
Created Duration User Patch Repo Result
2020/07/11 11:19 30m bisect fix linux-4.14.y OK (2) job log
2020/06/11 09:21 26m bisect fix linux-4.14.y OK (0) job log log
2020/05/12 08:46 25m bisect fix linux-4.14.y OK (0) job log log
2020/04/12 07:35 23m bisect fix linux-4.14.y OK (0) job log log
2020/03/13 07:03 32m bisect fix linux-4.14.y OK (0) job log log
2020/02/12 06:30 23m bisect fix linux-4.14.y OK (0) job log log
2020/01/13 05:57 23m bisect fix linux-4.14.y OK (0) job log log
2019/12/14 05:34 23m bisect fix linux-4.14.y OK (0) job log log

Sample crash report:
random: sshd: uninitialized urandom read (32 bytes read)
audit: type=1400 audit(1560210611.550:36): avc:  denied  { map } for  pid=6840 comm="syz-executor970" path="/root/syz-executor970108495" dev="sda1" ino=16483 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1
TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies.  Check SNMP counters.
BUG: unable to handle kernel NULL pointer dereference at           (null)
IP:           (null)
PGD 96b24067 P4D 96b24067 PUD 9902a067 PMD 0 
Oops: 0010 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 25 Comm: kworker/0:1 Not tainted 4.14.124 #18
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: pencrypt padata_serial_worker
task: ffff8880a9e68680 task.stack: ffff8880a9e70000
RIP: 0010:          (null)
RSP: 0018:ffff8880a9e77c80 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff8880a97f9d40 RCX: ffff8880a9e77cf0
RDX: 1ffff110152ff3aa RSI: 0000000000000000 RDI: ffff8880a97f9d40
RBP: ffff8880a9e77c98 R08: ffff8880a9e68680 R09: 0000000000000002
R10: 0000000000000000 R11: ffff8880a9e68680 R12: ffff8880a9e77d10
R13: ffff8882194a115c R14: ffff8880a97f9d98 R15: ffff8880a97f9d90
FS:  0000000000000000(0000) GS:ffff8880aee00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000009203b000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 aead_request_complete include/crypto/internal/aead.h:75 [inline]
 pcrypt_aead_serial+0x7e/0xb0 crypto/pcrypt.c:123
 padata_serial_worker+0x261/0x400 kernel/padata.c:307
 process_one_work+0x863/0x1600 kernel/workqueue.c:2114
 worker_thread+0x5d9/0x1050 kernel/workqueue.c:2248
 kthread+0x319/0x430 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Code:  Bad RIP value.
RIP:           (null) RSP: ffff8880a9e77c80
CR2: 0000000000000000
---[ end trace 5bfe9d822f0fb455 ]---

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/06/10 23:54 linux-4.14.y e6a95d8851f1 0159583c .config console log report syz C ci2-linux-4-14
2019/06/10 20:22 linux-4.14.y e6a95d8851f1 0159583c .config console log report syz C ci2-linux-4-14
2019/11/01 19:04 linux-4.14.y ddef1e8e3f6e 997ccc67 .config console log report ci2-linux-4-14
2019/09/30 05:32 linux-4.14.y f6e27dbb1afa c1ad5441 .config console log report ci2-linux-4-14
2019/08/13 19:07 linux-4.14.y 3ffe1e79c174 74d61399 .config console log report ci2-linux-4-14
2019/08/05 16:28 linux-4.14.y 7d80e1218adf 6affd8e8 .config console log report ci2-linux-4-14
2019/08/05 09:03 linux-4.14.y 7d80e1218adf 6affd8e8 .config console log report ci2-linux-4-14
2019/08/02 14:11 linux-4.14.y 10d6aa565d05 835dffe7 .config console log report ci2-linux-4-14
2019/06/11 10:44 linux-4.14.y e6a95d8851f1 5b5826d0 .config console log report ci2-linux-4-14
2019/06/11 10:23 linux-4.14.y e6a95d8851f1 5b5826d0 .config console log report ci2-linux-4-14
2019/06/10 15:15 linux-4.14.y e6a95d8851f1 0159583c .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.