(CVE-2025-23096) Samsung Exynos NPU Driver Double Free in IMB Memory Buffer Leading to Privilege Escalation
A double free vulnerability exists in the Samsung Exynos NPU driver's IMB memory buffer handling. A local attacker in the untrusted_app SELinux context could exploit this to achieve local privilege escalation.
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 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 within the untrusted_app SELinux context could exploit this to achieve local privilege escalation.
What the attacker needed
Local access to the device; untrusted_app SELinux context
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 double free happens when a program frees the same memory twice. This can let an attacker control what the program does next. Here, a malicious app on the phone could use this flaw to gain higher privileges than it should have.
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.