Null Pointer Dereference in arm-smmu Device Probe
Summary
GSD-2022-1002568: iommu/arm-smmu: fix possible null-ptr-deref in arm_smmu_device_probe(). Affects Kernel versions < 449fc4561762ad9ad85362d5f01f0d0df397457a. 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 arm-smmu is an IOMMU (Input-Output Memory Management Unit) driver in the Linux Kernel. It provides hardware support for mapping device memory to system memory. The arm-smmu driver is responsible for managing the IOMMU hardware on ARM-based systems. This vulnerability affects the arm-smmu device probe function, which is responsible for initializing the IOMMU device. The vulnerability can lead to a null pointer dereference, potentially causing a system crash or other unexpected behavior.
Vulnerability Detail
The vulnerability exists in the arm_smmu_device_probe() function of the arm-smmu driver. Under certain conditions, the function may dereference a null pointer, leading to a crash or other undefined behavior. An attacker could potentially exploit this vulnerability to cause a denial-of-service attack or execute arbitrary code with kernel privileges. The impact and attack plausibility of this vulnerability have not been proven yet.
How To Fix
No fixed version is published for this vulnerability.
The vulnerability has been fixed in the Linux Kernel version v5.18.4 by commit 449fc4561762ad9ad85362d5f01f0d0df397457a. To fix the vulnerability, users should update their Linux Kernel to version v5.18.4 or later. It is recommended to regularly update the Linux Kernel to ensure the latest security patches are applied.
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. However, users can mitigate the risk by updating their Linux Kernel to the fixed version.
Conclusion
The null pointer dereference vulnerability in the arm-smmu device probe function can potentially lead to system crashes or other unexpected behavior. It is recommended to update the Linux Kernel to version v5.18.4 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The arm-smmu driver is responsible for managing the IOMMU hardware on ARM-based systems. It provides hardware support for mapping device memory to system memory.
A null pointer dereference occurs when a program attempts to access or manipulate memory using a null pointer, which does not point to a valid memory location. This can lead to a crash or other undefined behavior.
The impact of this vulnerability can vary depending on the specific conditions and the attacker's capabilities. It could potentially lead to a system crash, denial-of-service attack, or arbitrary code execution with kernel privileges.
To fix this vulnerability, users should update their Linux Kernel to version v5.18.4 or later. Regularly updating the Linux Kernel is recommended to ensure the latest security patches are applied.
There is no specific workaround mentioned for this vulnerability. However, users can mitigate the risk by updating their Linux Kernel to the fixed version.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.