Command Ring Pointer Corruption Vulnerability in xhci
Summary
GSD-2021-1001997: xhci: Fix command ring pointer corruption while aborting a command. Affects Kernel versions < 01c2dcb67e71c351006dd17cbba86c26b7f61eaf. 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 xhci package is a component of the Linux Kernel that provides support for USB 3.0 and later versions. It implements the eXtensible Host Controller Interface (xHCI) specification, allowing communication between USB devices and the host system. The xhci package is responsible for managing the command ring, which is used to issue commands to USB devices. However, a vulnerability has been discovered in the xhci package that can lead to command ring pointer corruption while aborting a command.
Vulnerability Detail
The command ring pointer corruption vulnerability in xhci occurs when aborting a command. This vulnerability can be exploited by an attacker to manipulate the command ring pointer, potentially leading to arbitrary code execution or denial of service. The corruption of the command ring pointer can result in incorrect command execution or the execution of unintended commands. This vulnerability has been assigned the ID GSD-2021-1001997 and is fixed in Linux Kernel version v5.4.155 by commit 01c2dcb67e71c351006dd17cbba86c26b7f61eaf.
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 crucial to apply the fix mentioned above to ensure the security of the system.
Conclusion
The command ring pointer corruption vulnerability in xhci can lead to serious security risks, including arbitrary code execution and denial of service. It is crucial to update the Linux Kernel to version v5.4.155 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can potentially allow an attacker to execute arbitrary code or cause a denial of service by manipulating the command ring pointer.
You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will alert you if the vulnerability is present.
At the time of this report, there is no known exploit for this vulnerability. However, it is essential to apply the fix as soon as possible to mitigate any potential risks.
Yes, this vulnerability can be exploited remotely if the affected system is accessible over a network. It is crucial to update the Linux Kernel to the fixed version to prevent any potential remote exploitation.
To exploit this vulnerability, an attacker would need the ability to send malicious commands to the affected USB device. This could be achieved through physical access to the device or by compromising a system with access to the USB device.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.