Re: KASAN: stack-out-of-bounds Read in crypto_chacha20_crypt
From: Eric Biggers
Date: Wed Nov 29 2017 - 03:58:24 EST
On Wed, Nov 29, 2017 at 12:33:01AM -0800, syzbot wrote:
> Hello,
>
> syzkaller hit the following crash on
> 1ea8d039f9edcfefb20d8ddfe136930f6e551529
> 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.
>
>
> device gre0 entered promiscuous mode
> ==================================================================
> BUG: KASAN: stack-out-of-bounds in __le32_to_cpup
> include/uapi/linux/byteorder/little_endian.h:58 [inline]
> BUG: KASAN: stack-out-of-bounds in le32_to_cpuvp
> crypto/chacha20_generic.c:19 [inline]
> BUG: KASAN: stack-out-of-bounds in crypto_chacha20_init
> crypto/chacha20_generic.c:58 [inline]
> BUG: KASAN: stack-out-of-bounds in crypto_chacha20_crypt+0xaf1/0xbd0
> crypto/chacha20_generic.c:91
> Read of size 4 at addr ffff8801d1547630 by task syz-executor3/15071
>
#syz dup: general protection fault in crypto_chacha20_crypt