CVE-2025-39688

EUVD-2025-11820
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.5 MEDIUM
LOCAL
LOW
LOW
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 12%
Affected Products (NVD)
VendorProductVersion
linuxlinux_kernel
6.11.6 ≤
𝑥
< 6.12
linuxlinux_kernel
6.12.1 ≤
𝑥
< 6.12.23
linuxlinux_kernel
6.13 ≤
𝑥
< 6.13.11
linuxlinux_kernel
6.14 ≤
𝑥
< 6.14.2
linuxlinux_kernel
6.12
linuxlinux_kernel
6.12:rc5
linuxlinux_kernel
6.12:rc6
linuxlinux_kernel
6.12:rc7
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
linux
bookworm
6.1.176-1
fixed
bookworm (security)
6.1.177-1
fixed
bullseye
5.10.223-1
fixed
bullseye (security)
5.10.259-1
fixed
forky
7.1.3-1
fixed
sid
7.1.3-1
fixed
trixie
6.12.94-1
fixed
trixie (security)
6.12.95-1
fixed
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
bpftool
Amazon Linux 2023
0:6.12.23-29.97.amzn2023
fixed
bpftool-debuginfo
Amazon Linux 2023
0:6.12.23-29.97.amzn2023
fixed
kernel-devel
Amazon Linux 2023
0:6.12.23-29.97.amzn2023
fixed
kernel-headers
Amazon Linux 2023
0:6.12.23-29.97.amzn2023
fixed
kernel-libbpf
Amazon Linux 2023
0:6.12.23-29.97.amzn2023
fixed
kernel-libbpf-debuginfo
Amazon Linux 2023
0:6.12.23-29.97.amzn2023
fixed
kernel-libbpf-devel
Amazon Linux 2023
0:6.12.23-29.97.amzn2023
fixed
kernel-libbpf-static
Amazon Linux 2023
0:6.12.23-29.97.amzn2023
fixed
kernel-livepatch-6.12.23-29.97
Amazon Linux 2023
0:1.0-0.amzn2023
fixed
kernel-modules-extra-common
Amazon Linux 2023
0:6.12.23-29.97.amzn2023
fixed
kernel-tools
Amazon Linux 2023
0:6.12.23-29.97.amzn2023
fixed
kernel-tools-debuginfo
Amazon Linux 2023
0:6.12.23-29.97.amzn2023
fixed
kernel-tools-devel
Amazon Linux 2023
0:6.12.23-29.97.amzn2023
fixed
kernel6.12
Amazon Linux 2023
0:6.12.23-29.97.amzn2023
fixed
kernel6.12-debuginfo
Amazon Linux 2023
0:6.12.23-29.97.amzn2023
fixed
kernel6.12-debuginfo-common-aarch64
Amazon Linux 2023
0:6.12.23-29.97.amzn2023
fixed
kernel6.12-debuginfo-common-x86_64
Amazon Linux 2023
0:6.12.23-29.97.amzn2023
fixed
kernel6.12-modules-extra
Amazon Linux 2023
0:6.12.23-29.97.amzn2023
fixed
perf6.12
Amazon Linux 2023
0:6.12.23-29.97.amzn2023
fixed
perf6.12-debuginfo
Amazon Linux 2023
0:6.12.23-29.97.amzn2023
fixed
python3-perf6.12
Amazon Linux 2023
0:6.12.23-29.97.amzn2023
fixed
python3-perf6.12-debuginfo
Amazon Linux 2023
0:6.12.23-29.97.amzn2023
fixed