Out-of-bounds kernel read via BPF stack underallocation
Published Feb 22, 2024 · Updated May 23, 2026
Out-of-bounds access in the Linux kernel BPF verifier allows local users to read kernel memory through a privileged BPF program. In check_mem_access(), update_state_depth() receives only the fixed offset and ignores the variable minimum, so bpf_subprog_info.stack_depth can be too small. A privileged BPF program is required; the resulting runtime read can access data beyond the allocated BPF stack.
Summary
What happened
Out-of-bounds access in the Linux kernel BPF verifier allows local users to read kernel memory through a privileged BPF program. In check_mem_access(), update_state_depth() receives only the fixed offset and ignores the variable minimum, so bpf_subprog_info.stack_depth can be too small. A privileged BPF program is required; the resulting runtime read can access data beyond the allocated BPF stack.
The record
- CVE
- CVE-2023-52452
- Published
- Feb 22, 2024
- Updated
- May 23, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- Unavailable
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Feb 22, 2024CVE publishedPublication date reported by the CVE source.
- May 23, 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=01f810ace9ed37255f27608a0864abebccf0aab3 <0954982db8283016bf38e9db2da5adf47a102e19
- Affected versionversion=01f810ace9ed37255f27608a0864abebccf0aab3 <6b4a64bafd107e521c01eec3453ce94a3fb38529
- Affected versionversion=01f810ace9ed37255f27608a0864abebccf0aab3 <fbcf372c8eda2290470268e0afb5ab5d5f5d5fde
- Affected versionversion=5.10.33 <5.11
- Affected versionversion=5.11.17 <5.12
- Affected versionversion=5.12
- Affected versionversion=d1b725ea5d104caea250427899f4e2e3ab15b4fc
- Affected versionversion=f3c4b01689d392373301e6e60d1b02c5b4020afc
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
No sourced classifications are available.
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