NULL pointer vulnerability in nbd package

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1000314: nbd: Fix NULL pointer in flush_workqueue. Affects Kernel versions >= e9e006f5fcf2bab59149cb38a48a4817c1b538b4, < cde4b55cfb24522dcbba80bbdb0c082303e76c43. 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, which is responsible for handling network block devices. It allows remote storage devices to be accessed over a network. The package is widely used in various Linux distributions and is critical for network storage operations.

Vulnerability Detail

The vulnerability in the nbd package involves a NULL pointer dereference in the flush_workqueue function. This vulnerability can be exploited by an attacker to cause a denial-of-service (DoS) condition or potentially execute arbitrary code. The issue was introduced in version v5.4 of the Linux Kernel and was fixed in version v5.10.38.

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 essential to update the Linux Kernel to the fixed version to mitigate the risk.

Conclusion

The NULL pointer vulnerability in the nbd package can have severe consequences, including denial-of-service and potential code execution. It is crucial to update the Linux Kernel to the fixed version to mitigate the risk. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to a denial-of-service (DoS) condition or potential execution of arbitrary code, allowing an attacker to disrupt network storage operations or gain unauthorized access to the system.

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 tool will analyze it for any known vulnerabilities.

At the time of this report, there are no known public exploits for this vulnerability. However, it is crucial to update the Linux Kernel to the fixed version to prevent any potential exploitation.

Yes, this vulnerability can be exploited remotely. An attacker can send specially crafted network requests to trigger the NULL pointer dereference and potentially execute arbitrary code on the target system.

For more details about this vulnerability, you can refer to the vulnerability ID GSD-2021-1000314 in the GSD database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/GSD-2021-1000314.json).

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