CVE-2026-52951
Last modified
CVE-2026-52951 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.13% chance of exploitation in the next 30 days.
Description
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)
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.8, < 6.12.91 | — |
| Linux | Linux Kernel | >= 6.13, < 6.18.33 | — |
| Linux | Linux Kernel | >= 6.19, < 7.0.10 | — |
| Linux | Linux Kernel | 7.1 | Rc1 |
References
- https://access.redhat.com/security/cve/CVE-2026-52951Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2492353Third Party Advisory
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-52951.jsonThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-52951?
How severe is CVE-2026-52951?
How do I fix CVE-2026-52951?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-52946In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-52947In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-52948In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-52949In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-5295A stack buffer overflow exists in wolfSSL's PKCS7 implementa…8
- CVE-2026-52950In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-52952In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-52953In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-52954In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-52955In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-52956In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-52957In the Linux kernel, the following vulnerability has been re…7.5
Are you affected by CVE-2026-52951?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
