CVE-2026-72093 (GCVE-0-2026-72093)

Vulnerability from cvelistv5 – Published: 2026-08-15 05:52 – Updated: 2026-08-17 05:40
VLAI
Title
accel/amdxdna: Fix use-after-free in amdxdna_gem_dmabuf_mmap()
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 CPE status
Linux Linux Affected: e486147c912f653ef4b60a6c7dbd4168a4c56a9f , < 4e370b5289624f46a356dcc94f9f87025eaa6036 (git)
Affected: e486147c912f653ef4b60a6c7dbd4168a4c56a9f , < 5da885c39baa70f570a8be35a78e85a351f33918 (git)
Affected: e486147c912f653ef4b60a6c7dbd4168a4c56a9f , < 63bbf9ac5dde2ba85e7b39d0a0b7d540e6252ba4 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.16
Unaffected: 0 , < 6.16 (semver)
Unaffected: 6.18.40 , ≤ 6.18.* (semver)
Unaffected: 7.1.5 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed 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",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-72093",
      "date": "2026-09-21",
      "epss": "0.00168",
      "percentile": "0.06563"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "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"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "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."
          }
        ],
        "id": "CVE-2026-72093",
        "lastModified": "2026-08-17T06:18:08.220",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-08-15T06:21:23.370",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/4e370b5289624f46a356dcc94f9f87025eaa6036"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/5da885c39baa70f570a8be35a78e85a351f33918"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/63bbf9ac5dde2ba85e7b39d0a0b7d540e6252ba4"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-17T21:48:07+00:00",
      "cve": "CVE-2026-72093",
      "id": "CVE-2026-72093",
      "initial_release_date": "2026-08-15T00:00:00+00:00",
      "product_status:known_not_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: accel/amdxdna: Fix use-after-free in amdxdna_gem_dmabuf_mmap()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-72093.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-28T16:40:56Z",
      "cve": "CVE-2026-72093",
      "id": "CVE-2026-72093",
      "initial_release_date": "2026-08-28T16:40:56Z",
      "product_status:known_not_affected": "362",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-72093",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-72093.json",
      "version": "2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…