What’s Vulnerable › Vulnerabilities

CVE-2021-47325: iommu/arm-smmu: Fix arm_smmu_device refcount leak in address translation

Description

In the Linux kernel, the following vulnerability has been resolved: iommu/arm-smmu: Fix arm_smmu_device refcount leak in address translation The reference counting issue happens in several exception handling paths of arm_smmu_iova_to_phys_hard(). When those error scenarios occur, the function forgets to decrease the refcount of "smmu" increased by arm_smmu_rpm_get(), causing a refcount leak. Fix this issue by jumping to "out" label when those error scenarios occur.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.52, 5.12.19, 5.13.4, 5.4.134. Check the vendor advisory for mitigations.

References

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