CVE-2026-52987
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
24/06/2026
Last modified:
15/07/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
drm/amdgpu: avoid double drm_exec_fini() in userq validate<br />
<br />
When new_addition is true, amdgpu_userq_vm_validate() calls<br />
drm_exec_fini(&exec) before iterating over the collected HMM ranges and<br />
calling amdgpu_ttm_tt_get_user_pages().<br />
<br />
If amdgpu_ttm_tt_get_user_pages() fails in that path, the code jumps to<br />
unlock_all and calls drm_exec_fini(&exec) a second time on the same<br />
exec object. drm_exec_fini() is not idempotent: it frees exec->objects<br />
and may also drop exec->contended and finalize the ww acquire context.<br />
<br />
Route that error path directly to the range cleanup once exec has<br />
already been finalized.<br />
<br />
Issue found using a prototype static analysis tool<br />
and confirmed by code review.<br />
<br />
(cherry picked from commit 2802952e4a07306da6ebe813ff1acacc5691851a)
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.19 (including) | 7.0.10 (excluding) |
| cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/508babf310365f1107a2e8831c267c292a286818
- https://git.kernel.org/stable/c/c7c3ae7c01e5a0742b93cb9b40800bdd7f811e38
- https://access.redhat.com/security/cve/CVE-2026-52987
- https://bugzilla.redhat.com/show_bug.cgi?id=2492365
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-52987.json



