summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2017-12-03 16:58:19 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-06 11:55:15 +0300
commit46df8824982e4fb0198776078d4a8c3e2d531464 (patch)
treed1be28e3f3aadfb966002b047051d06b2fbfd93e /include/linux
parent0d527ecc48d51e5f32e76a5655ac4e5d562c7923 (diff)
downloadlinux-46df8824982e4fb0198776078d4a8c3e2d531464.tar.xz
staging: ccree: NULLify backup_info when unused
backup_info field is only allocated for decrypt code path. The field was not nullified when not used causing a kfree in an error handling path to attempt to free random addresses as uncovered in stress testing. Fixes: 737aed947f9b ("staging: ccree: save ciphertext for CTS IV") Cc: stable@vger.kernel.org Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions