CVE-2024-49991Published Oct 21, 2024 · Oct 21Updated Oct 28
drm/amdkfd: amdkfd_free_gtt_mem clear the correct pointer
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
In the Linux kernel, amdkfd_free_gtt_mem can leave a pointer uncleared after freeing memory, potentially causing a use-after-free. The input does not specify how an attacker could trigger it or whether access or user interaction is required.
Engineers running the Linux kernel should check their versions for this issue; affected versions are not specified.