CVE-2026-52951·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: drm/xe/dma-buf: handle empty bo and UAF races There look to be some nasty races here when triggering the invalidate_mappings hook: 1) We do xe_bo_alloc() followed by the attach, before the actual full bo init step in xe_dma_buf_init_obj(). However the bo is visible on the attachments list after the attach. This is bad since exporter driver, say amdgpu, can at any time call back into our invalidate_mappings hook, with an empty/bogus bo, leading to potential bugs/crashes. 2) Similar to 1) but here we get a UAF, when the invalidate_mappings hook is triggered. For example, we get as far as xe_bo_init_locked() but this fails in some way. But here the bo will be freed on error, but we still have it attached from dma-buf pov, so if the invalidate_mappings is now triggered then the bo we access is gone and we trigger UAF and more bugs/crashes. To fix this, move the attach step until after we actually have a fully set up buffer object. Note that the bo is not published to userspace until later, so not sure what the comment "Don't publish the bo until we have a valid attachment", is referring to. We have at least two different customers reporting hitting a NULL ptr deref in evict_flags when importing something from amdgpu, followed by triggering the evict flow. Hit rate is also pretty low, which would hint at some kind of race, so something like 1) or 2) might explain this. v2: - Shuffle the order of the ops slightly (no functional change) - Improve the comment to better explain the ordering (Matt B) (cherry picked from commit af1f2ad0c59fe4e2f924c526f66e968289d77971)
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.0.10
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.18% — higher than 7% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-52951 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.18%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 7.0.10
Fixed in: 7.0.10
How to fix this CVE
Update your Linux kernel to version 7.0.10 or later to resolve a critical race condition in the DMA-buf handling subsystem that can cause NULL pointer dereferences and use-after-free crashes during GPU buffer imports. Systems running kernel versions 6.19 through 7.0.9 should prioritize this patch, especially if using external GPU drivers like AMDGPU for data import operations.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r | awk -F. '{print $1"."$2"."$3}' and compare against 7.0.10
- Verify if DMA-buf is in use by checking dmesg for 'drm/xe' driver initialization: dmesg | grep -i 'drm/xe'
- Monitor system logs for NULL pointer dereference patterns related to GPU eviction: journalctl -xe | grep -i 'evict_flags\|NULL'
- After patching, confirm kernel version with uname -r returns 7.0.10 or later and no 'drm/xe' error messages appear in dmesg | tail -50
FAQ
What is CVE-2026-52951?
This vulnerability is a race condition in the Linux kernel's DMA-buf (Direct Memory Access Buffer) handling for the Intel Xe GPU driver that allows uninitialized or freed buffer objects to be accessed during device callbacks, potentially causing kernel crashes and system instability.
Is CVE-2026-52951 being actively exploited?
No active exploitation or public exploits are currently documented for this CVE, though it has been reported by enterprise customers experiencing crashes during GPU import operations with AMDGPU.
What versions of Kernel are affected by CVE-2026-52951?
Linux kernel versions 6.19 through 7.0.9 are vulnerable; the fix is included in kernel 7.0.10 and later releases.
How do I check if my server is vulnerable to CVE-2026-52951?
Run 'uname -r' and compare the version number to 7.0.10; if your version is 6.19 or later but earlier than 7.0.10, you are vulnerable.
Does Defensia detect CVE-2026-52951?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Linux kernel is installed on a monitored server, CVE-2026-52951 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/20a99ea1e2fd720856d6ba497ff26b82c604751f
- https://git.kernel.org/stable/c/981bedbbe61364fcc3a3b87ebaf648a66cd07108
- https://git.kernel.org/stable/c/9894731e513019df22a29e5c52f1c98890355ff1
- https://git.kernel.org/stable/c/c473ae25421fddc3dde247ba7b85225b10641d09
- https://access.redhat.com/security/cve/CVE-2026-52951
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-52951. Free for 1 server.
Get started free