Vulnerability in Kernel: scsi: core: sysfs: Fix hang when device state is set via sysfs

Kernel Updated 02 Oct 2025

Summary

29/11/2021
N/A
No i
Unrated
Not published

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback