Local key disclosure via incomplete heap clearing
Published Jul 30, 2024 · Updated May 11, 2026
Information disclosure in the Linux s390 protected-key API allows local users to recover residual cryptographic key material. Three pkey ioctl paths clear only the requested key length before freeing heap buffers, leaving allocator padding that can retain cryptographic data. Exploitation requires high-privilege local access on an s390 system using the protected-key device, and the documented impact is key-material disclosure only.
Summary
What happened
Information disclosure in the Linux s390 protected-key API allows local users to recover residual cryptographic key material. Three pkey ioctl paths clear only the requested key length before freeing heap buffers, leaving allocator padding that can retain cryptographic data. Exploitation requires high-privilege local access on an s390 system using the protected-key device, and the documented impact is key-material disclosure only.
The record
- CVE
- CVE-2024-42158
- Published
- Jul 30, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-669, T1005
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Jul 30, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.11
- Affected versionversion=e80d4af0a320972aac58e2004d0ba4e44ef4c5c7 <22e6824622e8a8889df0f8fc4ed5aea0e702a694
- Affected versionversion=e80d4af0a320972aac58e2004d0ba4e44ef4c5c7 <62151a0acde90823bdfa991d598c85cf4b1d387d
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo