{"id":"CVE-2026-45853","summary":"drm/amdgpu: Use kvfree instead of kfree in amdgpu_gmc_get_nps_memranges()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: Use kvfree instead of kfree in amdgpu_gmc_get_nps_memranges()\n\namdgpu_discovery_get_nps_info() internally allocates memory for ranges\nusing kvcalloc(), which may use vmalloc() for large allocation. Using\nkfree() to release vmalloc memory will lead to a memory corruption.\n\nUse kvfree() to safely handle both kmalloc and vmalloc allocations.\n\nCompile tested only. Issue found using a prototype static analysis tool\nand code review.","modified":"2026-07-15T01:49:08.583808315Z","published":"2026-05-27T12:15:27.453Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45853.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0c44d61945c4a80775292d96460aa2f22e62f86c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/16e7e7ad8cdc6b4c4af7f31e262f1494c1b2a55e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9ae85b0c1909b6c6bfd2636b04cdaf7f520bf2b5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f441538893eba6347b983f2904819ca6c99da65e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45853.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45853"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b194d21b9bcc15b50df1bc3ff7428e51c2918a6f"},{"fixed":"16e7e7ad8cdc6b4c4af7f31e262f1494c1b2a55e"},{"fixed":"9ae85b0c1909b6c6bfd2636b04cdaf7f520bf2b5"},{"fixed":"f441538893eba6347b983f2904819ca6c99da65e"},{"fixed":"0c44d61945c4a80775292d96460aa2f22e62f86c"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45853.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.11.0"},{"fixed":"6.12.75"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.14"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45853.json"}}],"schema_version":"1.7.5"}