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.
Published: 2026-08-15
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

No advisories yet.

History

Tue, 18 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 17 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Mon, 17 Aug 2026 06:00:00 +0000

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'}


Sat, 15 Aug 2026 06:00:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:40:11.291Z

Reserved: 2026-08-09T03:40:39.905Z

Link: CVE-2026-72093

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:21:23.370

Modified: 2026-08-17T06:18:08.220

Link: CVE-2026-72093

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72093 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T02:30:03Z

Weaknesses