Impact
In the Linux kernel’s NFS server, a use‑after‑free occurs when the setlease operation fails. The routine allocates a layout state ID (stid) and publishes it via an IDR table, but on failure the code frees the stid without removing its IDR entry, leaving a dangling pointer. Subsequent IDR traversals dereference this freed memory, causing a use‑after‑free that can crash the server or potentially be leveraged for remote code execution. The flaw is a classic CWE‑825 issue related to memory management.
Affected Systems
The defect exists in the Linux kernel’s NFS subsystem and applies to all kernel releases built before the patch introduced in commit 30d55c8… (see the provided kernel links). All Linux distributions that ship a vulnerable kernel and run an NFS server are impacted. The flaw does not affect non‑NFS applications; it is limited to the NFS daemon.
Risk and Exploitability
The CVSS base score of 9.8 classifies the issue as critical. The EPSS rating of less than 1 % indicates a low current exploitation probability, and the vulnerability is not catalogued in CISA KEV. Based on the description, it is inferred that an attacker with network access to an NFS server that performs layout setlease calls could trigger the flaw. A failed setlease leads to a dangling IDR entry that can be dereferenced, resulting in a crash or, at a minimum, significant memory corruption that may be exploitable for remote code execution. No additional preconditions are enumerated in the advisory, so the primary mitigants are avoidance or patching.
OpenCVE Enrichment
Debian DLA
Debian DSA