CVE-2021-47325

Source
https://cve.org/CVERecord?id=CVE-2021-47325
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47325.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-47325
Downstream
Published
2024-05-21T15:15:19Z
Modified
2026-03-15T22:43:12Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git /

Affected ranges

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47325.json"
unresolved_ranges
[
    {
        "events":  [
            {
                "introduced":  "0"
            },
            {
                "fixed":  "5.4.134"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "5.5"
            },
            {
                "fixed":  "5.10.52"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "5.11"
            },
            {
                "fixed":  "5.12.19"
            }
        ]
    },
    {
        "events":  [
            {
                "introduced":  "5.13"
            },
            {
                "fixed":  "5.13.4"
            }
        ]
    }
]