Command Ring Pointer Corruption Vulnerability in xhci
Summary
GSD-2021-1001797: xhci: Fix command ring pointer corruption while aborting a command. Affects Kernel versions < 22bcb65ea41072ab5d03c0c6290e04e0df6d09a0. 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 includes the xHCI (eXtensible Host Controller Interface) driver, which manages USB host controllers. The xHCI driver is responsible for handling USB device communication, including command execution. However, a vulnerability has been discovered in the xhci package that can lead to command ring pointer corruption during the aborting of a command.
Vulnerability Detail
The command ring pointer corruption vulnerability in xhci occurs when a command is being aborted. 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 the execution of unintended commands or the failure to execute valid commands. This vulnerability has been fixed in Linux Kernel version v4.14.252 by commit 22bcb65ea41072ab5d03c0c6290e04e0df6d09a0.
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 available for this vulnerability. It is recommended to apply the fix mentioned in the 'how_to_fix' section.
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 v4.14.252 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 (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 alert you if the vulnerability is present.
At the time of this report, there is no known public exploit for this vulnerability. However, it is still important to apply the fix to ensure the security of your system.
Yes, this vulnerability can be exploited remotely if the affected system is exposed to the network and the attacker can send malicious USB commands.
Unfortunately, there are no specific mitigations available for this vulnerability. It is recommended to apply the fix as soon as possible.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.