Skip to main content
Mallory
MediumVulnerability

CVE-2025-38449: Use-after-free in Linux kernel DRM/GEM framebuffer handling

Published Jul 25, 2025 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS5.5Medium · v3.1
EPSS0.28%13th percentile
CISA KEVNoNot listed
In the wildReported1 exploitation record in Mallory
Vendor
Linux
IdentifiersCVE-2025-38449CWE-416 · Use After Free

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
LinuxLinux Kerneloperating_system
FAQ

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.
Activity feed

Recent activity

25 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+15 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.