NFSv4: NULL pointer dereference in pnfs_mark_matching_lsegs_return()

Kernel Updated 02 Oct 2025

Summary

04/06/2021
N/A
No i
Unrated
Not published

GSD-2021-1000612: NFSv4: Fix a NULL pointer dereference in pnfs_mark_matching_lsegs_return(). Affects Kernel versions >= 2fafe7d5047f98791afd9a1d90d2afb70debc590, < f9890652185b72b8de9ebeb4406037640b6e1b53. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Kernel is a critical component of the Linux operating system that provides core functionality and interfaces with hardware devices. It manages system resources, facilitates communication between software and hardware, and enables the execution of user programs. The NFSv4 (Network File System version 4) is a protocol within the Kernel that allows remote file access over a network. It provides a distributed file system that enables clients to access files on a server as if they were local. This vulnerability affects the NFSv4 implementation in the Kernel.

Vulnerability Detail

The vulnerability identified as GSD-2021-1000612 is a NULL pointer dereference in the pnfs_mark_matching_lsegs_return() function of the NFSv4 implementation. A NULL pointer dereference occurs when a program attempts to access or manipulate data through a null pointer, resulting in a crash or potential code execution. In this case, the vulnerability can be triggered when processing certain network file system requests, leading to a NULL pointer dereference and a system crash. 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 vulnerability GSD-2021-1000612 is a NULL pointer dereference in the pnfs_mark_matching_lsegs_return() function of the NFSv4 implementation in the Linux Kernel. It can lead to a system crash when processing certain network file system requests. To fix this vulnerability, it is crucial to update the Kernel to version v5.10.42 or later. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability is a system crash due to a NULL pointer dereference. However, the actual attack plausibility and potential consequences have not been proven yet.

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 open-source vulnerabilities, including GSD-2021-1000612.

There is no known exploit for this vulnerability at the moment. However, it is important to apply the recommended fix to mitigate any potential risks.

Yes, this vulnerability can be exploited remotely as it affects the NFSv4 protocol, which allows remote file access over a network.

The recommended solution is to update the Linux Kernel to the latest version. However, if updating is not feasible, you can consider implementing additional security measures such as network segmentation and access controls to mitigate the risk.

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