Skip to content
Memory corruption Write-up Advanced

(CVE-2025-23095) Samsung Exynos NPU Driver Double Free Leading to Privilege Escalation

The Samsung Exynos NPU driver contains a double free flaw. A local attacker running in the untrusted_app SELinux context could exploit it to escalate privileges on the device.

starlabs.sg

Published on starlabs.sg

The Samsung Galaxy S24+ features a Neural Processing Unit (NPU) integrated into either the Snapdragon 8 Gen 3 or Exynos 2400 chipset depending on the market. The NPU accelerates on-device AI workloads including camera processing, real-time translation, and generative photo editing.

The author, on starlabs.sg

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

A local attacker in the untrusted_app SELinux context could achieve local privilege escalation with high confidentiality and integrity impact.

What the attacker needed

Local code execution as untrusted_app; affected Samsung Exynos device

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A driver is low-level software that lets the operating system talk to a hardware component, here the neural processing unit (NPU) chip. A double free happens when a program frees the same piece of memory twice, which can corrupt memory and let an attacker take control. This report says a local attacker, meaning someone already running code on the phone under a restricted app context, could use that corruption to gain higher privileges.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.