Vulnerability in Kernel: scsi: core: sysfs: Fix hang when device state is set via sysfs
Summary
GSD-2021-1002284: scsi: core: sysfs: Fix hang when device state is set via sysfs. Affects Kernel versions >= 711459514e297d748f15ba1f5292a3276c3d1dd0, < a792e0128d232251edb5fdf42fb0f9fbb0b44a73. 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 critical component of the Linux operating system that provides core functionality and interfaces with hardware devices. It manages the communication between software and hardware, including handling input/output operations. The scsi (Small Computer System Interface) subsystem in the Kernel is responsible for managing SCSI devices, such as hard drives and tape drives. The sysfs (system file system) is a virtual file system that provides a way to interact with the Kernel and access device information. However, a vulnerability has been discovered in the scsi core sysfs implementation that can lead to a hang when the device state is set via sysfs.
Vulnerability Detail
The vulnerability in the scsi core sysfs implementation allows an attacker to cause a hang in the system by setting the device state via sysfs. This can be exploited by an attacker with local access to the system to disrupt normal operation and potentially cause a denial-of-service (DoS) condition. The vulnerability was introduced in Linux Kernel version v5.10.61 and has been fixed in version v5.10.82. The specific commit that addresses this issue is a792e0128d232251edb5fdf42fb0f9fbb0b44a73. It is important to note that the impact and attack plausibility of this vulnerability have not yet been proven.
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 at this time.
Conclusion
The vulnerability in the scsi core sysfs implementation can lead to a hang in the system when the device state is set via sysfs. It is recommended to update the Linux Kernel to version v5.10.82 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability is a potential hang in the system when the device state is set via sysfs. This can disrupt normal operation and may lead to a denial-of-service (DoS) condition.
Any system running Linux Kernel version v5.10.61 or earlier and utilizing the scsi subsystem is potentially affected by this vulnerability.
No, this vulnerability requires local access to the system in order to set the device state via sysfs.
There is no evidence to suggest that this vulnerability has been exploited in the wild at this time.
Yes, a patch has been released in Linux Kernel version v5.10.82 to address this vulnerability.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.