Vulnerability in Kernel: scsi: core: sysfs: Fix hang when device state is set via sysfs
Summary
GSD-2021-1002316: scsi: core: sysfs: Fix hang when device state is set via sysfs. Affects Kernel versions >= f0f82e2476f6adb9c7a0135cfab8091456990c99, < bcc0e3175a976b7fa9a353960808adb0bb49ead8. 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, responsible for managing system resources and providing an interface between hardware and software. It includes various subsystems, including the SCSI (Small Computer System Interface) core, which handles communication with SCSI devices. The sysfs (system file system) is a virtual file system that exposes kernel data structures and device information to user space via the /sys directory. This vulnerability specifically affects the sysfs functionality related to setting the device state for SCSI devices.
Vulnerability Detail
The vulnerability arises from a flaw in the sysfs implementation within the SCSI core of the Kernel. When attempting to set the device state of a SCSI device via sysfs, a hang can occur, leading to a denial-of-service condition. An attacker with local access to the system could exploit this vulnerability to disrupt the normal operation of SCSI devices, potentially impacting system performance or causing data loss. The vulnerability was introduced in version v5.14 of the Linux Kernel and has been fixed in version v5.15.5.
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 provided for this vulnerability.
Conclusion
The vulnerability in the Kernel's SCSI core sysfs functionality can result in a denial-of-service condition when setting the device state via sysfs. It is recommended to update the Linux Kernel to version v5.15.5 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 lead to a denial-of-service condition, potentially disrupting the normal operation of SCSI devices and impacting system performance or causing data loss.
An attacker with local access to the system can exploit this vulnerability.
No, remote exploitation is not possible as the vulnerability requires local access to the system.
The vulnerability was introduced in version v5.14 of the Linux Kernel.
Yes, the vulnerability has been fixed in version v5.15.5 of the Linux Kernel.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.