VDB

CVE-2026-52987

CVE-2026-52987 PUBLISHED CVSS 7.8 HIGH

drm/amdgpu: avoid double drm_exec_fini() in userq validate

Reported by linux · Published June 24, 2026

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)

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux7.0.10

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux42f148788469792df207751e2339ef2bb8a1e33e, 42f148788469792df207751e2339ef2bb8a1e33e
LinuxLinux6.19, 0, 7.0.10
Red HatRed Hat Enterprise Linux 10
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat Enterprise Linux 8
Red HatRed Hat Enterprise Linux 6
Red HatRed Hat Enterprise Linux 7
linuxlinux_kernel6.19, 6.19
Red HatRed Hat Enterprise Linux 8
Red HatRed Hat Enterprise Linux 6
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat Enterprise Linux 7
Red HatRed Hat Enterprise Linux 7
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat Enterprise Linux 8
LinuxLinux6.19, 0, 7.0.10
Red HatRed Hat Enterprise Linux 10

Timeline

  • Jun 24, 2026 CVE Published
  • Jun 25, 2026 Coalition ESS Score
  • Jun 26, 2026 EPSS Score (13 in total, the first dated here)
  • Aug 3, 2026 CVE Updated
  • Aug 11, 2026 Distribution Patch (63 in total, the first dated here)
  • Aug 11, 2026 Security Advisory (63 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-52987
vulnetix vdb fixes CVE-2026-52987

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-52987/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›