Vulnerability in Linux Kernel: Revert "nbd: fix possible overflow on 'first_minor' in nbd_dev_add()"

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1001742: Revert "nbd: fix possible overflow on 'first_minor' in nbd_dev_add()". Affects Kernel versions < 3b14aa053181709d42319d4145855025c23ddd12. 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 Linux Kernel is a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality for hardware abstraction, process management, memory management, and device drivers. The nbd (Network Block Device) subsystem is responsible for exporting block devices over a network. This vulnerability specifically affects the nbd_dev_add() function in the kernel code.

Vulnerability Detail

The vulnerability addressed by this report is related to a possible overflow in the 'first_minor' variable within the nbd_dev_add() function of the Linux Kernel's nbd subsystem. The issue arises due to a lack of proper bounds checking, which could lead to a potential overflow. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service (DoS) condition. The impact and attack plausibility of this vulnerability have not been proven yet.

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 provided for this vulnerability. It is advised to update the Linux Kernel to the fixed version as mentioned in the 'how_to_fix' section.

Conclusion

In conclusion, this report highlights a vulnerability in the Linux Kernel's nbd subsystem that could potentially lead to arbitrary code execution or a denial-of-service (DoS) condition. It is crucial to update the kernel to the fixed version mentioned in the report to mitigate the risk associated with this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Linux Kernel is an open-source operating system kernel that provides essential functionality for various Linux distributions.

The nbd (Network Block Device) subsystem in the Linux Kernel is responsible for exporting block devices over a network.

The impact of this vulnerability could potentially allow an attacker to execute arbitrary code or cause a denial-of-service (DoS) condition.

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

No specific workaround has been provided for this vulnerability. Updating the Linux Kernel to the fixed version is the recommended solution.

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