NFSD: Use-after-free vulnerability in nfsd_file_put() in Kernel

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1002613: NFSD: Fix potential use-after-free in nfsd_file_put(). Affects Kernel versions >= 999397926ab3f78c7d1235cc4ca6e3c89d2769bf, < 333dcc94ebf53f79f3dc0e7a7c16700bc7ff7e57. 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 fundamental component of the Linux operating system that provides core functionalities and interfaces with hardware devices. It manages system resources, facilitates communication between software and hardware, and ensures the stability and security of the system. The Network File System (NFS) is a protocol implemented in the Kernel that allows remote file access over a network. The nfsd_file_put() function is responsible for releasing resources associated with an NFS file object. However, a use-after-free vulnerability has been discovered in this function, potentially leading to security breaches and system instability.

Vulnerability Detail

The use-after-free vulnerability in nfsd_file_put() arises when the function attempts to access a file object that has already been freed from memory. This can occur if an attacker manipulates the system to free the file object prematurely or if the function fails to properly handle certain scenarios. Exploiting this vulnerability could allow an attacker to execute arbitrary code, escalate privileges, or cause a denial-of-service condition. 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

No specific workaround has been provided for this vulnerability. It is advised to follow the recommended fix and update the Kernel to the latest version.

Conclusion

In conclusion, a use-after-free vulnerability has been identified in the nfsd_file_put() function of the Kernel, which could potentially lead to security breaches and system instability. It is crucial to update the Kernel to version v5.18.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

The Kernel is a core component of the Linux operating system that manages system resources, facilitates communication between software and hardware, and ensures system stability and security.

NFS (Network File System) is a protocol implemented in the Kernel that allows remote file access over a network.

A use-after-free vulnerability occurs when a program attempts to access a memory location that has already been freed. This can lead to unpredictable behavior, crashes, or security vulnerabilities.

Exploiting this vulnerability could allow an attacker to execute arbitrary code, escalate privileges, or cause a denial-of-service condition.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.18.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