diff options
| author | Daniel Hodges <hodgesd@meta.com> | 2026-01-31 19:08:40 -0800 |
|---|---|---|
| committer | Keith Busch <kbusch@kernel.org> | 2026-02-02 08:06:33 -0800 |
| commit | 0a1fc2f301529ac75aec0ce80d5ab9d9e4dc4b16 (patch) | |
| tree | 466f082768c72833d6a66c944e1e98be07eddf9c /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | ac30cd304347f2daeece6998bb5f0ae2db64e397 (diff) | |
nvme-fabrics: use kfree_sensitive() for DHCHAP secrets
The DHCHAP secrets (dhchap_secret and dhchap_ctrl_secret) contain
authentication key material for NVMe-oF. Use kfree_sensitive() instead
of kfree() in nvmf_free_options() to ensure secrets are zeroed before
the memory is freed, preventing recovery from freed pages.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Daniel Hodges <hodgesd@meta.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
