CVE-2026-72093

accel/amdxdna: Fix use-after-free in amdxdna_gem_dmabuf_mmap()

Published Aug 15, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability arises from a double reference release on an AMDXDNA GEM object during a dma buffer memory mapping operation. When the initial reference is freed, a subsequent release dereferences freed memory, leading to a use-after-free condition. If an attacker can execute code in this context, they could manipulate kernel memory, gain escalated privileges, or crash the system. This reflects a classic memory corruption error (CWE-416 and CWE-825).

Affected Systems

The flaw exists in the Linux kernel's AMDXDNA acceleration driver. All kernel builds that include the acceleration module without the applied patch are affected, regardless of distribution or kernel version, as the offending code path is part of the generic DRM subsystem. No specific vendor or patched versions are listed, so any active kernel containing the unpatched AMDXDNA code is vulnerable.

Risk and Exploitability

The CVSS score of 7.8 indicates high severity, but the EPSS score of < 1% indicates a low likelihood of exploitation. Even though the use-after-free flaw could allow code execution if an attacker can trigger the mmap path, active exploitation is considered unlikely according to the EPSS data. The vulnerability is not listed in CISA KEV, indicating no known active exploits. The attack vector is inferred to be local, requiring local access to trigger the buffer mapping operation, such as by running a malicious application that requests DMA mapping on the AMDXDNA device.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that includes the AMDXDNA use-after-free patch (commit referenced in the advisory).
  • Reboot the system to ensure the updated kernel is active and the vulnerable code path is removed.
  • If a kernel upgrade is not immediately possible, limit access to the AMDXDNA device or disable the acceleration module via kernel configuration or sysfs to mitigate the risk.

Generated by OpenCVE AI on August 18, 2026 at 02:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8887-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8889-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9003-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9043-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Description 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.
Title accel/amdxdna: Fix use-after-free in amdxdna_gem_dmabuf_mmap()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 17, 2026, 5:40 AM
Reserved
Aug 9, 2026, 3:40 AM
Status
Received
Published
Aug 15, 2026, 6:21 AM
Modified
Aug 17, 2026, 6:18 AM
Severity
Moderate
Public date
Aug 15, 2026, 12:00 AM