CVE-2021-47325 iommu/arm-smmu: Fix arm_smmu_device refcount leak in address translation
A reference count leak in the Linux kernel ARM SMMU driver can lead to resource exhaustion and denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-47325?
CVE-2021-47325 is a medium-severity vulnerability in Linux kernel, published on 21 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2021-47325?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2021-47325?
Apply the vendor's patch.
Is CVE-2021-47325 being exploited?
There is no known exploitation of CVE-2021-47325 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2021-47325, GHSA-4q4j-hm78-5vmp, UBUNTU-CVE-2021-47325.