Race Condition Vulnerability in nbd Module of Linux Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1003194: nbd: fix race between nbd_alloc_config() and module removal. Affects Kernel versions < 71c142f910da44421213ade601bcbd23ceae19fa. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The nbd module is a part of the Linux Kernel and is responsible for handling network block devices. It allows remote storage devices to be accessed over a network. The module provides functionality for configuring and managing nbd devices. However, a race condition vulnerability has been discovered in the nbd module, which could lead to potential security issues.

Vulnerability Detail

The race condition vulnerability in the nbd module occurs between the nbd_alloc_config() function and module removal. This vulnerability could be exploited by an attacker to cause a denial-of-service (DoS) condition or potentially execute arbitrary code. The race condition arises when the nbd_alloc_config() function is called concurrently with the removal of the module. This can result in memory corruption or use-after-free vulnerabilities, leading to unpredictable behavior and potential security risks.

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

As a temporary workaround, users can disable the nbd module if it is not required for their system. This can be done by blacklisting the module or removing it from the kernel configuration. However, this workaround should only be considered if the nbd module is not essential for the system's functionality.

Conclusion

In conclusion, a race condition vulnerability has been identified in the nbd module of the Linux Kernel. This vulnerability could lead to a denial-of-service condition or potential execution of arbitrary code. It is recommended to update the Linux Kernel to the latest version available 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 nbd module is a part of the Linux Kernel and allows remote storage devices to be accessed over a network.

A race condition vulnerability occurs when multiple processes or threads access shared resources concurrently, leading to unexpected and potentially insecure behavior.

The race condition vulnerability in the nbd module could result in a denial-of-service (DoS) condition or potential execution of arbitrary code by an attacker.

To fix this vulnerability, it is recommended to update the Linux Kernel to the latest version available, which includes the fix for the race condition vulnerability in the nbd module.

Yes, as a temporary workaround, users can disable the nbd module if it is not required for their system. However, this should only be considered if the nbd module is not essential for the system's functionality.

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