CVE-2025-39688
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
18/04/2025
Last modified:
06/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
nfsd: allow SC_STATUS_FREEABLE when searching via nfs4_lookup_stateid()<br />
<br />
The pynfs DELEG8 test fails when run against nfsd. It acquires a<br />
delegation and then lets the lease time out. It then tries to use the<br />
deleg stateid and expects to see NFS4ERR_DELEG_REVOKED, but it gets<br />
bad NFS4ERR_BAD_STATEID instead.<br />
<br />
When a delegation is revoked, it&#39;s initially marked with<br />
SC_STATUS_REVOKED, or SC_STATUS_ADMIN_REVOKED and later, it&#39;s marked<br />
with the SC_STATUS_FREEABLE flag, which denotes that it is waiting for<br />
s FREE_STATEID call.<br />
<br />
nfs4_lookup_stateid() accepts a statusmask that includes the status<br />
flags that a found stateid is allowed to have. Currently, that mask<br />
never includes SC_STATUS_FREEABLE, which means that revoked delegations<br />
are (almost) never found.<br />
<br />
Add SC_STATUS_FREEABLE to the always-allowed status flags, and remove it<br />
from nfsd4_delegreturn() since it&#39;s now always implied.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.11.6 (including) | 6.12 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.12.1 (including) | 6.12.23 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (including) | 6.13.11 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.14 (including) | 6.14.2 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.12:-:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.12:rc5:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.12:rc6:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.12:rc7:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



