{"id":"CVE-2024-49991","summary":"drm/amdkfd: amdkfd_free_gtt_mem clear the correct pointer","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: amdkfd_free_gtt_mem clear the correct pointer\n\nPass pointer reference to amdgpu_bo_unref to clear the correct pointer,\notherwise amdgpu_bo_unref clear the local variable, the original pointer\nnot set to NULL, this could cause use-after-free bug.","modified":"2026-04-16T00:04:39.583710836Z","published":"2024-10-21T18:02:33.805Z","related":["SUSE-SU-2024:3983-1","SUSE-SU-2024:3984-1","SUSE-SU-2024:3985-1","SUSE-SU-2024:3986-1","SUSE-SU-2024:4081-1","SUSE-SU-2024:4082-1","SUSE-SU-2024:4100-1","SUSE-SU-2024:4103-1","SUSE-SU-2024:4131-1","SUSE-SU-2024:4140-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4364-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:0034-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49991.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/30ceb873cc2e97348d9da2265b2d1ddf07f682e1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6c9289806591807e4e3be9a23df8ee2069180055"},{"type":"WEB","url":"https://git.kernel.org/stable/c/71f3240f82987f0f070ea5bed559033de7d4c0e1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c86ad39140bbcb9dc75a10046c2221f657e8083b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e7831613cbbcd9058d3658fbcdc5d5884ceb2e0c"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49991.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49991"},{"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":"130e0371b7d454bb4a861253c822b9f911ad5d19"},{"fixed":"e7831613cbbcd9058d3658fbcdc5d5884ceb2e0c"},{"fixed":"30ceb873cc2e97348d9da2265b2d1ddf07f682e1"},{"fixed":"71f3240f82987f0f070ea5bed559033de7d4c0e1"},{"fixed":"6c9289806591807e4e3be9a23df8ee2069180055"},{"fixed":"c86ad39140bbcb9dc75a10046c2221f657e8083b"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-49991.json"}}],"schema_version":"1.7.5"}