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

UVI-2021-1000644: NFSv4: Fix a NULL pointer dereference in pnfs_mark_matching_lsegs_return(). Affects Kernel versions >= 6be0e4b59314e4a836495f6ffdc5d2c5b079deeb, < aba3c7795f51717ae316f3566442dee7cc3eeccb. 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 package is a fundamental component of the Linux operating system. It provides the core functionality and interfaces for the system's hardware and software components. The NFSv4 (Network File System version 4) is a protocol within the Kernel package that allows remote file access and sharing. It includes support for parallel NFS (pNFS) which improves performance by allowing data to be accessed in parallel from multiple servers. However, a vulnerability has been discovered in the pnfs_mark_matching_lsegs_return() function of NFSv4, which can lead to a NULL pointer dereference.

Vulnerability Detail

The vulnerability in pnfs_mark_matching_lsegs_return() function of NFSv4 occurs when a NULL pointer is dereferenced, causing the system to crash or potentially leading to arbitrary code execution. An attacker could exploit this vulnerability by sending a specially crafted request to a vulnerable system. The impact of this vulnerability includes denial of service (system crash) and potential privilege escalation if code execution is achieved. The vulnerability was introduced in Linux Kernel version v5.4.118 and has been fixed in version v5.4.124.

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 recommended to apply the fix mentioned in the 'how_to_fix' section.

Conclusion

In conclusion, the NFSv4 vulnerability in the pnfs_mark_matching_lsegs_return() function of the Kernel package can lead to system crashes and potential privilege escalation. It is crucial to update the Linux Kernel to version v5.4.124 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 includes system crashes (denial of service) and potential privilege escalation if code execution is achieved.

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 playground will analyze it for vulnerabilities.

Yes, this vulnerability can be exploited remotely by sending a specially crafted request to a vulnerable system.

No, there is no known workaround. It is recommended to apply the fix mentioned in the 'how_to_fix' section.

The vulnerability was introduced in version v5.4.118 and fixed in version v5.4.124 of the Linux Kernel.

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