Overflow Vulnerability in nbd Package

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1002966: nbd: fix possible overflow on 'first_minor' in nbd_dev_add(). Affects Kernel versions >= b0d9111a2d53785847763c64c40af2d4c4c5a8b7, < c6399f6f2f84921feebbf985e3819b1ad851ebe5. 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 nbd package is a component of the Linux Kernel ecosystem. It provides support for Network Block Devices (NBD), allowing remote storage devices to be accessed over a network. The nbd package is responsible for managing the creation and configuration of NBD devices. It is an integral part of the Linux Kernel and is widely used in various systems and applications.

Vulnerability Detail

The vulnerability identified in the nbd package is related to a possible overflow on the 'first_minor' variable in the nbd_dev_add() function. This vulnerability was introduced in version v4.11 of the Linux Kernel and was fixed in version v5.17.2. The overflow could potentially lead to security issues, although the actual impact and attack plausibility have not been proven. The vulnerability can be exploited by an attacker to manipulate the 'first_minor' value, potentially causing unexpected behavior or system crashes.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.17.2 or later. This update includes the necessary patch to address the overflow issue in the nbd package. Users should follow the standard procedures for updating the Linux Kernel on their respective systems.

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. The recommended approach is to apply the fix by updating the Linux Kernel to the latest version.

Conclusion

The overflow vulnerability in the nbd package can be addressed by updating the Linux Kernel to version v5.17.2 or later. It is important to stay updated with the latest security patches to ensure the integrity and security of systems using the nbd package. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The nbd package is a component of the Linux Kernel that provides support for Network Block Devices (NBD), allowing remote storage devices to be accessed over a network.

The impact of this vulnerability is not yet proven, but it could potentially lead to security issues and unexpected behavior or system crashes.

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

There is no specific workaround mentioned for this vulnerability. The recommended approach is to apply the fix by updating the Linux Kernel.

For more information about this vulnerability, you can refer to the provided references link in the vulnerability details.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.17.2 or later. This update includes the necessary patch to address the overflow issue in the nbd package. Users should follow the standard procedures for updating the Linux Kernel on their respective systems.

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.