Linux cryptographic layer development
 help / color / mirror / Atom feed
From: Eric Biggers <ebiggers3@gmail.com>
To: syzbot
	<bot+a2aae0656fcdc9990e110e63998f859a38854fde@syzkaller.appspotmail.com>
Cc: davem@davemloft.net, herbert@gondor.apana.org.au,
	linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org,
	syzkaller-bugs@googlegroups.com
Subject: Re: BUG: unable to handle kernel paging request in crypto_chacha20_crypt
Date: Sun, 3 Dec 2017 11:11:22 -0800	[thread overview]
Message-ID: <20171203191122.GA844@zzz.localdomain> (raw)
In-Reply-To: <94eb2c05a5227b8588055f705abc@google.com>

On Sun, Dec 03, 2017 at 06:24:02AM -0800, syzbot wrote:
> 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

#syz dup: general protection fault in crypto_chacha20_crypt

           reply	other threads:[~2017-12-03 19:11 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <94eb2c05a5227b8588055f705abc@google.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171203191122.GA844@zzz.localdomain \
    --to=ebiggers3@gmail.com \
    --cc=bot+a2aae0656fcdc9990e110e63998f859a38854fde@syzkaller.appspotmail.com \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=syzkaller-bugs@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox