Double free in Linux kernel - CVE-2026-52987
Published: June 25, 2026
Vulnerability details
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.
Affected software
Ubuntu
linux (Ubuntu package)
linux-ibm (Ubuntu package)
linux-aws (Ubuntu package)
linux-azure (Ubuntu package)
linux-oem-7.0 (Ubuntu package)
linux-gcp-7.0 (Ubuntu package)
linux-oracle-7.0 (Ubuntu package)
linux-azure-7.0 (Ubuntu package)
linux-nvidia (Ubuntu package)
linux-nvidia-bos (Ubuntu package)
How to mitigate CVE-2026-52987
linux (Ubuntu package) - addressed in versions 7.0.0-28.28, 7.0.0-28.28.1, 7.0.0-1003.4, 7.0.0-1008.8
linux-ibm (Ubuntu package) - addressed in versions 7.0.0-1008.8, 7.0.0-1010.10
linux-aws (Ubuntu package) - addressed in versions 7.0.0-1009.9, 7.0.0-1015.15
linux-azure (Ubuntu package) - addressed in versions 7.0.0-1009.9, 7.0.0-1010.10
linux-oem-7.0 (Ubuntu package) - update to 7.0.0-1009.9
linux-gcp-7.0 (Ubuntu package) - update to 7.0.0-1011.11~24.04.1
linux-oracle-7.0 (Ubuntu package) - update to 7.0.0-1011.11~24.04.1
linux-azure-7.0 (Ubuntu package) - update to 7.0.0-1014.14~24.04.1
linux-nvidia (Ubuntu package) - addressed in versions 7.0.0-1016.16, 7.0.0-1016.16~24.04.1
linux-nvidia-bos (Ubuntu package) - update to 7.0.0-2016.16
External References
Related Security Bulletins
- Double free in Linux kernel amd amdgpu driver
- Ubuntu update for linux-oem-7.0
- Ubuntu update for linux
- Ubuntu update for linux-ibm
- Ubuntu update for linux-azure
- Ubuntu update for linux-aws
- Ubuntu update for linux-nvidia-bos
- Ubuntu update for linux-nvidia
- Ubuntu update for linux-gcp-7.0
- Ubuntu update for linux-oracle-7.0
- Ubuntu update for linux-azure-7.0