CVE-2025-38674: Linux kernel · Revert "drm/prime: Use dma_buf from GEM object instance
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 24 Nov 2026, 20:06 UTC
Thin evidence
One scorer or noneCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 22 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinux-aws-6.14pkg:deb/ubuntu/linux-aws-6.14?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-azure-6.14pkg:deb/ubuntu/linux-azure-6.14?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-azure-fde-6.14pkg:deb/ubuntu/linux-azure-fde-6.14?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-azure-nvidia-6.14pkg:deb/ubuntu/linux-azure-nvidia-6.14?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-gcp-6.11pkg:deb/ubuntu/linux-gcp-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available via the revert commit that restores the previous handling of dma_buf in the DRM subsystem. Users should update to kernel versions that include this revert to mitigate the vulnerability. No additional workarounds are necessary as the revert fully addresses the issue.
Description
A vulnerability in the Linux kernel's DRM subsystem involves a NULL-pointer dereference caused by the dma_buf field in struct drm_gem_object becoming NULL when the user space releases the final GEM handle on the buffer object. This issue was introduced by a commit that used dma_buf from the GEM object instance, which was later reverted due to instability. Partial workarounds did not fully resolve the problem, especially for buffer objects without an associated DRM framebuffer.
References
- ubuntu.com/security/CVE-2025-38674 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-38674 (opens in a new tab)
- git.kernel.org/linus/fb4ef4a52b79a22ad382bfe77332642d02aef773 (opens in a new tab)
- git.kernel.org/stable/c/5f05d83ce689a8930a70dfa73f879604aef8cc03 (opens in a new tab)
- git.kernel.org/stable/c/fb4ef4a52b79a22ad382bfe77332642d02aef773 (opens in a new tab)