# CVE-2026-72093: accel/amdxdna: Fix use-after-free in amdxdna_gem_dmabuf_mmap()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-02)
- Published: 2026-08-15T05:52:39.865Z
- Modified: 2026-08-17T06:18:08.220Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from e486147c912f653ef4b60a6c7dbd4168a4c56a9f before 4e370b5289624f46a356dcc94f9f87025eaa6036; from e486147c912f653ef4b60a6c7dbd4168a4c56a9f before 5da885c39baa70f570a8be35a78e85a351f33918; from e486147c912f653ef4b60a6c7dbd4168a4c56a9f before 63bbf9ac5dde2ba85e7b39d0a0b7d540e6252ba4; 6.16 (not affected: before 6.16; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/4e370b5289624f46a356dcc94f9f87025eaa6036>
- <https://git.kernel.org/stable/c/5da885c39baa70f570a8be35a78e85a351f33918>
- <https://git.kernel.org/stable/c/63bbf9ac5dde2ba85e7b39d0a0b7d540e6252ba4>

## Sources

- CVE List: [CVE-2026-72093](https://www.cve.org/CVERecord?id=CVE-2026-72093), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-72093](https://nvd.nist.gov/vuln/detail/CVE-2026-72093), Public domain, modified 2026-08-17

---

Page: https://cve.day/CVE-2026-72093 · Whole record: https://cve.day/CVE-2026-72093.json · Rebuilt by cve.day 2026-11-25T22:59:33.003Z
