{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-72093",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-08-09T03:40:39.905Z",
        "datePublished": "2026-08-15T05:52:39.865Z",
        "dateUpdated": "2026-08-17T05:40:11.291Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-17T05:40:11.291Z"
            },
            "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->vm_ops->close(vma)\nwhich internally calls drm_gem_vm_close() → 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": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH"
                    },
                    "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."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/accel/amdxdna/amdxdna_gem.c"
                    ],
                    "versions": [
                        {
                            "version": "e486147c912f653ef4b60a6c7dbd4168a4c56a9f",
                            "lessThan": "4e370b5289624f46a356dcc94f9f87025eaa6036",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e486147c912f653ef4b60a6c7dbd4168a4c56a9f",
                            "lessThan": "5da885c39baa70f570a8be35a78e85a351f33918",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e486147c912f653ef4b60a6c7dbd4168a4c56a9f",
                            "lessThan": "63bbf9ac5dde2ba85e7b39d0a0b7d540e6252ba4",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/accel/amdxdna/amdxdna_gem.c"
                    ],
                    "versions": [
                        {
                            "version": "6.16",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.16",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.40",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.1.5",
                            "lessThanOrEqual": "7.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.16",
                                    "versionEndExcluding": "6.18.40"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.16",
                                    "versionEndExcluding": "7.1.5"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.16",
                                    "versionEndExcluding": "7.2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        }
    }
}