summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorVitaliy Shevtsov <v.shevtsov@maxima.ru>2024-09-16 20:41:37 +0300
committerKeith Busch <kbusch@kernel.org>2024-10-30 17:19:18 +0300
commitd2f551b1f72b4c508ab9298419f6feadc3b5d791 (patch)
tree6ac40fc95e080317e780239e9d4937595efea059 /tools/perf/scripts/python/gecko.py
parent42ab37eaad17aee458489c553a367621ee04e0bc (diff)
downloadlinux-d2f551b1f72b4c508ab9298419f6feadc3b5d791.tar.xz
nvmet-auth: assign dh_key to NULL after kfree_sensitive
ctrl->dh_key might be used across multiple calls to nvmet_setup_dhgroup() for the same controller. So it's better to nullify it after release on error path in order to avoid double free later in nvmet_destroy_auth(). Found by Linux Verification Center (linuxtesting.org) with Svace. Fixes: 7a277c37d352 ("nvmet-auth: Diffie-Hellman key exchange support") Cc: stable@vger.kernel.org Signed-off-by: Vitaliy Shevtsov <v.shevtsov@maxima.ru> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions