← Vulnerability feed

Vulnerability record · CVE-2021-25394 · published 11 June 2021

CVE-2021-25394: Samsung Android MFC charger driver use-after-free via race condition

Samsung · Android

The MFC charger driver in Samsung Android contains a use-after-free that can be triggered through a race condition. It allows an arbitrary write, but only after a radio privilege has already been compromised, so it is a privilege-escalation step rather than an initial entry point.

6.4 CVSS 3.1 Medium CISA KEV since 29 Jun 2023 EPSS 0.40% · top 68.2% CWE-416 · Use after freeCWE-362 · Race condition
6.4CVSS 3.1 base score, v2 4.4
0.40%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
1Affected product versions listed by NVD
3References
17 Jun 2026Last modified by NVD

Description

A use after free vulnerability via race condition in MFC charger driver prior to SMR MAY-2021 Release 1 allows arbitrary write given a radio privilege is compromised.

CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: medium.

high priorityIt is in CISA KEV with confirmed exploitation, but the high privilege prerequisite and local attack vector limit broad exposure.

What it is

The MFC charger driver in Samsung Android contains a use-after-free that can be triggered through a race condition. It allows an arbitrary write, but only after a radio privilege has already been compromised, so it is a privilege-escalation step rather than an initial entry point.

Impact

An attacker who already holds radio-level privileges can corrupt freed memory and perform an arbitrary write, potentially escalating to kernel or higher-level code execution on the device.

Attack surface

The flaw is local (AV:L) and requires high privileges (PR:H) with no user interaction (UI:N), meaning it is reached from code already running with radio privilege on the device, not remotely.

Exploitation

CVE-2021-25394 is listed in CISA's Known Exploited Vulnerabilities catalog, indicating real-world exploitation, though EPSS 30-day probability is low at roughly 0.4 percent and no ransomware use is documented.

What to do

  • Apply the Samsung SMR MAY-2021 Release 1 (or later) security update to affected devices.
  • If updates are unavailable, discontinue use of the affected product per CISA guidance.
  • Restrict and monitor radio-privilege processes and interfaces to limit the preconditions for this flaw.
  • Track device patch compliance and enforce minimum firmware baselines for Samsung Android devices.

Detection

  • Monitor for anomalous writes or crashes originating from the MFC charger driver in kernel logs.
  • Alert on unexpected radio-privilege process behavior or privilege transitions on Samsung devices.
  • Correlate device telemetry with known exploitation indicators for CVE-2021-25394 where available.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2021-25394 to the Known Exploited Vulnerabilities catalog on 29 June 2023 as "Samsung Mobile Devices Race Condition Vulnerability". Required action: Apply updates per vendor instructions or discontinue use of the product if updates are unavailable Federal deadline 20 July 2023.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-25394 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2025-21042Samsung Android libimagecodec.quram.so out-of-bounds writeAn out-of-bounds write in Samsung's libimagecodec.quram.so image codec library, fixed in the SMR Apr-2025 Release 1, allows remote attackers to execu…KEVEPSS 33%analysed9.8CVE-2025-21043Samsung Android libimagecodec Out-of-Bounds Write RCEAn out-of-bounds write in libimagecodec.quram.so, a Samsung image codec library on Android, allows remote code execution. The flaw is reachable witho…KEVEPSS 2.1%analysed7.8CVE-2021-25487Samsung Android modem driver buffer bounds flaw enables code executionThe modem interface driver in Samsung Android fails to bounds-check a buffer in set_skb_priv(), allowing an out-of-bounds read. The read can derefere…KEVEPSS 0.64%analysed7.1CVE-2021-25337Samsung clipboard service access control flaw exposes local filesSamsung mobile devices before SMR Mar-2021 Release 1 have improper access control in the clipboard service, letting untrusted applications read or wr…KEVEPSS 2.8%analysed6.7CVE-2021-25371Samsung Android DSP driver allows loading arbitrary ELF librariesThe DSP driver in Samsung Android devices before SMR Mar-2021 Release 1 permits loading of arbitrary ELF libraries inside the DSP. This breaks the in…KEVEPSS 0.80%analysed6.7CVE-2021-25372Samsung Android DSP driver improper boundary check allows out-of-bounds memory accessThe Samsung DSP driver in Android contains an improper boundary check that permits out-of-bounds memory access. The flaw is fixed in SMR Mar-2021 Rel…KEVEPSS 0.80%analysed6.4CVE-2021-25395Samsung Android MFC charger driver race condition bypasses signature checkA race condition in the Samsung MFC charger driver, fixed prior to SMR MAY-2021 Release 1, lets a local attacker bypass a signature check. It matters…KEVEPSS 0.37%analysed5.5CVE-2021-25489Samsung Android modem driver format string bug causes kernel panicSamsung Android devices contain a missing input validation flaw in the modem interface driver, resulting in a format string bug. It is listed in CISA…KEVEPSS 0.53%analysed

Source: NIST National Vulnerability Database (record CVE-2021-25394), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.