# CVE-2024-49991: drm/amdkfd: amdkfd_free_gtt_mem clear the correct pointer

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 21% of CVEs (2026-12-01)
- Published: 2024-10-21T18:02:33.805Z
- Modified: 2026-08-05T11:40:56.884Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/amdkfd: amdkfd_free_gtt_mem clear the correct pointer

Pass pointer reference to amdgpu_bo_unref to clear the correct pointer,
otherwise amdgpu_bo_unref clear the local variable, the original pointer
not set to NULL, this could cause use-after-free bug.

(As written by CVE List.)

## Affected

- Linux Linux: from 130e0371b7d454bb4a861253c822b9f911ad5d19 before e7831613cbbcd9058d3658fbcdc5d5884ceb2e0c; from 130e0371b7d454bb4a861253c822b9f911ad5d19 before 30ceb873cc2e97348d9da2265b2d1ddf07f682e1; from 130e0371b7d454bb4a861253c822b9f911ad5d19 before 71f3240f82987f0f070ea5bed559033de7d4c0e1; from 130e0371b7d454bb4a861253c822b9f911ad5d19 before 6c9289806591807e4e3be9a23df8ee2069180055; from 130e0371b7d454bb4a861253c822b9f911ad5d19 before c86ad39140bbcb9dc75a10046c2221f657e8083b; 4.3 (not affected: before 4.3; from 6.1.118 up to 6.1.*; from 6.6.55 up to 6.6.*; from 6.10.14 up to 6.10.*; from 6.11.3 up to 6.11.*; from 6.12 up to *)
- debian debian_linux: 11.0
- linux linux_kernel: before 6.1.118; from 6.2 before 6.6.55; from 6.7 before 6.10.14; from 6.11 before 6.11.3

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/e7831613cbbcd9058d3658fbcdc5d5884ceb2e0c> (patch)
- <https://git.kernel.org/stable/c/30ceb873cc2e97348d9da2265b2d1ddf07f682e1> (patch)
- <https://git.kernel.org/stable/c/71f3240f82987f0f070ea5bed559033de7d4c0e1> (patch)
- <https://git.kernel.org/stable/c/6c9289806591807e4e3be9a23df8ee2069180055> (patch)
- <https://git.kernel.org/stable/c/c86ad39140bbcb9dc75a10046c2221f657e8083b> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2024-49991](https://www.cve.org/CVERecord?id=CVE-2024-49991), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-49991](https://nvd.nist.gov/vuln/detail/CVE-2024-49991), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-49991 · Whole record: https://cve.day/CVE-2024-49991.json · Rebuilt by cve.day 2026-11-25T22:58:47.080Z
