diff options
author | Holger Dengler <dengler@linux.ibm.com> | 2024-05-07 17:03:18 +0200 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2024-05-14 20:16:33 +0200 |
commit | 1d8c270de5eb74245d72325d285894a577a945d9 (patch) | |
tree | d84c99b82c883cbd5be1d316d275244352349b3d /lib/genalloc.c | |
parent | 22e6824622e8a8889df0f8fc4ed5aea0e702a694 (diff) | |
download | linux-stable-1d8c270de5eb74245d72325d285894a577a945d9.tar.gz linux-stable-1d8c270de5eb74245d72325d285894a577a945d9.tar.bz2 linux-stable-1d8c270de5eb74245d72325d285894a577a945d9.zip |
s390/pkey: Wipe sensitive data on failure
Wipe sensitive data from stack also if the copy_to_user() fails.
Suggested-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
Reviewed-by: Ingo Franzki <ifranzki@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Holger Dengler <dengler@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions