CVE-2025-39798
NFS: Fix the setting of capabilities when automounting a new filesystem
Check your servers for CVE-2025-39798
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-39798 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality low, integrity low, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 23.3% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 15 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 54ceac4515986030c2502960be620198dd8fe25b, before 95eb0d97ab98a10e966125c1f274e7d0fc0992b3 affected from 54ceac4515986030c2502960be620198dd8fe25b, before 73fcb101bb3eb2a552d7856a476b2c0bc3b5ef9e affected from 54ceac4515986030c2502960be620198dd8fe25b, before 3924dab90816d0c683a110628ef386f83a9d1e13 affected from 54ceac4515986030c2502960be620198dd8fe25b, before 175afda783e38c0660f2afc0602dd9c83d4e7ee1 affected from 54ceac4515986030c2502960be620198dd8fe25b, before 987c20428f067c1c7f29ed0a2bd8c63fa74b1c2c affected from 54ceac4515986030c2502960be620198dd8fe25b, before 816a6f60c2c2b679a33fa4276442bafd11473651 affected from 54ceac4515986030c2502960be620198dd8fe25b, before a8ffee4abd8ec9d7a64d394e0306ae64ba139fd2 affected from 54ceac4515986030c2502960be620198dd8fe25b, before 50e0fd0050e510e749e1fdd1d7158e419ff8f3b9 affected from 54ceac4515986030c2502960be620198dd8fe25b, before b01f21cacde9f2878492cf318fee61bf4ccad323
Other versions: unaffected
|
| Linux |
affected 2.6.19 unaffected before 2.6.19 unaffected from 5.4.297 up to and including 5.4.* unaffected from 5.10.241 up to and including 5.10.* unaffected from 5.15.190 up to and including 5.15.* unaffected from 6.1.149 up to and including 6.1.* unaffected from 6.6.103 up to and including 6.6.* unaffected from 6.12.43 up to and including 6.12.* unaffected from 6.15.11 up to and including 6.15.* unaffected from 6.16.2 up to and including 6.16.* unaffected 6.17 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-39798 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-39798
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-39798
trivy image --scanners vuln IMAGE | grep CVE-2025-39798
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/95eb0d97ab98a10e966125c1f274e7d0fc0992b3 git.kernel.org
- https://git.kernel.org/stable/c/73fcb101bb3eb2a552d7856a476b2c0bc3b5ef9e git.kernel.org
- https://git.kernel.org/stable/c/3924dab90816d0c683a110628ef386f83a9d1e13 git.kernel.org
- https://git.kernel.org/stable/c/175afda783e38c0660f2afc0602dd9c83d4e7ee1 git.kernel.org
- https://git.kernel.org/stable/c/987c20428f067c1c7f29ed0a2bd8c63fa74b1c2c git.kernel.org
- https://git.kernel.org/stable/c/816a6f60c2c2b679a33fa4276442bafd11473651 git.kernel.org
- https://git.kernel.org/stable/c/a8ffee4abd8ec9d7a64d394e0306ae64ba139fd2 git.kernel.org
- https://git.kernel.org/stable/c/50e0fd0050e510e749e1fdd1d7158e419ff8f3b9 git.kernel.org
- https://git.kernel.org/stable/c/b01f21cacde9f2878492cf318fee61bf4ccad323 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html cert-portal.siemens.com
Source: the record CVE-2025-39798 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse