[PATCH v5 5/9] keys/trusted_keys: fix PKWM output buffer cleanup
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Sun Oct 18 17:13:21 UTC 2026
> The PKWM seal and unseal paths unconditionally free their output buffers,
> but the PLPKS helpers can return without initializing those pointers.
>
> Initialize the output buffer pointers to NULL to make cleanup safe on early
> failure paths.
>
> Fixes: c99fcb0d735b ("keys/trusted_keys: establish PKWM as a trusted source")
> Cc: stable at vger.kernel.org # 7.0
> Signed-off-by: Srish Srinivasan <ssrish at linux.ibm.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261018170844.491252-1-ssrish@linux.ibm.com?part=5
More information about the Linux-security-module-archive
mailing list