NFS Capability Reset Vulnerability in Linux Kernel - CVE-2025-39798

linux Updated 02 Oct 2025

Summary

12/09/2025
N/A
No i
Unrated
Not published

CVE-2025-39798: In the Linux kernel, the following vulnerability has been resolved: NFS: Fix the setting of capabilities when automounting a new filesystem Capabilities cannot be inherited when we cross into a new filesystem. Affects linux versions 5.10.103-1 – 6.9.9-1. 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 Devnack Your last release was probably never penetration tested 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 hardware resources and providing essential services to applications. It supports a wide range of functionalities, including process management, memory management, and device control. The kernel's robustness is critical for system stability and security. This vulnerability specifically affects the NFS (Network File System) capabilities during the automounting of new filesystems, potentially leading to improper permission settings.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified related to the handling of capabilities when automounting a new filesystem. When transitioning into a new filesystem, the capabilities should be reset to minimal defaults to prevent unauthorized access. Failure to do so can lead to security risks, as capabilities may be inherited incorrectly, allowing unintended access to system resources. This issue has been resolved in subsequent patches, but systems running vulnerable versions remain at risk.

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

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the available patches as soon as possible.

Conclusion

CVE-2025-39798 is a significant vulnerability in the Linux kernel that affects the handling of capabilities during filesystem transitions. It is essential to update to the patched versions to ensure system security and prevent unauthorized access. Regular monitoring and timely updates are vital for maintaining a secure environment.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-39798 is a vulnerability in the Linux kernel related to the improper handling of capabilities when automounting new filesystems.

This vulnerability can lead to unauthorized access to system resources if capabilities are inherited incorrectly during filesystem transitions.

The vulnerability affects multiple Debian versions, including Debian 11, 12, 13, and 14, with specific patched versions available.

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

While there are no specific workarounds, it is crucial to prioritize updating your system to mitigate the risk associated with this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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