Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
s390/pkey: Wipe copies of clear-key structures on failure
[ Upstream commit d65d76a ] Wipe all sensitive data from stack for all IOCTLs, which convert a clear-key into a protected- or secure-key. 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> Signed-off-by: Sasha Levin <sashal@kernel.org> (backported from commit 7f6243edd901b75aaece326c90a1cc0dcb60cc3d linux-6.9.y) [mpellizzer: backported solving merge conflicts due to surrounding instructions which do not affect the patch] CVE-2024-42156 Signed-off-by: Massimiliano Pellizzer <massimiliano.pellizzer@canonical.com> Acked-by: Ivan Hu <ivan.hu@canonical.com> Acked-by: Manuel Diewald <manuel.diewald@canonical.com> Signed-off-by: Roxana Nicolescu <roxana.nicolescu@canonical.com>
- Loading branch information