CVE-2026-72093 (GCVE-0-2026-72093)
Vulnerability from cvelistv5
Published
2026-08-15 05:52
Modified
2026-08-17 05:40
Summary
In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: Fix use-after-free in amdxdna_gem_dmabuf_mmap() When vm_insert_pages() fails, the error path calls vma->vm_ops->close(vma) which internally calls drm_gem_vm_close() → drm_gem_object_put(), releasing the GEM object reference acquired at the start of the function. However, the close_vma label then falls through to put_obj, which calls drm_gem_object_put() a second time on the same object. If the first put releases the last reference, the object is freed and the second put accesses freed memory, causing a use-after-free. Fix by returning directly from close_vma instead of falling through to put_obj, since the close handler already performs all necessary cleanup including the object put.
Impacted products
Vendor Product Version
Linux Linux Version: e486147c912f653ef4b60a6c7dbd4168a4c56a9f
Version: e486147c912f653ef4b60a6c7dbd4168a4c56a9f
Version: e486147c912f653ef4b60a6c7dbd4168a4c56a9f
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/accel/amdxdna/amdxdna_gem.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "4e370b5289624f46a356dcc94f9f87025eaa6036",
              "status": "affected",
              "version": "e486147c912f653ef4b60a6c7dbd4168a4c56a9f",
              "versionType": "git"
            },
            {
              "lessThan": "5da885c39baa70f570a8be35a78e85a351f33918",
              "status": "affected",
              "version": "e486147c912f653ef4b60a6c7dbd4168a4c56a9f",
              "versionType": "git"
            },
            {
              "lessThan": "63bbf9ac5dde2ba85e7b39d0a0b7d540e6252ba4",
              "status": "affected",
              "version": "e486147c912f653ef4b60a6c7dbd4168a4c56a9f",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/accel/amdxdna/amdxdna_gem.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.16"
            },
            {
              "lessThan": "6.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.40",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "6.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "6.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "6.16",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\naccel/amdxdna: Fix use-after-free in amdxdna_gem_dmabuf_mmap()\n\nWhen vm_insert_pages() fails, the error path calls vma-\u003evm_ops-\u003eclose(vma)\nwhich internally calls drm_gem_vm_close() \u2192 drm_gem_object_put(),\nreleasing the GEM object reference acquired at the start of the function.\nHowever, the close_vma label then falls through to put_obj, which calls\ndrm_gem_object_put() a second time on the same object.\n\nIf the first put releases the last reference, the object is freed and the\nsecond put accesses freed memory, causing a use-after-free.\n\nFix by returning directly from close_vma instead of falling through to\nput_obj, since the close handler already performs all necessary cleanup\nincluding the object put."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - Exploitation requires local DRM ioctls (AMDXDNA_CREATE_BO, PRIME_HANDLE_TO_FD, GEM_CLOSE) and mmap() on the exported dma-buf fd through /dev/accel/accel*; amdxdna_gem_dmabuf_mmap() has no network, adjacent-radio, or physical-bus entry point.\nAC:L - After exporting a BO and closing its GEM handle (leaving only the dma-buf ref), the vm_insert_pages() error path deterministically double-puts the object; the attacker can force insert failure via RLIMIT_AS/cgroup memory pressure without uncontrollable races or victim-specific state.\nPR:L - CREATE_BO and PRIME ioctls are registered without DRM_ROOT_ONLY/AUTH; any unprivileged local user permitted to open the AMD XDNA accel node (typically render/video group on Ryzen AI systems) can create, export, and mmap buffers without real root or init-namespace capabilities.\nUI:N - The attacker opens the accel device, creates and exports a buffer, closes the handle, and mmap()s the dma-buf fd in their own process; no separate victim mount, file open, or other user interaction is required.\nS:U - The double drm_gem_object_put() use-after-free corrupts kernel slab metadata within the same kernel security authority; it is not a VM escape, hypervisor breakout, or IOMMU DMA-boundary bypass as a direct consequence of this refcount bug.\nC:H - UAF on the freed drm_gem_object during the second drm_gem_object_put() lets an attacker reclaim slab objects via heap grooming, enabling arbitrary kernel memory disclosure beyond a bounded metadata leak.\nI:H - The erroneous second put on a freed GEM object provides slab corruption primitives that can be developed into arbitrary kernel writes and local privilege escalation, not merely limited data modification.\nA:H - The use-after-free in drm_gem_object_put() dereferences freed kmem and can immediately provoke kernel oops/panic; repeated triggering sustains denial of service on the NPU host."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:40:11.291Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/4e370b5289624f46a356dcc94f9f87025eaa6036"
        },
        {
          "url": "https://git.kernel.org/stable/c/5da885c39baa70f570a8be35a78e85a351f33918"
        },
        {
          "url": "https://git.kernel.org/stable/c/63bbf9ac5dde2ba85e7b39d0a0b7d540e6252ba4"
        }
      ],
      "title": "accel/amdxdna: Fix use-after-free in amdxdna_gem_dmabuf_mmap()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-72093",
    "datePublished": "2026-08-15T05:52:39.865Z",
    "dateReserved": "2026-08-09T03:40:39.905Z",
    "dateUpdated": "2026-08-17T05:40:11.291Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…