CVE-2026-45853
kernel: drm/amdgpu: Use kvfree instead of kfree in amdgpu_gmc_get_nps_memranges()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 27, 2026
Updated · October 29, 2026
Description
A flaw was found in the Linux kernel's drm/amdgpu component. The amdgpu_discovery_get_nps_info() function incorrectly deallocates memory by using kfree() instead of kvfree(), even when memory was allocated with kvcalloc() which may use vmalloc(). This improper memory handling can lead to memory corruption. Such a vulnerability could potentially be exploited by a local attacker to cause system instability or escalate privileges.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-763 · Release of Invalid Pointer or Reference