Vulnerability in Kernel Package: iommu/arm-smmu
Summary
GSD-2021-1001274: iommu/arm-smmu: Fix arm_smmu_device refcount leak when arm_smmu_rpm_get fails. Affects Kernel versions < c4007596fbdabc29f858dc2e1990858a146b60b2. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Kernel package is a fundamental component of the Linux operating system. It provides core functionality and acts as an interface between the hardware and software layers. The iommu/arm-smmu module within the Kernel package is responsible for managing input-output memory management units (IOMMUs) on ARM-based systems. These IOMMUs handle memory translation and protection for input-output devices. However, a vulnerability has been discovered in the arm_smmu_device reference counting mechanism, which can lead to a resource leak when the arm_smmu_rpm_get function fails.
Vulnerability Detail
The vulnerability in the iommu/arm-smmu module occurs when the arm_smmu_rpm_get function fails to acquire a reference to the arm_smmu_device structure. This failure results in a refcount leak, where the reference count for the device is not properly decremented. This can lead to resource exhaustion and potential denial-of-service conditions. The impact and attack plausibility of this vulnerability have not been proven yet. It is important to note that this vulnerability has been fixed in Linux Kernel version v5.10.52 by commit c4007596fbdabc29f858dc2e1990858a146b60b2.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Conclusion
The iommu/arm-smmu module in the Kernel package is vulnerable to a refcount leak issue. This can potentially lead to resource exhaustion and denial-of-service conditions. It is crucial to update the Kernel package to version v5.10.52 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability is not yet proven. However, it has the potential to cause resource exhaustion and denial-of-service conditions.
You can use Vulert's playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it in real-time.
No specific workaround has been mentioned for this vulnerability. It is recommended to update the Kernel package to the fixed version.
There are no known exploits for this vulnerability at the moment. However, it is still important to apply the fix to prevent any potential future exploits.
You can find more information about the fix in the Linux Kernel repository. The commit c4007596fbdabc29f858dc2e1990858a146b60b2 addresses this vulnerability.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.