Skip to main content
Network Thinking Solutions Logo

CVE-2021-47327

In the Linux kernel, the following vulnerability has been resolved: iommu/arm-smmu: Fix arm_smmu_device refcount leak when arm_smmu_rpm_get fails arm_smmu_rpm_get() invokes pm_runtime_get_sync(), which increases the refcount of the "smmu" even though the return value is less than 0.

All CVEs
CVE-2021-47327Published 5/21/2024

In the Linux kernel, the following vulnerability has been resolved: iommu/arm-smmu: Fix arm_smmu_device refcount leak when arm_smmu_rpm_get fails arm_smmu_rpm_get() invokes pm_runtime_get_sync(), which increases the refcount of the "smmu" even though the return value is less than 0.

Vendor advisory
CVSS7.1High

Overview

In the Linux kernel, the following vulnerability has been resolved: iommu/arm-smmu: Fix arm_smmu_device refcount leak when arm_smmu_rpm_get fails arm_smmu_rpm_get() invokes pm_runtime_get_sync(), which increases the refcount of the "smmu" even though the return value is less than 0. The reference counting issue happens in some error handling paths of arm_smmu_rpm_get() in its caller functions. When arm_smmu_rpm_get() fails, the caller functions forget to decrease the refcount of "smmu" increased by arm_smmu_rpm_get(), causing a refcount leak. Fix this issue by calling pm_runtime_resume_and_get() instead of pm_runtime_get_sync() in arm_smmu_rpm_get(), which can keep the refcount balanced in case of failure.

Published
5/21/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
< 5.4.134

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.52

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.12.19

Verify advisory

Source
linux kernel
linux
≥ 5.13, < 5.13.4

Verify advisory

Source
Linux
Linux
≥ d4a44f0750bb9bf7c44c22444a482756b2344a79, < 3761ae0d0e549f2acdaf11f49df4ed06d256b20f

Verify advisory

Source
Linux
Linux
≥ d4a44f0750bb9bf7c44c22444a482756b2344a79, < c4007596fbdabc29f858dc2e1990858a146b60b2

Verify advisory

Source
Linux
Linux
≥ d4a44f0750bb9bf7c44c22444a482756b2344a79, < fbf4daa6f4105e01fbd3868006f65c163365c1e3

Verify advisory

Source
Linux
Linux
≥ d4a44f0750bb9bf7c44c22444a482756b2344a79, < fe92c058199067ae90cf2a901ddf3c271893557a

Verify advisory

Source
Linux
Linux
≥ d4a44f0750bb9bf7c44c22444a482756b2344a79, < 1adf30f198c26539a62d761e45af72cde570413d

Verify advisory

Source
Linux
Linux
5.0

Verify advisory

Source
linux_kernel
linux
≥ 1da177e4c3f4, < 3761ae0d0e54

Verify advisory

Source
linux_kernel
linux
≥ 1da177e4c3f4, < c4007596fbda

Verify advisory

Source
linux_kernel
linux
≥ 1da177e4c3f4, < fbf4daa6f410

Verify advisory

Source
linux_kernel
linux
≥ 1da177e4c3f4, < fe92c0581990

Verify advisory

Source
linux_kernel
linux
≥ 1da177e4c3f4, < 1adf30f198c2

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.1. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.