Kernel memory disclosure via misordered lock acquisition
Published Feb 27, 2024 · Updated Aug 5, 2026
A lock-ordering flaw in the Linux kernel allows local users to disclose kernel memory through concurrent epoll activity. In queued_write_lock_slowpath(), atomic_cmpxchg_relaxed() lacks acquire ordering, permitting subsequent reads before the writer truly owns the lock. An unprivileged local process must force concurrent epoll reader and writer activity; the race can expose or corrupt data observed through the misordered critical section.
Summary
What happened
A lock-ordering flaw in the Linux kernel allows local users to disclose kernel memory through concurrent epoll activity. In queued_write_lock_slowpath(), atomic_cmpxchg_relaxed() lacks acquire ordering, permitting subsequent reads before the writer truly owns the lock. An unprivileged local process must force concurrent epoll reader and writer activity; the race can expose or corrupt data observed through the misordered critical section.
The record
- CVE
- CVE-2021-46921
- Published
- Feb 27, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-668
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 27, 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.15
- Affected versionversion=b519b56e378ee82caf9b079b04f5db87dedc3251 <5902f9453a313be8fe78cbd7e7ca9dba9319fc6e
- Affected versionversion=b519b56e378ee82caf9b079b04f5db87dedc3251 <82808cc026811fbc3ecf0c0b267a12a339eead56
- Affected versionversion=b519b56e378ee82caf9b079b04f5db87dedc3251 <82fa9ced35d88581cffa4a1c856fc41fca96d80a
- Affected versionversion=b519b56e378ee82caf9b079b04f5db87dedc3251 <84a24bf8c52e66b7ac89ada5e3cfbe72d65c1896
- Affected versionversion=b519b56e378ee82caf9b079b04f5db87dedc3251 <d558fcdb17139728347bccc60a16af3e639649d2
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