NULL pointer vulnerability in nbd package

Kernel Updated 02 Oct 2025

Summary

31/05/2021
N/A
No i
Unrated
Not published

UVI-2021-1000195: nbd: Fix NULL pointer in flush_workqueue. Affects Kernel versions >= e9e006f5fcf2bab59149cb38a48a4817c1b538b4, < 54b78ba7e96e5fe1edb8054e375d31a6c0dc60dc. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The nbd package is a component of the Linux Kernel, which is responsible for handling network block devices. It allows remote storage devices to be accessed over a network. The package provides functionality for connecting to and managing these network block devices. However, a vulnerability has been discovered in the package that could lead to a NULL pointer dereference.

Vulnerability Detail

The vulnerability in the nbd package arises from a NULL pointer dereference in the flush_workqueue function. This can occur when attempting to flush a workqueue that has not been initialized properly. An attacker could potentially exploit this vulnerability to cause a denial-of-service condition or execute arbitrary code with kernel privileges. The vulnerability was introduced in version v5.4 of the Linux Kernel and has been fixed in version v5.12.5.

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 known workaround for this vulnerability. It is necessary to apply the fix by updating the Linux Kernel.

Conclusion

In conclusion, the nbd package in the Linux Kernel is vulnerable to a NULL pointer dereference issue. This vulnerability can be fixed by updating the Linux Kernel to version v5.12.5 or later. It is recommended to apply the fix as soon as possible to mitigate the risk of exploitation. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The nbd package is a component of the Linux Kernel that allows remote storage devices to be accessed over a network.

A NULL pointer dereference occurs when a program attempts to access or manipulate data using a pointer that points to NULL, resulting in a crash or undefined behavior.

This vulnerability could lead to a denial-of-service condition or allow an attacker to execute arbitrary code with kernel privileges.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the Vulert Playground will analyze it for vulnerabilities.

You can find more information about this vulnerability in the Open Source Vulnerability database entry UVI-2021-1000195 (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/UVI-2021-1000195.json).

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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