Local privilege escalation via request-finalization use-after-free
Published May 1, 2024 · Updated Aug 5, 2026
Use-after-free in Linux 6.6 through 6.6.23 and 6.7 through 6.7.11 allows local users to escalate privileges via skcipher requests. The driver calls crypto_finalize_skcipher_request before sun8i_ce_cipher_unprepare, letting the completion callback free request memory that unprepare then reads and writes. An unprivileged local process can reach this deterministic path through AF_ALG when the affected Allwinner crypto engine driver is active, enabling kernel-memory read and controlled-write primitives or a kernel crash.
Summary
What happened
Use-after-free in Linux 6.6 through 6.6.23 and 6.7 through 6.7.11 allows local users to escalate privileges via skcipher requests. The driver calls crypto_finalize_skcipher_request before sun8i_ce_cipher_unprepare, letting the completion callback free request memory that unprepare then reads and writes. An unprivileged local process can reach this deterministic path through AF_ALG when the affected Allwinner crypto engine driver is active, enabling kernel-memory read and controlled-write primitives or a kernel crash.
The record
- CVE
- CVE-2024-27061
- Published
- May 1, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, CWE-476, 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=4136212ab18eb3dce6efb6e18108765c36708f71 <183420038444547c149a0fc5f58e792c2752860c
- Affected versionversion=4136212ab18eb3dce6efb6e18108765c36708f71 <51a7d338c212e0640b1aca52ba6590d5bea49879
- Affected versionversion=4136212ab18eb3dce6efb6e18108765c36708f71 <dc60b25540c82fc4baa95d1458ae96ead21859e0
- Affected versionversion=6.6
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