CVE-2026-45853 drm/amdgpu: Use kvfree instead of kfree in amdgpu_gmc_get_nps_memranges()
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 6.11
해결 버전
- 6.11 미만
- 6.12.75 이상
- 6.18.14 이상
- 6.19.4 이상
참고 자료 4건
- git.kernel.org https://git.kernel.org/stable/c/0c44d61945c4a80775292d96460aa2f22e62f86c (새 창)
- git.kernel.org https://git.kernel.org/stable/c/16e7e7ad8cdc6b4c4af7f31e262f1494c1b2a55e (새 창)
- git.kernel.org https://git.kernel.org/stable/c/9ae85b0c1909b6c6bfd2636b04cdaf7f520bf2b5 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/f441538893eba6347b983f2904819ca6c99da65e (새 창)