Double free in Linux kernel - CVE-2026-52987

 

Double free in Linux kernel - CVE-2026-52987

Published: June 25, 2026


Vulnerability identifier: #VU135389
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-52987
CWE-ID: CWE-415
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel

Detailed vulnerability description

The vulnerability allows a local user to cause a denial of service.

The vulnerability exists due to a double free in amdgpu_userq_vm_validate() when handling failures from amdgpu_ttm_tt_get_user_pages() during user queue validation. A local user can trigger an error path that calls drm_exec_fini() twice on the same exec object to cause a denial of service.

The issue occurs when the new_addition path has already finalized the exec object before processing collected HMM ranges.


How to mitigate CVE-2026-52987

Install security update from vendor's repository.

Sources