Vulnerability in Kernel: iommu/arm-smmu
Summary
GSD-2021-1001333: iommu/arm-smmu: Fix arm_smmu_device refcount leak when arm_smmu_rpm_get fails. Affects Kernel versions < 3761ae0d0e549f2acdaf11f49df4ed06d256b20f. 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 is a fundamental component of the Linux operating system that provides core functionalities and interfaces between hardware and software. It manages system resources, facilitates communication between different software components, and ensures security and stability. The iommu/arm-smmu module within the Kernel is responsible for handling input-output memory management unit (IOMMU) operations on ARM-based systems. It provides memory translation and protection for devices connected to the system, enhancing security and performance. However, a vulnerability has been identified in the arm-smmu module that can lead to a reference count 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 leads to a reference count leak, potentially causing memory corruption or resource exhaustion. An attacker could exploit this vulnerability to trigger a denial-of-service condition or execute arbitrary code with elevated privileges. 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 the Linux Kernel version v5.4.134 by commit 3761ae0d0e549f2acdaf11f49df4ed06d256b20f.
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 →
Workaround
There is no specific workaround mentioned for this vulnerability.
Conclusion
The vulnerability in the iommu/arm-smmu module of the Kernel can lead to a reference count leak, potentially resulting in memory corruption or resource exhaustion. It is crucial to update the Linux Kernel to version v5.4.134 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability can range from denial-of-service conditions to arbitrary code execution with elevated privileges.
You can use Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation.
Yes, the vulnerability has been fixed in the Linux Kernel version v5.4.134 by commit 3761ae0d0e549f2acdaf11f49df4ed06d256b20f.
As there is no specific workaround mentioned, it is recommended to update the Kernel to the fixed version as soon as possible.
You can refer to the vulnerability details in the GSD Database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1001xxx/GSD-2021-1001333.json) for more information.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.