CVE-2026-45853

drm/amdgpu: Use kvfree instead of kfree in amdgpu_gmc_get_nps_memranges()

HIGH
7.8
CVSS Score
Published: May 27, 2026 at 12:15 PM UTC
Updated: June 27, 2026 at 11:41 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Use kvfree instead of kfree in amdgpu_gmc_get_nps_memranges() amdgpu_discovery_get_nps_info() internally allocates memory for ranges using kvcalloc(), which may use vmalloc() for large allocation. Using kfree() to release vmalloc memory will lead to a memory corruption. Use kvfree() to safely handle both kmalloc and vmalloc allocations. Compile tested only. Issue found using a prototype static analysis tool and code review.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.11 ≤ v < 6.12.756.11 ≤ v < 6.18.146.11 ≤ v < 6.19.46.11 ≤ v < 7.06.13 ≤ v < 6.18.146.19 ≤ v < 6.19.46.11b194d21b9bcc15b50df1bc3ff7428e51c2918a6f
Vendor states this is fixed in 0c44d61945c4a80775292d96460aa2f22e62f86c (fixed)
Vendor states this is fixed in 16e7e7ad8cdc6b4c4af7f31e262f1494c1b2a55e (fixed)
Vendor states this is fixed in 9ae85b0c1909b6c6bfd2636b04cdaf7f520bf2b5 (fixed)
Vendor states this is fixed in f441538893eba6347b983f2904819ca6c99da65e (fixed)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.12.75 (unaffected)
Vendor states this is fixed in 6.18.14 (unaffected)
Vendor states this is fixed in 6.19.4 (unaffected)
Vendor states this is fixed in 7.0 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card