Kernel-address disclosure via unchecked BPF CMPXCHG R0 pointer
Published Jun 19, 2024 · Updated May 11, 2026
Kernel address disclosure in Linux 5.12 through 5.15.10 allows local users to recover a kernel pointer via an unprivileged eBPF program. The BPF verifier fails to reject BPF_CMPXCHG instructions whose auxiliary R0 old-value register contains a pointer, allowing guessed addresses to be compared against a map slot. An unprivileged local account and enabled unprivileged BPF calls are required; successful probing discloses only a kernel address.
Summary
What happened
Kernel address disclosure in Linux 5.12 through 5.15.10 allows local users to recover a kernel pointer via an unprivileged eBPF program. The BPF verifier fails to reject BPF_CMPXCHG instructions whose auxiliary R0 old-value register contains a pointer, allowing guessed addresses to be compared against a map slot. An unprivileged local account and enabled unprivileged BPF calls are required; successful probing discloses only a kernel address.
The record
- CVE
- CVE-2021-47607
- Published
- Jun 19, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- Unavailable
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 19, 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=5.12
- Affected versionversion=5ffa25502b5ab3d639829a2d1e316cff7f59a41e <a82fe085f344ef20b452cd5f481010ff96b5c4cd
- Affected versionversion=5ffa25502b5ab3d639829a2d1e316cff7f59a41e <f87a6c160ecc8c7b417d25f508d3f076fe346136
What conditions does exploitation require?
What is affected?
Published CVSS scores
No CVSS assessment is available in this record.
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