Overflow Vulnerability in nbd Package

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001748: nbd: fix possible overflow on 'first_minor' in nbd_dev_add(). Affects Kernel versions >= b0d9111a2d53785847763c64c40af2d4c4c5a8b7, < 5142720dbe51befeb25f204f912ef1ad93fba343. 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 package is a component of the Linux Kernel that 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 nbd package is responsible for managing NBD devices and their associated resources. It is widely used in virtualization and cloud computing environments.

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 has been present until version v5.15.34. The impact and attack plausibility of this vulnerability have not been proven yet. However, if exploited, it could lead to potential security risks and compromise the integrity and availability of NBD 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

There is no specific workaround mentioned for this vulnerability. However, as a general best practice, it is advisable to follow secure coding practices and regularly update the software components to the latest versions to mitigate potential security risks.

Conclusion

In conclusion, the nbd package in the Linux Kernel is vulnerable to a possible overflow issue in the nbd_dev_add() function. To mitigate this vulnerability, it is crucial to update the Kernel to version v5.15.34 or later. Following secure coding practices and regularly updating software components are also recommended. 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). It allows remote storage devices to be accessed over a network as if they were local block devices.

The impact of this vulnerability is not yet proven. However, if exploited, it could lead to potential security risks and compromise the integrity and availability of NBD devices.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.34 or later. This fix was implemented in commit 5142720dbe51befeb25f204f912ef1ad93fba343.

There is no specific workaround mentioned for this vulnerability. However, it is advisable to follow secure coding practices and regularly update the software components to the latest versions.

For more information about this vulnerability, you can refer to the source link provided in the database_specific section of the vulnerability details.

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