NULL Pointer in flush_workqueue Vulnerability in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1000404: nbd: Fix NULL pointer in flush_workqueue. Affects Kernel versions >= e9e006f5fcf2bab59149cb38a48a4817c1b538b4, < 1c4962df938891af9ab4775f5224ef8601764107. 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 Kernel is a crucial component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The vulnerability in question pertains to the nbd (network block device) module within the Kernel. The nbd module allows remote storage devices to be accessed over a network. However, a flaw in the module's implementation can lead to a NULL pointer dereference in the flush_workqueue function.

Vulnerability Detail

The vulnerability arises due to a NULL pointer dereference in the flush_workqueue function of the nbd module. This can be triggered when attempting to flush a workqueue that has already been destroyed. An attacker could potentially exploit this vulnerability by sending specially crafted requests to a system with the vulnerable Kernel, leading to a system crash or potential privilege escalation. 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

There is no specific workaround mentioned for this vulnerability.

Conclusion

The NULL pointer in flush_workqueue vulnerability in the Kernel's nbd module can potentially lead to system crashes or privilege escalation. It is crucial to update the Kernel to version v5.4.120 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability could range from a system crash to potential privilege escalation.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground and it will alert you in real-time if any open-source vulnerabilities, including this one, are detected.

At the time of this report, there is no known exploit for this vulnerability. However, it is important to apply the necessary updates to mitigate any potential risks.

Yes, this vulnerability can be remotely exploited by sending specially crafted requests to a system with the vulnerable Kernel.

The primary mitigation for this vulnerability is to update the Kernel to version v5.4.120 or later. Regularly updating the Kernel is recommended to ensure the latest security patches are applied.

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