CVE-2021-47325 json
iommu/arm-smmu: Fix arm_smmu_device refcount leak in address translation
published 2024-05-21 2 y ago modified 2026-06-17 4 mo ago also EUVD-2021-34330
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 15%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.4.134, 5.10.52, 5.12.19, 5.13.4, 5.14
- linux Debian 14, Debian 13, Debian 12 5.14.6-1
debian advisories DEBIAN-CVE-2021-47325
- linux Ubuntu 20.04 LTS 5.4.0-88.99
- linux-aws Ubuntu 20.04 LTS 5.4.0-1057.60
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1053.57
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1005.6
- linux-kvm Ubuntu 20.04 LTS 5.4.0-1047.49
- linux-azure Ubuntu 20.04 LTS 5.4.0-1059.62
- linux-gkeop Ubuntu 20.04 LTS 5.4.0-1024.25
- linux-raspi Ubuntu 20.04 LTS 5.4.0-1044.48
ubuntu advisories UBUNTU-CVE-2021-47325
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- git.kernel.org/stable/c/b11220803ad14a2a880cc06d8e01fe2548cc85b0 commit
- git.kernel.org/stable/c/43d1aaa1965f9b58035196dac49b1e1e6c9c25eb commit
- git.kernel.org/stable/c/0f0c5ea09139777d90729d408b807021f2ea6492 commit
- git.kernel.org/stable/c/5f9741a9a91f25c89e04b408cd61e3ab050ce24b commit
- git.kernel.org/stable/c/7c8f176d6a3fa18aa0f8875da6f7c672ed2a8554 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-47325 updated cvss 5.1
kernel: iommu/arm-smmu: Fix arm_smmu_device refcount leak in address translation
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 kernel-rt, kernel-rt-selftests-internalaffected: no fix available
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +82 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.25% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
-
git.kernel.org
/stable/c/b11220803ad14a2a880cc06d8e01fe2548cc85b0
patch
-
git.kernel.org
/stable/c/43d1aaa1965f9b58035196dac49b1e1e6c9c25eb
patch
-
git.kernel.org
/stable/c/0f0c5ea09139777d90729d408b807021f2ea6492
patch
-
git.kernel.org
/stable/c/5f9741a9a91f25c89e04b408cd61e3ab050ce24b
patch
-
git.kernel.org
/stable/c/7c8f176d6a3fa18aa0f8875da6f7c672ed2a8554
patch
Sources
- CVE List CVE-2021-47325
- NVD CVE-2021-47325
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.