Menu

Star on GitHub · 3.4k

CVE-2021-47327

7.1 · HIGH

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(),…

Published May 21, 2024CWE-911EPSS 0.26%

Overview

CVE-2021-47327 is a high-severity vulnerability. It was published on May 21, 2024 and has a CVSS 3.1 base score of 7.1 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

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.

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2021-47327?

CVE-2021-47327 is a high-severity vulnerability. It was published on May 21, 2024 and has a CVSS 3.1 base score of 7.1 (HIGH).

How severe is CVE-2021-47327?

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-47327?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-47327?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2021-47327 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2021

View all
Watch the demo →