Critical Vulnerability in Linux Kernel: nfsd Proc Registration Failure

linux Updated 02 Oct 2025

Summary

16/04/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-22026: In the Linux kernel, the following vulnerability has been resolved: nfsd: don't ignore the return code of svc_proc_register() Currently, nfsd_proc_stat_init() ignores the return value of svc_proc_register(). Affects linux versions < 6.12.25-1. Fixed in 6.12.25-1. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It provides essential services such as process management, memory management, and device control. The kernel is modular, allowing for various functionalities to be added or removed as needed. This vulnerability specifically affects the nfsd (Network File System daemon) component, which enables file sharing over a network. The issue arises from the improper handling of return codes during the registration of proc files, potentially leading to system instability.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified where the nfsd_proc_stat_init() function fails to properly handle the return value of svc_proc_register(). This oversight can lead to warnings when the kernel attempts to remove a proc file entry that was never successfully created. The svc_proc_register() function can fail due to issues such as inability to allocate a dentry or the existence of an identical dentry. If this failure occurs, it can result in memory allocation errors, impacting the stability and reliability of the nfsd service.

How To Fix

Minimum fixed version

6.12.25-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. It is recommended to apply the patch as soon as it is available to avoid potential issues.

Conclusion

The identified vulnerability in the Linux kernel's nfsd component highlights the importance of proper error handling in system processes. Users are urged to update their systems to the patched version to maintain stability and security. Utilizing tools like Vulert can further enhance monitoring for vulnerabilities in open-source software.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability involves the improper handling of return codes in the nfsd component of the Linux kernel, which can lead to system warnings and instability.

You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected.

Failure to address this vulnerability may lead to system warnings and potential instability in the nfsd service, impacting file sharing capabilities.

While the vulnerability primarily affects system stability, it is advisable to apply the patch to prevent any unforeseen issues that could arise.

It is recommended to regularly check for updates and patches for your software packages to ensure you are protected against known vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.12.25-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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