CVE-2021-25394: Race Condition Use-After-Free in Samsung MFC Charger Driver
- Vendor
- Samsung Electronics
CVE-2021-25394 is a use-after-free vulnerability caused by a race condition in the MFC charger driver on Samsung mobile devices prior to the SMR MAY-2021 Release 1. The vulnerability allows an attacker with radio privilege to perform arbitrary writes to memory, potentially leading to code execution or system compromise.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an attacker with compromised radio privilege to perform arbitrary memory writes, which can lead to privilege escalation, code execution in the kernel context, or full device compromise. The vulnerability is actively exploited in the wild, increasing the risk to affected devices.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, restrict or monitor access to radio privileges and limit the exposure of the device to untrusted or potentially malicious radio interfaces. Employ mobile device management (MDM) solutions to enforce security policies and monitor for signs of exploitation.
Remediation
Patch, then assume compromise.
Upgrade Samsung mobile devices to SMR MAY-2021 Release 1 or later, which contains the patch for this vulnerability. Ensure all devices are running the latest security updates provided by Samsung.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-25394 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jun 29, 2023.
- Is there a public exploit for CVE-2021-25394?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2021-25394.
- Is there a patch for CVE-2021-25394?
- Upgrade Samsung mobile devices to SMR MAY-2021 Release 1 or later, which contains the patch for this vulnerability. Ensure all devices are running the latest security updates provided by Samsung.
- What products are affected by CVE-2021-25394?
- Samsung Electronics Android.
- How severe is CVE-2021-25394?
- CVE-2021-25394 has a CVSS v3.1 score of 6.4 (Medium) and an EPSS score of 0.40% (35th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.