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-1003463: nbd: fix race between nbd_alloc_config() and module removal. Affects Kernel versions < 122e4adaff2439f1cc18cc7e931980fa7560df5c. 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 module is a part of the Linux Kernel and provides support for Network Block Devices (NBD). NBD allows remote storage devices to be accessed over a network as if they were local block devices. The module handles the configuration and management of NBD connections. However, a race condition vulnerability has been identified 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 the removal of the module. This vulnerability can be exploited when multiple threads or processes attempt to allocate and configure an NBD connection simultaneously while the module is being removed. The exact impact and attack plausibility of this vulnerability have not been proven yet. However, it could potentially result in memory corruption, crashes, or other security-related issues.

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 mentioned for this vulnerability.

Conclusion

The race condition vulnerability in the nbd module of the Linux Kernel can be mitigated by updating the kernel to version v5.10.122 or later. It is crucial to promptly apply the necessary updates to ensure the security and stability of the system. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The nbd module in the Linux Kernel provides support for Network Block Devices (NBD), allowing remote storage devices to be accessed over a network as if they were local block devices.

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

The exact impact of this vulnerability is not yet proven, but it could potentially result in memory corruption, crashes, or other security-related issues.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.122 or later.

The updated Linux Kernel source code can be obtained from the official Linux Kernel repository at https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/.

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