CVEvulnerability
CVE-2021-47420
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-05-21
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-401
Description
In the Linux kernel, the following vulnerability has been resolved:
drm/amdkfd: fix a potential ttm->sg memory leak
Memory is allocated for ttm->sg by kmalloc in kfd_mem_dmamap_userptr,
but isn't freed by kfree in kfd_mem_dmaunmap_userptr. Free it!
Affected configurations
• linux linux kernel (>= 5.14 < 5.14.12)
• linux linux kernel 5.15
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/7e5ce6029b627efb4a004746cfdc1eeff850e6eb Patch
- https://git.kernel.org/stable/c/b072ef1215aca33186e3a10109e872e528a9e516 Patch
- https://git.kernel.org/stable/c/7e5ce6029b627efb4a004746cfdc1eeff850e6eb Patch
- https://git.kernel.org/stable/c/b072ef1215aca33186e3a10109e872e528a9e516 Patch