{"id":"CVE-2026-89801","published":"2026-09-16T11:16:44.997","lastModified":"2026-09-16T15:18:09.867","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau/uvmm: fix premature region free on failed OP_UNMAP_SPARSE\n\nIn nouveau_uvmm_bind_job_submit()'s OP_UNMAP_SPARSE arm, op->reg is set\nfrom nouveau_uvma_region_find(), which only looks the region up and takes\nno reference; a region's sole reference is its membership in\nuvmm->region_mt. Two failure paths leave op->reg set: the -ENOENT check\nwhen the region is busy, and the drm_gpuvm_sm_unmap_ops_create() failure.\nThe sibling nouveau_uvmm_sm_unmap_prepare() failure just below clears\nop->reg; these two do not.\n\nunwind_continue steps back one op, so the failing op is skipped by the\nunwind loop and its op->reg stays set. nouveau_uvmm_bind_job_cleanup()\nthen enters its if (op->reg) branch and calls nouveau_uvma_region_remove()\nand nouveau_uvma_region_put() on it, dropping the tree's sole reference\nand freeing a region this job never created. The comment above the\ncleanup loop documents the broken invariant: op->reg must be NULL on\nsubmit failure.\n\nThis frees a live region on an unrelated failure, reachable single-job\nwhen drm_gpuvm_sm_unmap_ops_create() returns -ENOMEM; if another job owns\nthe same region, its cleanup then removes and puts the freed region, a\nuse-after-free. Clear op->reg on both failure paths.","cvssScore":7.8,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwes":[],"vendors":[],"products":[],"references":[{"url":"https://git.kernel.org/stable/c/24c25b182d17d1bdfde0088c96bdf6f93e8f46bc","tags":[]},{"url":"https://git.kernel.org/stable/c/4083d24c2636fde7b18076115af52820d203bc57","tags":[]},{"url":"https://git.kernel.org/stable/c/88114e3a96582882e63b2f73aa7a5a9cf0d5073c","tags":[]},{"url":"https://git.kernel.org/stable/c/ba42d8a1c2c7629c61914df11a7d63ac77449ffb","tags":[]},{"url":"https://git.kernel.org/stable/c/ccf930812f23b8259ef64fd3394d53b093e4651a","tags":[]}],"exploitRefs":[],"hasPoc":false,"ai":{"summary":"The vulnerability allows for a use-after-free condition in the Nouveau DRM driver, which can lead to a use-after-free error if another job owns the same region.","exploitability":"Exploitation is moderately difficult as it requires a specific sequence of events and the presence of another job owning the same region.","blast_radius":"If exploited, it could lead to a denial of service or potentially other issues depending on the system's configuration.","remediation":"Upgrade to the fixed version 5.10.100 or later.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["use-after-free","drm","nouveau","linux"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-10-09T08:44:53.823Z"}}