NFS: Avoid writeback threads getting stuck in mempool_alloc() - Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1001368: NFS: Avoid writeback threads getting stuck in mempool_alloc(). Affects Kernel versions < 1b3fa9a3c420c31e77b406ddc28f3a627100516c. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Kernel is a fundamental component of the Linux operating system that provides core functionalities and interfaces between hardware and software. It manages system resources, facilitates communication between different software components, and ensures the security and stability of the system. The NFS (Network File System) is a distributed file system protocol that allows remote file access over a network. It is commonly used for sharing files and directories between multiple systems. However, a vulnerability has been discovered in the Kernel related to NFS writeback threads getting stuck in mempool_alloc().

Vulnerability Detail

The vulnerability in the Kernel allows writeback threads in the NFS subsystem to become stuck in mempool_alloc(). This can lead to resource exhaustion and a denial-of-service condition. An attacker could exploit this vulnerability by sending specially crafted requests to the NFS server, causing the writeback threads to get stuck and consume excessive resources. This could result in system instability and unresponsiveness. The vulnerability has been fixed in Linux Kernel version v5.16.20 by commit 1b3fa9a3c420c31e77b406ddc28f3a627100516c.

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 Kernel to the fixed version as soon as possible.

Conclusion

The vulnerability in the Kernel related to NFS writeback threads getting stuck in mempool_alloc() can lead to resource exhaustion and a denial-of-service condition. It is crucial to update the Kernel to version v5.16.20 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 Kernel is a core component of the Linux operating system that provides essential functionalities and interfaces between hardware and software.

NFS (Network File System) is a distributed file system protocol that allows remote file access over a network.

mempool_alloc() is a function in the Kernel that allocates memory from a memory pool. It is used by various subsystems, including NFS.

A writeback thread is responsible for flushing modified data from the system's cache to the underlying storage device.

Resource exhaustion refers to a situation where a system or component runs out of available resources, such as memory or CPU, due to excessive usage or inefficient resource management.

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