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-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 ↓

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 Penetration testing for web, API and mobile 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 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 →

Share this vulnerability

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.

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