diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-09-20 14:58:38 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-05 07:44:00 (GMT) |
commit | 2f9be92dfffec82fbaebc9ff32c749b5764fea19 (patch) | |
tree | 64ead67877247657df358198b7bdc08a4e57ae9d /fs/stack.c | |
parent | b60f791ef32db376d55f047748615baee9dc63ef (diff) | |
download | linux-2f9be92dfffec82fbaebc9ff32c749b5764fea19.tar.xz |
security/keys: properly zero out sensitive key material in big_key
commit 910801809b2e40a4baedd080ef5d80b4a180e70e upstream.
Error paths forgot to zero out sensitive material, so this patch changes
some kfrees into a kzfrees.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Eric Biggers <ebiggers3@gmail.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Kirill Marinushkin <k.marinushkin@gmail.com>
Cc: security@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/stack.c')
0 files changed, 0 insertions, 0 deletions