# CVE-2025-39798: NFS: Fix the setting of capabilities when automounting a new filesystem

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.3
- **CVSS:** 7.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.54% (percentile 39, 2026-11-28)
- **Published:** 2025-09-12T15:59:34.386Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= 54ceac4515986030c2502960be620198dd8fe25b, \< 95eb0d97ab98a10e966125c1f274e7d0fc0992b3; \>= 54ceac4515986030c2502960be620198dd8fe25b, \< 73fcb101bb3eb2a552d7856a476b2c0bc3b5ef9e; \>= 54ceac4515986030c2502960be620198dd8fe25b, \< 3924dab90816d0c683a110628ef386f83a9d1e13; \>= 54ceac4515986030c2502960be620198dd8fe25b, \< 175afda783e38c0660f2afc0602dd9c83d4e7ee1; \>= 54ceac4515986030c2502960be620198dd8fe25b, \< 987c20428f067c1c7f29ed0a2bd8c63fa74b1c2c; \>= 54ceac4515986030c2502960be620198dd8fe25b, \< 816a6f60c2c2b679a33fa4276442bafd11473651; \>= 54ceac4515986030c2502960be620198dd8fe25b, \< a8ffee4abd8ec9d7a64d394e0306ae64ba139fd2; \>= 54ceac4515986030c2502960be620198dd8fe25b, \< 50e0fd0050e510e749e1fdd1d7158e419ff8f3b9; \>= 54ceac4515986030c2502960be620198dd8fe25b, \< b01f21cacde9f2878492cf318fee61bf4ccad323
- Anyone running Linux 2.6.19

## Description

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.
They need to be reset to the minimal defaults, and then probed for
again.

## Affected and fixed versions

- Linux: \>= 54ceac4515986030c2502960be620198dd8fe25b, \< 95eb0d97ab98a10e966125c1f274e7d0fc0992b3; \>= 54ceac4515986030c2502960be620198dd8fe25b, \< 73fcb101bb3eb2a552d7856a476b2c0bc3b5ef9e; \>= 54ceac4515986030c2502960be620198dd8fe25b, \< 3924dab90816d0c683a110628ef386f83a9d1e13; \>= 54ceac4515986030c2502960be620198dd8fe25b, \< 175afda783e38c0660f2afc0602dd9c83d4e7ee1; \>= 54ceac4515986030c2502960be620198dd8fe25b, \< 987c20428f067c1c7f29ed0a2bd8c63fa74b1c2c; \>= 54ceac4515986030c2502960be620198dd8fe25b, \< 816a6f60c2c2b679a33fa4276442bafd11473651; \>= 54ceac4515986030c2502960be620198dd8fe25b, \< a8ffee4abd8ec9d7a64d394e0306ae64ba139fd2; \>= 54ceac4515986030c2502960be620198dd8fe25b, \< 50e0fd0050e510e749e1fdd1d7158e419ff8f3b9; \>= 54ceac4515986030c2502960be620198dd8fe25b, \< b01f21cacde9f2878492cf318fee61bf4ccad323 (cvelist)
- Linux: 2.6.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-39798. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-39798.md
Affected: Linux >= 54ceac4515986030c2502960be620198dd8fe25b, < 95eb0d97ab98a10e966125c1f274e7d0fc0992b3; >= 54ceac4515986030c2502960be620198dd8fe25b, < 73fcb101bb3eb2a552d7856a476b2c0bc3b5ef9e; >= 54ceac4515986030c2502960be620198dd8fe25b, < 3924dab90816d0c683a110628ef386f83a9d1e13; >= 54ceac4515986030c250296…
Fixed in: Linux 95eb0d97ab98a10e966125c1f274e7d0fc0992b3, Linux 73fcb101bb3eb2a552d7856a476b2c0bc3b5ef9e, Linux 3924dab90816d0c683a110628ef386f83a9d1e13, Linux 175afda783e38c0660f2afc0602dd9c83d4e7ee1, Linux 987c20428f067c1c7f29ed0a2bd8c63fa74b1c2c, Linux 816a6f60c2c2b679a33fa4276442bafd11473651, Linux 50e0f…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-39798 being exploited?

There is no confirmed exploitation: CVE-2025-39798 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.54% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-39798?

High: CVSS 7.3 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-39798?

Linux \>= 54ceac4515986030c2502960be620198dd8fe25b, \< 95eb0d97ab98a10e966125c1f274e7d0fc0992b3; \>= 54ceac4515986030c2502960be620198dd8fe25b, \< 73fcb101bb3eb2a552d7856a476b2c0bc3b5ef9e; \>= 54ceac4515986030c2502960be620198dd8fe25b, \< 3924dab90816d0c683a110628ef386f83a9d1e13; \>= 54ceac4515986030c2502960be620198dd8fe25b, \< 175afda783e38c0660f2afc0602dd9c83d4e7ee1; \>= 54ceac4515986030c2502960be620198dd8fe25b, \< 987c20428f067c1c7f29ed0a2bd8c63fa74b1c2c; \>= 54ceac4515986030c2502960be620198dd8fe25b, \< 816a6f60c2c2b679a33fa4276442bafd11473651; \>= 54ceac4515986030c2502960be620198dd8fe25b, \< a8ffee4abd8ec9d7a64d394e0306ae64ba139fd2; \>= 54ceac4515986030c2502960be620198dd8fe25b, \< 50e0fd0050e510e749e1fdd1d7158e419ff8f3b9; \>= 54ceac4515986030c2502960be620198dd8fe25b, \< b01f21cacde9f2878492cf318fee61bf4ccad323; Linux 2.6.19.

### Is there a fix for CVE-2025-39798?

Yes. Fixed in Linux 95eb0d97ab98a10e966125c1f274e7d0fc0992b3, Linux 73fcb101bb3eb2a552d7856a476b2c0bc3b5ef9e, Linux 3924dab90816d0c683a110628ef386f83a9d1e13, Linux 175afda783e38c0660f2afc0602dd9c83d4e7ee1, Linux 987c20428f067c1c7f29ed0a2bd8c63fa74b1c2c, Linux 816a6f60c2c2b679a33fa4276442bafd11473651, Linux 50e0fd0050e510e749e1fdd1d7158e419ff8f3b9. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-39798?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/95eb0d97ab98a10e966125c1f274e7d0fc0992b3>
- patch: <https://git.kernel.org/stable/c/73fcb101bb3eb2a552d7856a476b2c0bc3b5ef9e>
- patch: <https://git.kernel.org/stable/c/3924dab90816d0c683a110628ef386f83a9d1e13>
- patch: <https://git.kernel.org/stable/c/175afda783e38c0660f2afc0602dd9c83d4e7ee1>
- patch: <https://git.kernel.org/stable/c/987c20428f067c1c7f29ed0a2bd8c63fa74b1c2c>
- patch: <https://git.kernel.org/stable/c/816a6f60c2c2b679a33fa4276442bafd11473651>
- patch: <https://git.kernel.org/stable/c/a8ffee4abd8ec9d7a64d394e0306ae64ba139fd2>
- patch: <https://git.kernel.org/stable/c/50e0fd0050e510e749e1fdd1d7158e419ff8f3b9>
- patch: <https://git.kernel.org/stable/c/b01f21cacde9f2878492cf318fee61bf4ccad323>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-032379.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-39798>

HTML: <https://flawdb.com/CVE-2025-39798> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-39798>
