A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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
From the NVD's configuration data (CPE), vendor first.
- Linux linux kernel
Weakness type
References
- git.kernel.org /stable/c/0c44d61945c4a80775292d96460aa2f22e62f86c
- git.kernel.org /stable/c/16e7e7ad8cdc6b4c4af7f31e262f1494c1b2a55e
- git.kernel.org /stable/c/9ae85b0c1909b6c6bfd2636b04cdaf7f520bf2b5
- git.kernel.org /stable/c/f441538893eba6347b983f2904819ca6c99da65e
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning