What’s Vulnerable › Vulnerabilities
CVE-2025-39912: nfs/localio: restore creds before releasing pageio data
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-10-01 · updated 2026-10-19
Description
In the Linux kernel, the following vulnerability has been resolved: nfs/localio: restore creds before releasing pageio data Otherwise if the nfsd filecache code releases the nfsd_file immediately, it can trigger the BUG_ON(cred == current->cred) in __put_cred() when it puts the nfsd_file->nf_file->f-cred.
Affected products
- Linux kernel: from 6.12 before 6.12.48; from 6.13 before 6.16.8; 6.17-rc1, 6.17-rc2, 6.17-rc3, 6.17-rc4, 6.17-rc5 — fixed in 6.12.48, 6.16.8
How to fix
Upgrade to a fixed version: Linux kernel 6.12.48, 6.16.8. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/57c1bb02b4fc8eec6eb01736e7fad26dffacf18c
- https://git.kernel.org/stable/c/992203a1fba51b025c60ec0c8b0d9223343dea95
- https://git.kernel.org/stable/c/c250be1d75bf80dc5ab46f0b434b746c1868a1ea
Get alerted when CVE-2025-39912 or the next vulnerability affects your stack