[PATCH v3 1/6] pseries/plpks: fix length types for wrapping operations
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Sat Oct 17 07:54:20 UTC 2026
> The object wrapping and unwrapping hcalls use 64-bit length values, but
> plpks_wrap_object() and plpks_unwrap_object() currently use u32 for the
> input and output length parameters. As a result, the interfaces cannot
> represent the full range of values supported by the hcalls.
>
> Use u64 for the length parameters to align them with the underlying hcall
> interfaces. Update the PKWM consumer accordingly.
>
> Fixes: 133aa79e211d ("pseries/plpks: add HCALLs for PowerVM Key Wrapping Module")
> 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/20261017074850.164031-1-ssrish@linux.ibm.com?part=1
More information about the Linux-security-module-archive
mailing list