# CVE-2026-52987: linux: In the Linux kernel, the following vulnerability has been resolved:  drm/amdgpu: avoid double drm_exec_fini() in user...

CVE-2026-52987 is fixed in linux on 1 platform by DEBIAN-CVE-2026-52987 (version 7.0.10-1), released June 25, 2026. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2026-52987
- Priority: High
- CVSS: 7.8 (high)
- EPSS: 0.0018
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 24, 2026

## Description

In the Linux kernel, the following vulnerability has been resolved:  drm/amdgpu: avoid double drm_exec_fini() in userq validate  When new_addition is true, amdgpu_userq_vm_validate() calls drm_exec_fini(&exec) before iterating over the collected HMM ranges and calling amdgpu_ttm_tt_get_user_pages().  If amdgpu_ttm_tt_get_user_pages() fails in that path, the code jumps to unlock_all and calls drm_exec_fini(&exec) a second time on the same exec object. drm_exec_fini() is not idempotent: it frees exec->objects and may also drop exec->contended and finalize the ww acquire context.  Route that error path directly to the range cleanup once exec has already been finalized.  Issue found using a prototype static analysis tool and confirmed by code review.  (cherry picked from commit 2802952e4a07306da6ebe813ff1acacc5691851a)

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | linux Debian 14 | 7.0.10-1 | [DEBIAN-CVE-2026-52987](https://patchblox.com/security/data/fix/linux/debian-cve-2026-52987.md) | Jun 25, 2026 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
