syzbot


BUG: unable to handle kernel NULL pointer dereference in crypto_alg_tested

Status: closed as invalid on 2018/01/17 06:41
Subsystems: crypto
[Documentation on labels]
Reported-by: syzbot+fa8a8377747a0f0fe1a01cceb33e58cda44955ad@syzkaller.appspotmail.com
First crash: 2597d, last: 2597d

Sample crash report:
encrypted_key: master key parameter '‚§žΥ
Κιμ"jχŠf@·―β0UY@*©”q”-ψ{ώo½' is invalid
could not allocate digest TFM handle cryptd(sha224)
BUG: unable to handle kernel NULL pointer dereference at 0000000000000020
binder: BINDER_SET_CONTEXT_MGR already set
binder: 5108:5114 ioctl 40046207 0 returned -16
encrypted_key: master key parameter '‚§žΥ
Κιμ"jχŠf@·―β0UY@*©”q”-ψ{ώo½' is invalid
IP: crypto_alg_tested+0xe9/0x260 crypto/algapi.c:275
PGD 0 P4D 0 
Oops: 0000 [#1] SMP
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 5153 Comm: cryptomgr_test Not tainted 4.15.0-rc3-next-20171214+ #67
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:crypto_alg_tested+0xe9/0x260 crypto/algapi.c:275
RSP: 0018:ffffc90000eafe98 EFLAGS: 00010293
RAX: ffff8801fc9d66c0 RBX: ffff8801fcb35400 RCX: ffffffff81677729
RDX: 0000000000000000 RSI: ffff880215732481 RDI: ffff8801fd654081
RBP: ffffc90000eafee8 R08: 0000000000000001 R09: 0000000000000004
R10: ffffc90000eafe08 R11: 0000000000000004 R12: 0000000000000000
R13: ffff8801fd654048 R14: 0000000000000c8f R15: ffffc90000eafeb0
FS:  0000000000000000(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000020 CR3: 000000000301e002 CR4: 00000000001606f0
DR0: 0000000020001000 DR1: 0000000020001008 DR2: 0000000020001000
DR3: 0000000020001008 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 cryptomgr_test+0x17/0x30 crypto/algboss.c:226
 kthread+0x149/0x170 kernel/kthread.c:238
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:524
Code: c5 0f 84 a5 00 00 00 e8 36 2c c4 ff 41 81 4d 20 00 04 00 00 49 8d 45 38 48 89 45 c0 e8 21 2c c4 ff 4d 39 e5 74 70 e8 17 2c c4 ff <45> 8b 74 24 20 41 f6 c6 60 75 60 e8 07 2c c4 ff 49 8d 44 24 38 
RIP: crypto_alg_tested+0xe9/0x260 crypto/algapi.c:275 RSP: ffffc90000eafe98
CR2: 0000000000000020
---[ end trace bf93c4f60f101736 ]---
Kernel panic - not syncing: Fatal exception
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2017/12/19 00:37 linux-next 6084b576dca2 1c4160ef .config console log report ci-upstream-next-kasan-gce
* Struck through repros no longer work on HEAD.