[lkml]   [2017]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: general protection fault in crypto_chacha20_crypt
On Wed, Nov 29, 2017 at 01:24:38AM -0800, Eric Biggers wrote:
> The bug is that the skcipher_walk API doesn't set the IV for zero-length inputs,
> while some algorithms (e.g. ChaCha20) access the IV even if the input is
> zero-length. So it was dereferencing a pointer which came from uninitialized
> stack memory. I've sent out a fix:
> "crypto: skcipher - set walk.iv for zero-length inputs"

#syz fix: crypto: skcipher - set walk.iv for zero-length inputs

 \ /
  Last update: 2017-12-11 20:06    [W:0.052 / U:0.692 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site