Deadlock Vulnerability in Linux Kernel SCSI UFS Driver

linux Updated 02 Oct 2025

Summary

16/07/2024
N/A
No i
Medium
5.5

CVE-2021-47622: In the Linux kernel, the following vulnerability has been resolved: scsi: ufs: Fix a deadlock in the error handler The following deadlock has been observed on a test setup: - All tags allocated - The SCSI error handler c... Affects linux versions 5.10.103-1 – 6.9.9-1. 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 Linux kernel is a core component of many operating systems, providing essential services for hardware management and system resources. The SCSI (Small Computer System Interface) UFS (Universal Flash Storage) driver is responsible for managing storage devices. This driver is critical for ensuring efficient communication between the operating system and storage hardware. The vulnerability in question arises from a deadlock condition that can occur during error handling, potentially leading to system hangs and degraded performance.

Vulnerability Detail

In the Linux kernel, a deadlock has been identified in the SCSI UFS driver, specifically during the error handling process. When all tags are allocated, the SCSI error handler invokes the ufshcd_eh_host_reset_handler(), which queues work that calls ufshcd_err_handler(). This function can lock up due to resource contention, leading to a situation where the system cannot proceed with normal operations. The vulnerability can result in significant performance issues and system instability, particularly in environments relying heavily on SCSI storage devices.

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

Currently, there are no specific workarounds provided for this vulnerability. The best course of action is to apply the recommended updates to the Linux kernel as soon as they are available.

Conclusion

CVE-2021-47622 represents a significant vulnerability in the Linux kernel's SCSI UFS driver, leading to potential deadlocks during error handling. Users are advised to update their systems to the latest kernel versions to mitigate this risk. Regular monitoring for vulnerabilities using tools like Vulert can help maintain system security and performance.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2021-47622 is a vulnerability in the Linux kernel's SCSI UFS driver that can lead to a deadlock during error handling, causing system hangs.

This vulnerability can lead to performance degradation and system instability, particularly in systems that rely on SCSI storage devices.

The vulnerability affects multiple versions of the Linux kernel, particularly those in Debian 11, 12, and 13, prior to the fix in version 5.16.11-1.

You can use tools like Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check your application against this vulnerability using the Vulert playground without any signup.

The CVSS score for CVE-2021-47622 is 5.5, indicating a moderate level of severity.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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