CVE-2026-52950

drm/xe/dma-buf: fix UAF with retry loop

State
Published
Severity
7.8 High
Published
Jun 24, 2026
Updated
Oct 19, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

drm/xe/dma-buf: fix UAF with retry loop

Retry doesn't work here, since bo will be freed on error, leading to UAF. However, now that we do the alloc & init before the attach, we can now combine this as one unit and have the init do the alloc for us. This should make the retry safe.

Reported by Sashiko.

v2: Fix up the error unwind (CI)

(cherry picked from commit 479669418253e0f27f8cf5db01a731352ea592e7)

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
3.17.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat-SADP

Weaknesses

  • CWE-825 Expired Pointer Dereference

Affected Products

ProductVersions
LinuxLinux
  • eb289a5f6cc668853f9b2ea6aca04afe58ed11c7 to before 39fdac6be02eb7c3460518c1c4085f75f935c4ceAffected
  • eb289a5f6cc668853f9b2ea6aca04afe58ed11c7 to before 827062952ed9bdf4220466c1f05ce452d04bdedfAffected
  • eb289a5f6cc668853f9b2ea6aca04afe58ed11c7 to before 155a372a1cc50fa93387c5d3cdfd614a61e1afd1Affected
LinuxLinux
  • 6.18Affected
  • before 6.18Not affected
  • 6.18.33 through 6.18.*Not affected
  • 7.0.10 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.