accel/amdxdna: Fix use-after-free in amdxdna_gem_dmabuf_mmap()
Published Aug 15, 2026
7.8
HIGHCVSS 3.1
EPSS 0.17%
Description
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.
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 6.16StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<6.16
- Version 6.18.40StatusunaffectedConstraints<=6.18.*
- Version 7.1.5StatusunaffectedConstraints<=7.1.*
- Version 7.2StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
No data.
No data.
Red Hat Enterprise Linux 10
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (9)
- https://access.redhat.com/security/cve/CVE-2026-72093 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2516552 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-59051 Advisory
- https://git.kernel.org/stable/c/4e370b5289624f46a356dcc94f9f87025eaa6036
- https://git.kernel.org/stable/c/5da885c39baa70f570a8be35a78e85a351f33918
- https://git.kernel.org/stable/c/63bbf9ac5dde2ba85e7b39d0a0b7d540e6252ba4
- https://lore.kernel.org/linux-cve-announce/2026081523-CVE-2026-72093-a1ce@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2026-72093
- https://www.cve.org/CVERecord?id=CVE-2026-72093
Change history (0)
No recorded changes yet.