+37
−43
Loading
mainline inclusion from mainline-v6.10-rc1 commit f2ebdadd85af4f4d0cae1e5d009c70eccc78c207 category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/IAGTIZ CVE: CVE-2024-42155 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f2ebdadd85af4f4d0cae1e5d009c70eccc78c207 -------------------------------- Although the clear-key of neither protected- nor secure-keys is accessible, this key material should only be visible to the calling process. So wipe all copies of protected- or secure-keys from stack, even in case of an error. 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> Conflicts: drivers/s390/crypto/pkey_api.c [lhb: adjust context] Signed-off-by:
Hongbo Li <lihongbo22@huawei.com>