CVE-2021-47325

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

State
Published
Severity
Not scored
Published
May 21, 2024
Updated
May 11, 2026
Reserved
May 21, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d4a44f0750bb9bf7c44c22444a482756b2344a79 to before b11220803ad14a2a880cc06d8e01fe2548cc85b0Affected
  • d4a44f0750bb9bf7c44c22444a482756b2344a79 to before 43d1aaa1965f9b58035196dac49b1e1e6c9c25ebAffected
  • d4a44f0750bb9bf7c44c22444a482756b2344a79 to before 0f0c5ea09139777d90729d408b807021f2ea6492Affected
  • d4a44f0750bb9bf7c44c22444a482756b2344a79 to before 5f9741a9a91f25c89e04b408cd61e3ab050ce24bAffected
  • d4a44f0750bb9bf7c44c22444a482756b2344a79 to before 7c8f176d6a3fa18aa0f8875da6f7c672ed2a8554Affected
LinuxLinux
  • 5.0Affected
  • before 5.0Not affected
  • 5.4.134 through 5.4.*Not affected
  • 5.10.52 through 5.10.*Not affected
  • 5.12.19 through 5.12.*Not affected
  • 5.13.4 through 5.13.*Not affected
  • 5.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.