What’s Vulnerable › Vulnerabilities
CVE-2026-45853: drm/amdgpu: Use kvfree instead of kfree in amdgpu_gmc_get_nps_memranges()
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-27 · updated 2026-06-25
- Weakness: CWE-787
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 products
- Linux kernel: from 6.11 before 6.12.75; from 6.13 before 6.18.14; from 6.19 before 6.19.4 — fixed in 6.12.75, 6.18.14, 6.19.4
How to fix
Upgrade to a fixed version: Linux kernel 6.12.75, 6.18.14, 6.19.4. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0c44d61945c4a80775292d96460aa2f22e62f86c
- https://git.kernel.org/stable/c/16e7e7ad8cdc6b4c4af7f31e262f1494c1b2a55e
- https://git.kernel.org/stable/c/9ae85b0c1909b6c6bfd2636b04cdaf7f520bf2b5
- https://git.kernel.org/stable/c/f441538893eba6347b983f2904819ca6c99da65e
Get alerted when CVE-2026-45853 or the next vulnerability affects your stack