Vulnerability in iommu/vt-d: Fix sysfs leak in alloc_iommu()
Summary
UVI-2021-1000643: iommu/vt-d: Fix sysfs leak in alloc_iommu(). Affects Kernel versions >= 39ab9555c24110671f8dc671311a26e5c985b592, < 044bbe8b92ab4e542de7f6c93c88ea65cccd8e29. 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 iommu/vt-d package is a component of the Linux Kernel that provides support for Input-Output Memory Management Units (IOMMU) and Virtualization Technology for Directed I/O (VT-d). These technologies enable efficient and secure memory management for devices connected to a computer system. The alloc_iommu() function is responsible for allocating resources for IOMMU instances. However, a vulnerability has been discovered in this function that leads to a sysfs leak.
Vulnerability Detail
The vulnerability in alloc_iommu() allows an attacker to leak sensitive information through the sysfs interface. By exploiting this vulnerability, an attacker can gain unauthorized access to system information, potentially leading to further attacks or information disclosure. The vulnerability was introduced in version v4.11 of the Linux Kernel and has been fixed in version v5.4.124.
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 known workaround for this vulnerability. It is essential to apply the fix by updating the Linux Kernel to a version that includes the patch.
Conclusion
The vulnerability in iommu/vt-d's alloc_iommu() function allows for a sysfs leak, potentially leading to unauthorized access and information disclosure. It is crucial to update the Linux Kernel to version v5.4.124 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability allows an attacker to leak sensitive information through the sysfs interface, potentially leading to unauthorized access and information disclosure.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will provide real-time alerts for open-source vulnerabilities, including this one.
At the time of this report, there is no known exploit for this vulnerability. However, it is crucial to apply the fix as soon as possible to prevent potential attacks.
No, updating the Linux Kernel to a version that includes the fix is the recommended solution. There is no known workaround for this vulnerability.
You can find more information about this vulnerability in the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) and the vulnerability database maintained by the Cloud Security Alliance (https://github.com/cloudsecurityalliance/gsd-database).
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.