Local privilege escalation via zcrypt card use-after-free
Published May 1, 2024 · Updated Aug 5, 2026
Use-after-free in Linux s390 zcrypt allows local users to corrupt kernel memory through z90crypt ioctls during crypto-card removal. Incorrect reference handling lets zcrypt_card_put free a struct zcrypt_card while zcrypt_pick_queue users still access its load and limit fields. A local unprivileged user with access to /dev/z90crypt can force the removal path, producing kernel reads and writes that support privilege escalation or a crash.
Summary
What happened
Use-after-free in Linux s390 zcrypt allows local users to corrupt kernel memory through z90crypt ioctls during crypto-card removal. Incorrect reference handling lets zcrypt_card_put free a struct zcrypt_card while zcrypt_pick_queue users still access its load and limit fields. A local unprivileged user with access to /dev/z90crypt can force the removal path, producing kernel reads and writes that support privilege escalation or a crash.
The record
- CVE
- CVE-2024-26957
- Published
- May 1, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 1, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 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.10
- Affected versionversion=e28d2af43614eb86f59812e7221735fc221bbc10 <394b6d8bbdf9ddee6d5bcf3e1f3e9f23eecd6484
- Affected versionversion=e28d2af43614eb86f59812e7221735fc221bbc10 <50ed48c80fecbe17218afed4f8bed005c802976c
- Affected versionversion=e28d2af43614eb86f59812e7221735fc221bbc10 <6470078ab3d8f222115e11c4ec67351f3031b3dd
- Affected versionversion=e28d2af43614eb86f59812e7221735fc221bbc10 <7e500849fa558879a1cde43f80c7c048c2437058
- Affected versionversion=e28d2af43614eb86f59812e7221735fc221bbc10 <9daddee03de3f231012014dab8ab2b277a116a55
- Affected versionversion=e28d2af43614eb86f59812e7221735fc221bbc10 <a55677878b93e9ebc31f66d0e2fb93be5e7836a6
- Affected versionversion=e28d2af43614eb86f59812e7221735fc221bbc10 <a64ab862e84e3e698cd351a87cdb504c7fc575ca
- Affected versionversion=e28d2af43614eb86f59812e7221735fc221bbc10 <b7f6c3630eb3f103115ab0d7613588064f665d0d
- Affected versionversion=e28d2af43614eb86f59812e7221735fc221bbc10 <befb7f889594d23e1b475720cf93efd2f77df000
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.
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