What’s Vulnerable › Vulnerabilities

CVE-2021-47420: drm/amdkfd: fix a potential ttm->sg memory leak

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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.14.12. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-47420 or the next vulnerability affects your stack