BUG: unable to handle kernel paging request in crypto_chacha20_crypt

9 views
Skip to first unread message

syzbot

unread,
Dec 3, 2017, 9:24:03 AM12/3/17
to da...@davemloft.net, her...@gondor.apana.org.au, linux-...@vger.kernel.org, linux-...@vger.kernel.org, syzkall...@googlegroups.com
Hello,

syzkaller hit the following crash on
dbf9f9124937139e6fcd3f6c64154a699408b481
git://git.cmpxchg.org/linux-mmots.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.


BUG: unable to handle kernel paging request at ffffffff00000001
IP: crypto_chacha20_init crypto/chacha20_generic.c:58 [inline]
IP: crypto_chacha20_crypt+0x557/0xbd0 crypto/chacha20_generic.c:91
PGD 5e28067 P4D 5e28067 PUD 0
Oops: 0000 [#1] SMP KASAN
Dumping ftrace buffer:
(ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 5290 Comm: syz-executor3 Not tainted 4.15.0-rc1-mm1+ #27
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
task: ffff8801c1b2c580 task.stack: ffff88018c840000
RIP: 0010:crypto_chacha20_init crypto/chacha20_generic.c:58 [inline]
RIP: 0010:crypto_chacha20_crypt+0x557/0xbd0 crypto/chacha20_generic.c:91
RSP: 0018:ffff88018c847680 EFLAGS: 00010246
RAX: ffff88018c8476f0 RBX: 00000000e6000000 RCX: ffffffff8226c4bb
RDX: 0000000000000000 RSI: ffffc90002047000 RDI: ffff88018c84771c
RBP: ffff88018c8478a0 R08: ffffed003b63a7f4 R09: ffff8801db1d3f80
R10: ffff88018c8478b8 R11: ffffed003b63a7f3 R12: 0000000000000000
R13: ffffffff00000001 R14: 0000000000000000 R15: dffffc0000000000
FS: 00007fc8376e2700(0000) GS:ffff8801db500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffff00000001 CR3: 00000001db1a9000 CR4: 00000000001406e0
DR0: 0000000020001000 DR1: 0000000020000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
crypto_skcipher_decrypt include/crypto/skcipher.h:463 [inline]
_skcipher_recvmsg crypto/algif_skcipher.c:126 [inline]
skcipher_recvmsg+0x739/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:00007fc8376e1c58 EFLAGS: 00000212 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00000000007580d8 RCX: 00000000004529d9
RDX: 0000000020738000 RSI: 0000000000000002 RDI: 00007fc8376a0000
RBP: 000000000000039b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006f2728
R13: 00000000ffffffff R14: 00007fc8376e26d4 R15: 0000000000000002
Code: df 89 9d 7c fe ff ff 48 c1 ea 03 0f b6 14 02 4c 89 e8 83 e0 07 83 c0
03 38 d0 7c 08 84 d2 0f 85 99 05 00 00 48 8b 85 28 fe ff ff <41> 8b 5d 00
48 8d 78 30 48 b8 00 00 00 00 00 fc ff df 48 89 fa
RIP: crypto_chacha20_init crypto/chacha20_generic.c:58 [inline] RSP:
ffff88018c847680
RIP: crypto_chacha20_crypt+0x557/0xbd0 crypto/chacha20_generic.c:91 RSP:
ffff88018c847680
CR2: ffffffff00000001
---[ end trace 7f881ffac6b45ae6 ]---


---
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.
config.txt
raw.log

Eric Biggers

unread,
Dec 3, 2017, 2:11:26 PM12/3/17
to syzbot, da...@davemloft.net, her...@gondor.apana.org.au, linux-...@vger.kernel.org, linux-...@vger.kernel.org, syzkall...@googlegroups.com
#syz dup: general protection fault in crypto_chacha20_crypt
Reply all
Reply to author
Forward
0 new messages