The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-21102

CVE-2023-21102: Google Android Privilege Escalation Flaw

CVE-2023-21102 is a privilege escalation vulnerability in Google Android kernel that bypasses shadow stack protection, enabling attackers to gain elevated privileges. This article covers technical details, affected versions, and mitigations.

Published: January 28, 2026

CVE-2023-21102 Overview

CVE-2023-21102 is a local privilege escalation vulnerability in the Android kernel's EFI runtime wrapper (__efi_rt_asm_wrapper in efi-rt-wrapper.S). The vulnerability exists due to a logic error that allows bypassing shadow stack protection, a critical security mechanism designed to prevent return-oriented programming (ROP) attacks. Successful exploitation enables local attackers to escalate privileges without requiring additional execution privileges or user interaction.

Critical Impact

Local privilege escalation via shadow stack protection bypass in Android kernel EFI runtime services, requiring no user interaction for exploitation.

Affected Products

  • Google Android (kernel component)
  • Android devices using vulnerable kernel versions
  • Systems with EFI runtime wrapper implementations

Discovery Timeline

  • 2023-05-15 - CVE-2023-21102 published to NVD
  • 2025-01-24 - Last updated in NVD database

Technical Details for CVE-2023-21102

Vulnerability Analysis

This vulnerability is classified under CWE-754 (Improper Check for Unusual or Exceptional Conditions), indicating that the affected code fails to properly validate or handle specific runtime conditions. The flaw resides in the __efi_rt_asm_wrapper function within efi-rt-wrapper.S, which is responsible for wrapping EFI (Extensible Firmware Interface) runtime service calls in the Android kernel.

Shadow stack protection is a hardware-assisted security feature that maintains a separate "shadow" copy of return addresses to detect and prevent stack-based exploitation techniques. When a function returns, the processor compares the return address on the regular stack with the one stored in the shadow stack. If they differ, execution is halted to prevent potential exploitation.

The logic error in this wrapper function creates a condition where shadow stack verification can be circumvented, effectively neutralizing this protection mechanism. This is particularly concerning as shadow stack is considered a critical defense-in-depth measure against advanced exploitation techniques.

Root Cause

The root cause is a logic error in the EFI runtime assembly wrapper code that improperly handles shadow stack state during EFI runtime service transitions. When the kernel invokes EFI runtime services, the wrapper must correctly manage the shadow stack to maintain security invariants. The flawed implementation contains a code path that fails to properly preserve or restore shadow stack state, creating a window where an attacker can manipulate return addresses without triggering the shadow stack protection mechanism.

Attack Vector

The attack vector is local, requiring an attacker to have existing code execution capability on the target Android device. The exploitation path involves:

  1. Triggering specific EFI runtime service calls through legitimate kernel interfaces
  2. Exploiting the timing or state of the vulnerable wrapper function
  3. Manipulating stack contents during the window when shadow stack protection is ineffective
  4. Redirecting execution flow to achieve privilege escalation

The vulnerability does not require any additional execution privileges beyond what a normal application possesses, and no user interaction is necessary, making it particularly dangerous for devices where applications may have limited initial permissions.

The vulnerability manifests in the assembly wrapper function that handles EFI runtime service calls. The logic error occurs in how the wrapper manages shadow stack state during transitions between kernel and EFI runtime contexts. For technical implementation details, refer to the Android Security Bulletin May 2023.

Detection Methods for CVE-2023-21102

Indicators of Compromise

  • Unusual EFI runtime service invocations from user-space applications
  • Unexpected kernel crash patterns related to stack validation failures
  • Anomalous process privilege changes without corresponding authorization events
  • Suspicious activity in kernel logs related to efi-rt-wrapper or shadow stack exceptions

Detection Strategies

  • Monitor kernel logs for shadow stack violation alerts that were unexpectedly bypassed
  • Implement kernel integrity monitoring to detect unauthorized privilege changes
  • Deploy endpoint detection solutions capable of monitoring EFI runtime service interactions
  • Utilize SentinelOne's behavioral AI to detect anomalous privilege escalation patterns

Monitoring Recommendations

  • Enable detailed kernel auditing for EFI runtime service calls
  • Configure alerting for any processes gaining elevated privileges unexpectedly
  • Monitor for kernel module loading or memory manipulation attempts
  • Review Android security patch levels across managed device fleet

How to Mitigate CVE-2023-21102

Immediate Actions Required

  • Apply the Android security patches from the May 2023 Security Bulletin immediately
  • Audit all managed Android devices for current security patch levels
  • Prioritize patching for devices in high-security environments
  • Implement additional access controls to limit local code execution where possible

Patch Information

Google addressed this vulnerability in the Android Security Bulletin May 2023. The fix corrects the logic error in the __efi_rt_asm_wrapper function to properly maintain shadow stack protection during EFI runtime service calls. Organizations should ensure all Android devices are updated to security patch levels dated 2023-05-01 or later.

The vulnerability is tracked internally by Google as Android ID: A-260821414, with references to upstream kernel patches that address the underlying issue.

Workarounds

  • Restrict installation of untrusted applications that could serve as initial exploitation vectors
  • Implement application allowlisting where feasible to reduce attack surface
  • Enable additional kernel hardening options if available on specific device implementations
  • Consider network segmentation for devices that cannot be immediately patched
bash
# Check Android security patch level
adb shell getprop ro.build.version.security_patch

# Verify current kernel version
adb shell uname -r

# Review device for security patch compliance (example)
# Ensure output shows 2023-05-01 or later

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechAndroid

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.00%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-noinfo

  • CWE-754
  • Vendor Resources
  • Android Security Bulletin May 2023
  • Related CVEs
  • CVE-2026-20990: Secure Folder Privilege Escalation Flaw

  • CVE-2021-39793: Google Android Privilege Escalation Flaw

  • CVE-2021-0799: Android Privilege Escalation Vulnerability

  • CVE-2020-0096: Google Android Privilege Escalation Flaw
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English