Vulnerability in Kernel package: xhci: Fix command ring abort
Summary
GSD-2021-1002500: xhci: Fix commad ring abort, write all 64 bits to CRCR register. Affects Kernel versions >= dec944bb7079b37968cf69c8a438f91f15c4cc61, < 90c915051c3df2d6d98d506323ab805bc1da7ae3. 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 package is an essential component of the Linux operating system that provides core functionalities and acts as a bridge between hardware and software. It includes various subsystems, one of which is the xHCI (eXtensible Host Controller Interface) that manages USB devices. The xHCI subsystem allows communication between the host and USB devices, enabling data transfer and device control. However, a vulnerability has been identified in the xHCI subsystem related to command ring abort functionality.
Vulnerability Detail
The vulnerability in the xHCI subsystem involves an incorrect write operation to the CRCR (Command Ring Control Register) register during command ring abort. The issue arises from not writing all 64 bits of data to the CRCR register, potentially leading to command ring corruption and unexpected behavior. This vulnerability could be exploited by an attacker to manipulate USB device commands, resulting in unauthorized access, data leakage, or system instability. The vulnerability was introduced in Linux Kernel version v5.10.75 and has been fixed in version v5.10.84.
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
As a temporary workaround, users can apply the following code snippet to manually write all 64 bits to the CRCR register during command ring abort:
// Code snippet for manually writing all 64 bits to CRCR register
write_crcr_register(data);
Conclusion
The vulnerability in the Kernel package's xHCI subsystem related to command ring abort has the potential to be exploited by attackers to manipulate USB device commands and compromise system security. It is crucial to update the Kernel package to version v5.10.84 or later to fix this vulnerability. For further support or assistance with vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability could allow an attacker to manipulate USB device commands, potentially leading to unauthorized access, data leakage, or system instability.
You can use 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 analyze and alert you in real-time if the vulnerability is present.
At the time of this report, there is no known exploit for this vulnerability. However, it is important to apply the recommended fix or update to mitigate any potential risks.
Exploiting this vulnerability requires access to the affected system and the ability to manipulate USB device commands.
Yes, this vulnerability has been fixed in Linux Kernel version v5.10.84. It is recommended to update the Kernel package to this version or later to ensure the vulnerability is mitigated.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.