CVE-2026-138939: pseries/plpks: clear sensitive buffers in wrapping operations
In the Linux kernel, the following vulnerability has been resolved:
pseries/plpks: clear sensitive buffers in wrapping operations
PLPKS wrapping key generation, object wrapping, and object unwrapping use authentication buffers that contain passwords. An object unwrapping failure also frees an output buffer that may contain sensitive data. Freeing these buffers with kfree(), without wiping the contents, can leave sensitive data in memory.
Use kfreesensitive() to wipe the buffers when freeing them.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1 - Compensating control
In pseries/plpks wrapping operations, use kfree_sensitive() to wipe wrapping-key, object-wrapping, object-unwrapping, authentication, and output buffers when freeing them.
Event History
Frequently Asked Questions
What sensitive information may remain in memory?
Authentication buffers used during PLPKS wrapping key generation, object wrapping, and object unwrapping can contain passwords. On an object-unwrapping failure, the freed output buffer may also contain sensitive data.
When does exposure occur?
Exposure occurs when these sensitive buffers are freed with kfree() without first clearing their contents. The issue specifically includes the error path for failed object unwrapping.
What is the remediation?
Update to a Linux kernel version containing the referenced fixes. The fix replaces ordinary freeing of the affected buffers with kfree_sensitive(), which wipes their contents before release.