Use-After-Free in Samsung Exynos M2M Scaler Driver
CVE-2024-44068 is a page use-after-free vulnerability in the Samsung Exynos m2m1shot_scaler0 hardware media-processing driver, affecting Exynos 9820, 9825, 980, 990, 850, and W920 processors running releases before SMR-Oct-2024. During M2M1SHOT_IOC_PROCESS processing, userspace buffers are mapped for device access. For PFNMAP-backed buffers, sysmmu_map_pte does not increment physical-page reference counts, allowing the backing memory to be freed while an I/O mapping remains active. Subsequent device writes through the stale mapping can corrupt reallocated physical pages, including page tables, enabling kernel privilege escalation. The vulnerability was exploited in the wild as part of an elevation-of-privilege chain.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits kernel-memory corruption and privilege escalation on affected Samsung mobile and wearable devices. The analyzed exploit overwrote page-table entries to implement a Kernel Space Mirroring Attack, enabling kernel-memory access and potentially full device compromise. Exploitation was demonstrated on a Samsung Galaxy S10 running build G973FXXSGHWC2, after the attacker had already obtained arbitrary code execution in the privileged cameraserver process. The specific SELinux bypass used in the observed chain is not publicly established.
If you can’t patch tonight, do this now.
Pending patch deployment, restrict access to the affected scaler driver to essential trusted processes and minimize opportunities to compromise those processes. Trace relevant IOCTL activity and validate arguments to help identify suspicious buffer-mapping behavior. These measures are defense in depth; no confirmed complete workaround is available.
Patch, then assume compromise.
Install Samsung's SMR-Oct-2024 firmware/security release or a subsequent vendor release containing the fix. Samsung addressed the vulnerability on October 7, 2024. For driver maintainers, review physical-page reference management across I/O mapping and teardown so that mapped pages cannot be freed while device access remains possible.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.