Kernel-stack disclosure via zero-length SETREGSET
Published Jan 11, 2025 · Updated May 11, 2026
Information disclosure in arm64 ptrace in Linux 6.12 through 6.12.4 and 6.13-rc1 allows local users to read 64 bits of kernel-stack data. The poe_set() handler leaves its temporary ctrl value uninitialized when NT_ARM_POE SETREGSET receives a zero-length write, then stores that stack value in target->thread.por_el0. A local user with ptrace access to a target process can retrieve the value through GETREGSET; disclosure is limited to one stack slot and provides no write primitive.
Summary
What happened
Information disclosure in arm64 ptrace in Linux 6.12 through 6.12.4 and 6.13-rc1 allows local users to read 64 bits of kernel-stack data. The poe_set() handler leaves its temporary ctrl value uninitialized when NT_ARM_POE SETREGSET receives a zero-length write, then stores that stack value in target->thread.por_el0. A local user with ptrace access to a target process can retrieve the value through GETREGSET; disclosure is limited to one stack slot and provides no write primitive.
The record
- CVE
- CVE-2024-57877
- Published
- Jan 11, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-908
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 11, 2025CVE 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=17519819926211e6b2834e00e4554bec0daf22ac <4105dd76bc8ad6529d47157ef0565cb84ca6676c
- Affected versionversion=17519819926211e6b2834e00e4554bec0daf22ac <594bfc4947c4fcabba1318d8384c61a29a6b89fb
- Affected versionversion=6.12
What conditions does exploitation require?
What is affected?
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