NFSv4: Fix an Oops in pnfs_mark_request_commit() when doing O_DIRECT

Kernel Updated 02 Oct 2025

Summary

03/08/2021
N/A
No i
Unrated
Not published

GSD-2021-1001192: NFSv4: Fix an Oops in pnfs_mark_request_commit() when doing O_DIRECT. Affects Kernel versions >= 9c455a8c1e146dac3a6d1405fe6a7096177b9546, < 7aec9f862411906f8c27071ba65a1e110ad7d2fd. 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 an open-source software that serves as the core component of the Linux operating system. It provides essential functionalities, such as managing system resources, facilitating communication between hardware and software components, and enabling 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. The pnfs_mark_request_commit() function is a part of NFSv4 that handles marking requests for commit when using the O_DIRECT flag. O_DIRECT is a flag that allows direct I/O operations without involving the page cache.

Vulnerability Detail

The vulnerability identified as GSD-2021-1001192 in the Kernel's NFSv4 component occurs in the pnfs_mark_request_commit() function when performing O_DIRECT operations. This vulnerability can lead to an Oops, which is a kernel panic or crash, potentially resulting in a denial of service (DoS) condition. The issue was introduced in version v5.7 of the Linux Kernel and has been fixed in version v5.13.4. The impact and attack plausibility of this vulnerability have not been proven.

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 in the NFSv4 component of the Linux Kernel, identified as GSD-2021-1001192, can lead to a denial of service (DoS) condition. It is recommended to update the Kernel to version v5.13.4 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

NFSv4 is a protocol within the Linux Kernel that enables remote file access over a network, providing a distributed file system.

O_DIRECT is a flag that allows direct I/O operations without involving the page cache.

pnfs_mark_request_commit() is a function in the NFSv4 component of the Linux Kernel that handles marking requests for commit when using the O_DIRECT flag.

An Oops refers to a kernel panic or crash, which can occur due to a software bug or vulnerability.

To fix this vulnerability, update the Linux Kernel to version v5.13.4 or later.

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