# Re: KASAN: slab-out-of-bounds Read in crypto\_chacha20\_crypt

- From: Eric Biggers \<hidden\>
- Date: 2017-11-30 09:01:10 
- List: linux-crypto
- Page: https://ratatoskr.run/linux-crypto/2017/11/5145267
- Thread: https://ratatoskr.run/linux-crypto/2017/11/5145267/t.md

```text
On Thu, Nov 30, 2017 at 12:37:01AM -0800, syzbot wrote:
> ==================================================================
> BUG: KASAN: slab-out-of-bounds in __le32_to_cpup
> include/uapi/linux/byteorder/little_endian.h:58 [inline]
> BUG: KASAN: slab-out-of-bounds in le32_to_cpuvp crypto/chacha20_generic.c:19
> [inline]
> BUG: KASAN: slab-out-of-bounds in crypto_chacha20_init
> crypto/chacha20_generic.c:58 [inline]
> BUG: KASAN: slab-out-of-bounds in crypto_chacha20_crypt+0xaf1/0xbd0
> crypto/chacha20_generic.c:91
> Read of size 4 at addr ffff880100000006 by task syz-executor1/15417

#syz dup: general protection fault in crypto_chacha20_crypt
```
