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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2024-05-21T14:35:38.498Z
- Modified: 2026-06-17T04:17:12.083Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from d4a44f0750bb9bf7c44c22444a482756b2344a79 before b11220803ad14a2a880cc06d8e01fe2548cc85b0; from d4a44f0750bb9bf7c44c22444a482756b2344a79 before 43d1aaa1965f9b58035196dac49b1e1e6c9c25eb; from d4a44f0750bb9bf7c44c22444a482756b2344a79 before 0f0c5ea09139777d90729d408b807021f2ea6492; from d4a44f0750bb9bf7c44c22444a482756b2344a79 before 5f9741a9a91f25c89e04b408cd61e3ab050ce24b; from d4a44f0750bb9bf7c44c22444a482756b2344a79 before 7c8f176d6a3fa18aa0f8875da6f7c672ed2a8554; 5.0 (not affected: before 5.0; from 5.4.134 up to 5.4.*; from 5.10.52 up to 5.10.*; from 5.12.19 up to 5.12.*; from 5.13.4 up to 5.13.*; from 5.14 up to *)
- linux linux_kernel: before 5.4.134; from 5.5 before 5.10.52; from 5.11 before 5.12.19; from 5.13 before 5.13.4

## References

- <https://git.kernel.org/stable/c/b11220803ad14a2a880cc06d8e01fe2548cc85b0> (patch)
- <https://git.kernel.org/stable/c/43d1aaa1965f9b58035196dac49b1e1e6c9c25eb> (patch)
- <https://git.kernel.org/stable/c/0f0c5ea09139777d90729d408b807021f2ea6492> (patch)
- <https://git.kernel.org/stable/c/5f9741a9a91f25c89e04b408cd61e3ab050ce24b> (patch)
- <https://git.kernel.org/stable/c/7c8f176d6a3fa18aa0f8875da6f7c672ed2a8554> (patch)

## Sources

- CVE List: [CVE-2021-47325](https://www.cve.org/CVERecord?id=CVE-2021-47325), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47325](https://nvd.nist.gov/vuln/detail/CVE-2021-47325), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47325 · Whole record: https://cve.day/CVE-2021-47325.json · Rebuilt by cve.day 2026-11-25T22:58:08.798Z
