CVE-2025-39688 Details
Description
In the Linux kernel, the following vulnerability has been resolved: nfsd: allow SC_STATUS_FREEABLE when searching via nfs4_lookup_stateid() The pynfs DELEG8 test fails when run against nfsd. It acquires a delegation and then lets the lease time out. It then tries to use the deleg stateid and expects to see NFS4ERR_DELEG_REVOKED, but it gets bad NFS4ERR_BAD_STATEID instead. When a delegation is revoked, it's initially marked with SC_STATUS_REVOKED, or SC_STATUS_ADMIN_REVOKED and later, it's marked with the SC_STATUS_FREEABLE flag, which denotes that it is waiting for s FREE_STATEID call. nfs4_lookup_stateid() accepts a statusmask that includes the status flags that a found stateid is allowed to have. Currently, that mask never includes SC_STATUS_FREEABLE, which means that revoked delegations are (almost) never found. Add SC_STATUS_FREEABLE to the always-allowed status flags, and remove it from nfsd4_delegreturn() since it's now always implied.
A vulnerability in the Linux kernel's NFS server implementation has been addressed. The issue arose because the NFS server did not properly handle revoked delegation state IDs, leading to incorrect error responses. When a delegation is revoked, it is initially marked as revoked and later as freeable, indicating it is ready to be returned. However, the NFS server's state ID lookup function did not include the freeable status, causing revoked delegations to be nearly impossible to retrieve. This vulnerability affected the NFS server's ability to correctly manage delegation states, particularly in scenarios where a delegation was acquired, allowed to expire, and then revoked.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/52e209203c35a4fbff8af23cd3613efe5df40102 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5bcb44e650bc4ec7eac23df90c5e011a77fa2beb | kernel.org | Patch |
| https://git.kernel.org/stable/c/d1bc15b147d35b4cb7ca99a9a7d79d41ca342c13 | kernel.org | Patch |
| https://git.kernel.org/stable/c/dc6f3295905d7185e71091870119a8c11c3808cc | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.11.6, < 6.12 >= 6.12.1, < 6.12.23 >= 6.13, < 6.13.11 >= 6.14, < 6.14.2 6.12 - 6.12 rc5 6.12 rc6 6.12 rc7 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Modified | kernel.org |
| Oct 15, 2026 | CVE Modified | CISA-ADP |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 6, 2025 | Initial Analysis | [email protected] |
| Apr 18, 2025 | New CVE Received | kernel.org |