CVE-2026-52987
Last modified
CVE-2026-52987 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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). EPSS estimates a 0.14% chance of exploitation in the next 30 days.
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)
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.19, < 7.0.10 | — |
| Linux | Linux Kernel | 7.1 | Rc1 |
References
- https://access.redhat.com/security/cve/CVE-2026-52987Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2492365Issue Tracking, Third Party Advisory
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-52987.jsonThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-52987?
How severe is CVE-2026-52987?
How do I fix CVE-2026-52987?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-52981In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-52982In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-52983In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-52984In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-52985In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-52986In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-52988In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-52989In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-5299ICMPv6 PvD protocol dissector crash in Wireshark 4.6.0 to 4.…5.5
- CVE-2026-52990In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-52991In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-52992In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2026-52987?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
