Local privilege escalation via stale epoll file reference
Published Dec 15, 2021 · Updated Oct 21, 2025
Use-after-free in the Android kernel allows local users to escalate privileges by exercising epoll without user interaction. ep_loop_check_proc calls get_file on an epoll file already committed to destruction, retaining an invalid reference during reverse-path checking. Code execution with low privileges is required to reach the kernel path, and successful memory corruption grants higher local privileges.
Summary
What happened
Use-after-free in the Android kernel allows local users to escalate privileges by exercising epoll without user interaction. ep_loop_check_proc calls get_file on an epoll file already committed to destruction, retaining an invalid reference during reverse-path checking. Code execution with low privileges is required to reach the kernel path, and successful memory corruption grants higher local privileges.
The record
- CVE
- CVE-2021-1048
- Published
- Dec 15, 2021
- Updated
- Oct 21, 2025
- Vendor
- Google Cloud
- Product
- Android
- Classifications
- CWE-416, T1404
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 15, 2021CVE publishedPublication date reported by the CVE source.
- May 23, 2022Exploitation reportedCISA Known Exploited Vulnerabilities listing
- Oct 21, 2025Record 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=Android kernel
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.
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.
Reported exploitation
- Limited targeted exploitation reported by Androidreported exploitation
- CISA Known Exploited Vulnerabilities listingknown exploited catalog
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