Vulnerability in scsi: core: sysfs in Kernel
Summary
GSD-2021-1002262: scsi: core: sysfs: Fix hang when device state is set via sysfs. Affects Kernel versions >= 69aa1a1a569f5c6d554b59352130ef363342ed4c, < edd783162bf2385b43de6764f2d4c6e9f4f6be27. 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 is a fundamental component of the Linux operating system that provides core functionalities and interfaces between hardware and software. It manages system resources, facilitates communication between different components, and enables the execution of programs. The scsi subsystem in the Kernel handles SCSI (Small Computer System Interface) devices, which are commonly used for storage and other peripheral devices. The sysfs component in the scsi core provides a virtual file system interface for accessing and configuring SCSI devices. However, a vulnerability has been discovered in the sysfs component that can lead to a hang when the device state is set via sysfs.
Vulnerability Detail
The vulnerability in the scsi: core: sysfs component of the Kernel allows an attacker to trigger a hang when attempting to set the device state through sysfs. This can be exploited by an attacker with local access to the system to cause a denial-of-service (DoS) condition, potentially impacting the availability of the affected system. The vulnerability was introduced in version v5.4.143 of the Linux Kernel and is fixed in version v5.4.162.
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 mentioned for this vulnerability.
Conclusion
In conclusion, a vulnerability has been discovered in the scsi: core: sysfs component of the Kernel that can lead to a hang when setting the device state via sysfs. This vulnerability can be mitigated by updating the Linux Kernel to version v5.4.162 or later. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to a hang in the system when attempting to set the device state through sysfs, potentially causing a denial-of-service (DoS) condition.
An attacker with local access to the system can exploit this vulnerability.
No, remote exploitation of this vulnerability is not possible as it requires local access to the system.
The vulnerability was introduced in version v5.4.143 of the Linux Kernel.
You can use Vulert's playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for any open-source vulnerabilities, including this one.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.