Skip to contentSkip to conversation

KASAN: slab-out-of-bounds Read in crypto_chacha20_crypt

DISCUSSION Eric Biggers 1 participant 1 message Nov 30, 2017 1 message not in the archive Crypto API

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 10 lines · syzbot

==================================================================

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