diff options
| author | Srish Srinivasan <ssrish@linux.ibm.com> | 2026-09-23 23:58:08 +0530 |
|---|---|---|
| committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2026-09-29 22:09:45 +0530 |
| commit | fe18716ff314eb32299048fd64242d31b4e852cf (patch) | |
| tree | 5cf1673e1fb20768869ba7b54efa1e9a138c23d1 /tools/perf/scripts/python/task-analyzer.py | |
| parent | b59ff2d50b817eeec1259f357aae821c7834007f (diff) | |
pseries/plpks: clear sensitive PLPKS buffers
PLPKS read, remove, and write operations use authentication buffers that
contain passwords. The read output buffer may also 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: 2454a7af0f2a ("powerpc/pseries: define driver for Platform KeyStore")
Cc: stable@vger.kernel.org # 6.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-5-ssrish@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
