CVE-2025-38449: Use-after-free in Linux kernel DRM/GEM framebuffer handling
- Vendor
- Linux
CVE-2025-38449 is a reference-counting vulnerability in the Linux kernel DRM/GEM subsystem. A GEM handle can be released while its GEM buffer object remains attached to a DRM framebuffer, prematurely releasing the backing dma-buf. Subsequent modesetting or page-flip operations can access the released backing object and trigger a kernel segmentation fault, including in dma_buf_vmap(). Drivers using shadow planes to map dma-bufs during page flips are particularly susceptible. The underlying lifetime-management flaw predates changes that expanded use of the GEM object's dma-buf field.
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.
A local low-privileged user with sufficient access to the graphics subsystem can trigger a kernel fault, causing denial of service and potentially disrupting the entire system. Kernel crashes are the established consequence; reliable privilege escalation, arbitrary code execution, or information disclosure is not established.
Mitigation
If you can’t patch tonight, do this now.
Where graphics functionality is unnecessary, prevent the drm kernel module from loading. This mitigation can disable graphics functionality and is not applicable when DRM is built into the kernel. Restrict untrusted local users' access to DRM graphics devices and modesetting interfaces until the kernel can be updated.
Remediation
Patch, then assume compromise.
Install a vendor-supported kernel update containing the DRM/GEM framebuffer reference-management fix and reboot into the updated kernel. Upstream fixed releases include 6.6.99, 6.12.39, 6.15.7, and 6.16-rc5; prefer a current supported stable release rather than individually cherry-picking fixes. The fix retains GEM-handle references for the framebuffer's GEM buffer objects and releases those references during framebuffer cleanup. Distribution kernels may contain backported fixes despite having older version numbers.
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-2025-38449 exploited in the wild?
- Yes. As of Oct 25, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2025-38449?
- As of Oct 25, 2026, Mallory has found no public exploit for CVE-2025-38449.
- Is there a patch for CVE-2025-38449?
- Install a vendor-supported kernel update containing the DRM/GEM framebuffer reference-management fix and reboot into the updated kernel. Upstream fixed releases include 6.6.99, 6.12.39, 6.15.7, and 6.16-rc5; prefer a current supported stable release rather than individually cherry-picking fixes.
- What products are affected by CVE-2025-38449?
- Linux Kernel.
- How severe is CVE-2025-38449?
- CVE-2025-38449 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 0.28% (13th percentile) as of Oct 25, 2026.
Recent activity
25 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.