Vulnerability 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!
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.14, < 5.14.12 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/7e5ce6029b627efb4a004746cfdc1eeff850e6ebPatch
- https://git.kernel.org/stable/c/b072ef1215aca33186e3a10109e872e528a9e516Patch
- https://git.kernel.org/stable/c/7e5ce6029b627efb4a004746cfdc1eeff850e6ebPatch
- https://git.kernel.org/stable/c/b072ef1215aca33186e3a10109e872e528a9e516Patch
FAQ
What is CVE-2021-47420?
CVE-2021-47420 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 fr...
How severe is CVE-2021-47420?
CVE-2021-47420 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-47420?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.