CVE-2025-38669: Linux kernel · Revert "drm/gem-shmem: 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 by reverting the problematic commit and returning to the previous stable method of handling dma_buf references. Users should update to kernel versions where this revert has been applied. Since this is a kernel-level issue, applying the updated kernel packages from the vendor or distribution is the recommended remediation.
Description
CVE-2025-38669 is a vulnerability in the Linux kernel related to the drm/gem-shmem subsystem. The issue arises because the dma_buf field in the drm_gem_object structure is not stable throughout the object's lifetime and can become NULL when user space releases the final GEM handle, leading to a NULL-pointer dereference. Previous partial workarounds did not fully resolve the problem, especially for buffer objects without an associated DRM framebuffer. The vulnerability was addressed by reverting the problematic commit and returning to the previous method of using .import_attach->dmabuf.
References
- ubuntu.com/security/CVE-2025-38669 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-38669 (opens in a new tab)
- git.kernel.org/linus/6d496e9569983a0d7a05be6661126d0702cf94f7 (opens in a new tab)
- git.kernel.org/stable/c/291a77604858a8b47cf6640a12b76e97f99e00ed (opens in a new tab)
- git.kernel.org/stable/c/6d496e9569983a0d7a05be6661126d0702cf94f7 (opens in a new tab)