diff options
| author | Srish Srinivasan <ssrish@linux.ibm.com> | 2026-09-23 23:58:09 +0530 |
|---|---|---|
| committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2026-09-29 22:09:45 +0530 |
| commit | 203695c109e37d8fe3531844218f75b98eef8e1f (patch) | |
| tree | 8b46d1be9a4c0e78c940e7a308da56e537ce926a /tools/perf/scripts/python | |
| parent | fe18716ff314eb32299048fd64242d31b4e852cf (diff) | |
pseries/plpks: clear sensitive buffers in wrapping operations
PLPKS wrapping key generation, object wrapping, and object unwrapping use
authentication buffers that contain passwords. An object unwrapping failure
also frees an output buffer that may contain sensitive data. Freeing these
buffers with kfree(), without wiping the contents, can leave sensitive data
in memory.
Use kfree_sensitive() to wipe the buffers when freeing them.
Fixes: 133aa79e211d ("pseries/plpks: add HCALLs for PowerVM Key Wrapping Module")
Cc: stable@vger.kernel.org # 7.0
Signed-off-by: Srish Srinivasan <ssrish@linux.ibm.com>
Tested-by: R Nageswara Sastry <rnsastry@linux.ibm.com>
Reviewed-by: Nayna Jain <nayna@linux.ibm.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20260923182816.151451-6-ssrish@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
