What is the Android Kernel?
The Android operating system runs on a modified Linux kernel that manages hardware resources, process isolation, and security enforcement for all Android devices. The kernel implements Android's security boundaries including app sandboxing, SELinux enforcement, and privilege separation. Kernel use-after-free vulnerabilities are among the most serious Android security bugs because exploiting them allows an attacker to break out of the Android application sandbox and gain kernel-level code execution — bypassing all application-level security controls. Android kernel UAF vulnerabilities are typically used as the second stage in mobile exploit chains: a browser or app vulnerability provides initial code execution, then a kernel UAF is used for full device compromise.
Overview
CVE-2021-1048 is a use-after-free vulnerability (CWE-416) in the Android kernel that allows a local application with low privileges to escalate to kernel-level code execution. The vulnerability involves a kernel object being freed while a reference to it remains, allowing a controlled heap allocation to later occupy the freed memory and corrupt adjacent kernel structures. Google patched this in the December 2021 Android Security Bulletin. CISA added it to KEV in May 2022, reflecting confirmed in-the-wild exploitation in targeted attack chains — most likely commercial spyware chains or targeted espionage tooling.
Affected Versions
| Product | Vulnerable | Fixed |
|---|---|---|
| Android devices before December 2021 security patch level | Yes | 2021-12-05 patch level or later |
Technical Details
- Root cause: Use-after-free (CWE-416) in the Android Linux kernel — a kernel subsystem frees a memory object while a reference to it persists in another kernel path, allowing heap spray techniques to place attacker-controlled data at the freed location
- Local execution required: The attacker must have code execution in an Android application (AV:L, PR:L) — typically achieved by chaining with a browser/WebView zero-day or malicious app installation
- No user interaction needed after initial execution — the privilege escalation operates silently once an app is running
- Kernel code execution impact: A successful exploit gains arbitrary kernel read/write access, allowing: disabling SELinux, bypassing Android's app sandbox, installing persistent spyware, accessing the keystore, and achieving full device control
- Chain position: Android kernel UAF bugs appear as the second stage in complete device exploit chains — the first stage provides app-level code execution, the second stage breaks out of the sandbox
Discovery
Reported to Google by security researchers. The CISA KEV addition in May 2022 (five months after the patch) indicates exploitation was discovered in the wild, likely in targeted surveillance tooling.
Exploitation Context
Android kernel privilege escalation bugs are highly valued by commercial mobile spyware vendors (Pegasus, Predator, Hermit, and others) and nation-state mobile exploitation teams because they enable full device control with persistence. The Local attack vector (AV:L) means this bug is used as the second stage in a chain — not a standalone remote exploit. Users most at risk are those targeted by government-sponsored surveillance: journalists, activists, dissidents, political figures.
Remediation
- Apply the December 2021 Android Security Bulletin patches — ensure device security patch level is 2021-12-05 or later
- Enable automatic security updates on Android devices via Settings → System → System Update
- For organizations managing Android fleets: enforce minimum security patch level via Android Enterprise/MDM policies
- If targeted surveillance is suspected: use Amnesty International's MVT or Google's Play Protect forensics capabilities to check for indicators of compromise
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2021-1048 |
| Vendor / Product | Android — Kernel |
| NVD Published | 2021-12-15 |
| NVD Last Modified | 2025-10-23 |
| CVSS 3.1 Score | 7.8 |
| CVSS 3.1 Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Severity | HIGH |
| CWE | CWE-416 find similar ↗ |
| CISA KEV Added | 2022-05-23 |
| CISA KEV Deadline | 2022-06-13 |
| Known Ransomware Use | No |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2021-12-06 | Android Security Bulletin December 2021 published; CVE-2021-1048 patched |
| 2021-12-15 | CVE published |
| 2022-05-23 | Added to CISA Known Exploited Vulnerabilities catalog |
| 2022-06-13 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| Android Security Bulletin — December 2021 | Vendor Advisory |
| NVD — CVE-2021-1048 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |