Vulnerability in scsi: core: sysfs in Kernel
Summary
UVI-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 crucial component of the Linux operating system that acts as a bridge between the hardware and software layers. It provides essential functionalities and services to enable the proper functioning of the system. The scsi subsystem within the Kernel handles communication with SCSI (Small Computer System Interface) devices, such as hard drives and tape drives. The sysfs interface allows users to interact with SCSI devices by modifying their state through the sysfs virtual file system. However, a vulnerability has been discovered in the scsi: core: sysfs component, which can lead to a hang when attempting to set the device state via sysfs.
Vulnerability Detail
The vulnerability in scsi: core: sysfs arises from a flaw in the code that handles device state modifications through sysfs. When a user attempts to change the state of a SCSI device using sysfs, it can trigger a hang, causing the system to become unresponsive. This vulnerability could be exploited by an attacker with local access to the system to cause a denial-of-service (DoS) condition. The impact of this vulnerability is limited to systems running the affected versions of the Linux Kernel with SCSI devices. It is important to note that the actual attack plausibility and impact have not been proven yet.
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
No specific workaround has been mentioned for this vulnerability.
Conclusion
In conclusion, the scsi: core: sysfs vulnerability in the Kernel can lead to a hang when attempting to modify the state of a SCSI device via sysfs. This vulnerability has been addressed in the latest version of the Linux Kernel, and users are advised to update their systems accordingly. For further support and assistance with 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 modify the state of a SCSI device via sysfs. This can result in a denial-of-service (DoS) condition, rendering the system unresponsive.
An attacker with local access to the system can potentially exploit this vulnerability.
No, only versions between v5.4.143 and v5.4.161 are affected. The vulnerability has been fixed in version v5.4.162.
No evidence of active exploitation of this vulnerability has been reported at this time.
If updating to the latest Kernel version is not feasible, it is recommended to implement other security measures, such as restricting local access to the system and monitoring for any suspicious activity.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.