summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMartin George <martinus.gpy@gmail.com>2026-11-16 15:32:43 +0530
committerKeith Busch <kbusch@kernel.org>2026-11-16 07:42:48 -0800
commit7fce38923253c27650835c91201b222214aeb149 (patch)
treecb4fcbc7dbc724e153c295576e25ab02c6001f16 /tools/perf/scripts/python
parent3f82752e089283eb8204b9d2ebd8246077031173 (diff)
nvme-sysfs: use kfree_sensitive() for DH-HMAC-CHAP secrets
dhchap_secret_store() and dhchap_ctrl_secret_store() free the raw "DHHC-1:..." secret with plain kfree(), leaving it in the freed slab. As these are the runtime rotation handlers, every secret change also leaves the previous secret behind. Free them with kfree_sensitive() instead. Signed-off-by: Martin George <marting@netapp.com> Reviewed-by: Hannes Reinecke <hare@kernel.org> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions