{
  "id": "CVE-2026-52950",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-52950",
  "published_at": "2026-06-24T16:28:33.469Z",
  "title": "drm/xe/dma-buf: fix UAF with retry loop",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/xe/dma-buf: fix UAF with retry loop\n\nRetry doesn't work here, since bo will be freed on error, leading to\nUAF. However, now that we do the alloc \u0026 init before the attach, we can\nnow combine this as one unit and have the init do the alloc for us. This\nshould make the retry safe.\n\nReported by Sashiko.\n\nv2: Fix up the error unwind (CI)\n\n(cherry picked from commit 479669418253e0f27f8cf5db01a731352ea592e7)",
  "cwe": "CWE-825",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= eb289a5f6cc668853f9b2ea6aca04afe58ed11c7, \u003c 39fdac6be02eb7c3460518c1c4085f75f935c4ce",
          "\u003e= eb289a5f6cc668853f9b2ea6aca04afe58ed11c7, \u003c 827062952ed9bdf4220466c1f05ce452d04bdedf",
          "\u003e= eb289a5f6cc668853f9b2ea6aca04afe58ed11c7, \u003c 155a372a1cc50fa93387c5d3cdfd614a61e1afd1"
        ],
        "fixed_in": [
          "39fdac6be02eb7c3460518c1c4085f75f935c4ce",
          "827062952ed9bdf4220466c1f05ce452d04bdedf",
          "155a372a1cc50fa93387c5d3cdfd614a61e1afd1"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.18"
        ],
        "fixed_in": [
          "0",
          "6.18.33",
          "7.0.10",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 39fdac6be02eb7c3460518c1c4085f75f935c4ce or 827062952ed9bdf4220466c1f05ce452d04bdedf or 155a372a1cc50fa93387c5d3cdfd614a61e1afd1 or later.",
      "Upgrade Linux to 0 or 6.18.33 or 7.0.10 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
