CVE-2026-52987·Kernel vulnerability
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)
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.0.10
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.18% — higher than 6% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-52987 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.18%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 7.0.10
Fixed in: 7.0.10
How to fix this CVE
Update your Linux kernel to version 7.0.10 or later to resolve a double-finalization bug in the AMD GPU userq validation logic. This vulnerability can lead to memory corruption and privilege escalation when processing GPU memory validation requests. Prioritize this update for systems running AMD GPUs with userspace queue support.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r (ensure version is 7.0.10 or later)
- Verify AMD GPU support enabled: grep -i amdgpu /boot/config-$(uname -r) (look for CONFIG_DRM_AMDGPU=y)
- Search dmesg logs for drm_exec errors: dmesg | grep -i 'drm_exec\|amdgpu.*userq' (exploitation may leave error traces)
- Confirm kernel update applied: cat /proc/version (verify updated version matches 7.0.10+)
FAQ
What is CVE-2026-52987?
CVE-2026-52987 is a kernel memory management vulnerability in AMD GPU userspace queue validation that allows a local privileged attacker to trigger a double-finalization of internal synchronization objects, resulting in memory corruption and potential privilege escalation.
Is CVE-2026-52987 being actively exploited?
No, CVE-2026-52987 is not currently listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are available, though the vulnerability requires local access with user privileges to exploit.
What versions of Kernel are affected by CVE-2026-52987?
Linux kernel versions 6.19 through 7.0.9 are vulnerable; kernel 7.0.10 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-52987?
Run 'uname -r' and verify the kernel version is 7.0.10 or later; if earlier than 7.0.10 and CONFIG_DRM_AMDGPU is enabled, your system is vulnerable.
Does Defensia detect CVE-2026-52987?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-52987 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- 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
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-52987. Free for 1 server.
Get started free