CVE-2023-21215: Android Device Memory Server Arbitrary Code Execution Vulnerability

:unknown: Updated 02 Oct 2025

Summary

01/12/2023
Yes i
High
Not published

CVE-2023-21215: In DevmemIntAcquireRemoteCtx of devicemem_server.c, there is a possible arbitrary code execution due to a race condition. Affects :unknown: versions >= SoCVersion:0, < SoCVersion:2023-12-05. Fixed in SoCVersion:2023-12-05. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The vulnerability affects the Android operating system, specifically within the device memory server component. This component is responsible for managing memory allocation and access for various applications and services running on the device. Given its critical role in system operations, any flaws can lead to severe security implications, including unauthorized access and privilege escalation.

Vulnerability Detail

In the function DevmemIntAcquireRemoteCtx of devicemem_server.c, a race condition exists that allows for arbitrary code execution. This vulnerability can be exploited locally, enabling an attacker to escalate privileges within the kernel without requiring additional execution rights. The exploitation does not necessitate user interaction, making it particularly dangerous.

How To Fix

Minimum fixed version

SoCVersion:2023-12-05

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds available for this vulnerability. The best course of action is to apply the patch as soon as it becomes available.

Conclusion

CVE-2023-21215 presents a serious risk to Android devices due to a race condition in the device memory server, allowing for arbitrary code execution and local privilege escalation. Users are strongly advised to update their systems to the latest patched version to mitigate this vulnerability.

See every vulnerability recorded for :unknown: →

Share this vulnerability

FAQ

CVE-2023-21215 is a vulnerability in the Android device memory server that allows for arbitrary code execution due to a race condition.

An attacker can exploit this vulnerability locally to escalate privileges in the kernel without needing additional execution rights.

No, user interaction is not required for exploitation, making it a significant security risk.

You should update your device to the patched version released on December 5, 2023, to protect against this vulnerability.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Related vulnerabilities

Recent vulnerabilities recorded for :unknown:.

How To Fix

Minimum fixed version

SoCVersion:2023-12-05

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback