Hello,
syzkaller hit the following crash on
b0a84f19a5161418d4360cd57603e94ed489915e
git://
git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master
compiler: gcc (GCC) 7.1.1 20170620
.config is attached
Raw console output is attached.
Unfortunately, I don't have any reproducer for this bug yet.
R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b759b
R13: 00007f197dd47bc8 R14: 00000000004b759b R15: 0000000000000000
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] SMP KASAN
Dumping ftrace buffer:
(ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 17307 Comm: syz-executor3 Not tainted 4.14.0-next-20171127+ #53
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
task: ffff880182f0e4c0 task.stack: ffff8801cf0b0000
RIP: 0010:compound_head include/linux/page-flags.h:147 [inline]
RIP: 0010:put_page include/linux/mm.h:850 [inline]
RIP: 0010:af_alg_free_areq_sgls+0x5d1/0xab0 crypto/af_alg.c:678
RSP: 0018:ffff8801cf0b7690 EFLAGS: 00010246
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffffff823a1c9a
RDX: 000000000000c34d RSI: ffffc900027de000 RDI: 0000000000000000
RBP: ffff8801cf0b7888 R08: 1ffff10039e16e56 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffff8801d87a7940 R15: ffffed0039e16f04
FS: 00007f197dd48700(0000) GS:ffff8801db400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f197dd27000 CR3: 00000001d987d000 CR4: 00000000001406f0
DR0: 0000000020000000 DR1: 0000000020000020 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
af_alg_free_resources+0x36/0x80 crypto/af_alg.c:1030
_skcipher_recvmsg crypto/algif_skcipher.c:152 [inline]
skcipher_recvmsg+0x8e5/0xf20 crypto/algif_skcipher.c:165
sock_recvmsg_nosec net/socket.c:805 [inline]
sock_recvmsg+0xc9/0x110 net/socket.c:812
sock_read_iter+0x361/0x560 net/socket.c:889
call_read_iter include/linux/fs.h:1766 [inline]
aio_read+0x2b0/0x3a0 fs/aio.c:1501
io_submit_one fs/aio.c:1611 [inline]
do_io_submit+0xf99/0x14f0 fs/aio.c:1682
SYSC_io_submit fs/aio.c:1707 [inline]
SyS_io_submit+0x27/0x30 fs/aio.c:1704
entry_SYSCALL_64_fastpath+0x1f/0x96
RIP: 0033:0x4529d9
RSP: 002b:00007f197dd47c58 EFLAGS: 00000212 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 0000000000758020 RCX: 00000000004529d9
RDX: 0000000020bd9fe0 RSI: 0000000000000001 RDI: 00007f197dd27000
RBP: 0000000000000086 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b759b
R13: 00007f197dd47bc8 R14: 00000000004b759b R15: 0000000000000000
Code: 00 00 48 8d 45 98 48 bb 00 00 00 00 00 fc ff df 48 89 85 48 fe ff ff
48 c1 e8 03 4c 8d 3c 18 e8 a6 fe 35 ff 4c 89 e0 48 c1 e8 03 <80> 3c 18 00
0f 85 4b 03 00 00 49 8b 04 24 48 83 e0 fc 48 89 85
RIP: compound_head include/linux/page-flags.h:147 [inline] RSP:
ffff8801cf0b7690
RIP: put_page include/linux/mm.h:850 [inline] RSP: ffff8801cf0b7690
RIP: af_alg_free_areq_sgls+0x5d1/0xab0 crypto/af_alg.c:678 RSP:
ffff8801cf0b7690
---[ end trace 108559a7b630c51e ]---
Kernel panic - not syncing: Fatal exception
Dumping ftrace buffer:
(ftrace buffer empty)
Kernel Offset: disabled
---
This bug is generated by a dumb bot. It may contain errors.
See
https://goo.gl/tpsmEJ for details.
Direct all questions to
syzk...@googlegroups.com.
Please credit me with: Reported-by: syzbot <
syzk...@googlegroups.com>
syzbot will keep track of this bug report.
Once a fix for this bug is committed, please reply to this email with:
#syz fix: exact-commit-title
To mark this as a duplicate of another syzbot report, please reply with:
#syz dup: exact-subject-of-another-report
If it's a one-off invalid bug report, please reply with:
#syz invalid
Note: if the crash happens again, it will cause creation of a new bug
report.
Note: all commands must start from beginning of the line in the email body.