CVE-2025-39798

Description

A flaw was found in the Linux kernel's Network File System (NFS) client. When automounting a new filesystem or crossing export boundaries, the client improperly inherits filesystem capabilities from the parent mount rather than resetting and reprobing them. A local user traversing these filesystem boundaries can cause the kernel to misinterpret supported server features, potentially resulting in a denial of service (DoS) or unexpected access control evaluations.

Statement

This vulnerability is rated as Moderate impact for Red Hat Enterprise Linux because exploitation requires traversing filesystem boundaries within an active NFS mount, restricting exposure to environments using NFS submounts or server junctions. Improper inheritance of filesystem capabilities when crossing into a newly mounted export can cause the kernel client to misinterpret server feature support, potentially leading to denial of service or unexpected access control evaluations. Because triggering this condition depends on specific multi-filesystem NFS configurations and does not permit direct remote code execution, risk to typical deployments is limited.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.25.57.3
Attack VectorLocalLocalNetwork
Attack ComplexityHighLowLow
Privileges RequiredHighLowNone
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityLowNoneLow
Integrity ImpactLowNoneLow
Availability ImpactHighHighLow

Vector

Red Hat: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H

NVD: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Understanding the Weakness (CWE)

Access Control

Technical Impact: Gain Privileges or Assume Identity

A user can assume the identity of another user with separate privileges in another context. This will give the user unauthorized access that may allow them to acquire the access information of other users.

Frequently Asked Questions

Want to get errata notifications? Sign up here.