nbd: Fix IO Hang While Disconnecting Device in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003196: nbd: fix io hung while disconnecting device. Affects Kernel versions < c4ba982bd5084fa659ef518aaf159e4dab02ecda. 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 nbd (Network Block Device) is a Linux kernel module that allows remote block devices to be used as if they were local block devices. It provides a mechanism for exporting a block device over a network to a client system. This allows for remote storage access and enables features like diskless booting and live migration of virtual machines. The nbd module is a critical component for network storage solutions and virtualization platforms.

Vulnerability Detail

The vulnerability identified in the nbd module can result in IO hangs while disconnecting a device. This issue can lead to a denial of service (DoS) condition, where IO operations become unresponsive and can impact the overall system performance. The vulnerability arises due to a flaw in the module's code, which fails to handle the disconnection process correctly. An attacker could exploit this vulnerability by disconnecting a device, causing IO operations to hang indefinitely.

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 specific workaround mentioned for this vulnerability. However, users can mitigate the risk by applying the recommended fix and updating the Linux Kernel to the patched version.

Conclusion

The nbd module in the Linux Kernel is vulnerable to an issue that can cause IO hangs while disconnecting a device. This vulnerability can lead to a denial of service (DoS) condition. It is crucial to update the Linux Kernel to version v5.15.47 or later, which includes the necessary fix. Keeping the kernel up to date is essential for maintaining system security and stability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The nbd (Network Block Device) is a Linux kernel module that allows remote block devices to be used as if they were local block devices. It enables remote storage access and is commonly used in network storage solutions and virtualization platforms.

The vulnerability can lead to IO hangs while disconnecting a device, resulting in a denial of service (DoS) condition. IO operations become unresponsive, impacting system performance.

To fix this vulnerability, update the Linux Kernel to version v5.15.47 or later, which includes the necessary fix. Obtain the updated kernel from the official Linux Kernel repository or through your Linux distribution's package management system.

There is no specific workaround mentioned for this vulnerability. However, applying the recommended fix by updating the Linux Kernel can mitigate the risk.

For more details about this vulnerability, refer to the provided references link in the vulnerability details section.

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