# CVE-2026-74316: NFSD: Handle layout stid in nfsd4_drop_revoked_stid()

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-08-15T05:58:14.165Z
- Modified: 2026-10-16T19:17:38.987Z
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

NFSD: Handle layout stid in nfsd4_drop_revoked_stid()

nfsd4_drop_revoked_stid() has no SC_TYPE_LAYOUT case, so when a
client sends FREE_STATEID for an admin-revoked layout stid, the
default branch releases cl_lock and returns without unhashing or
releasing the stid.  The stid remains in the IDR and on the
per-client list until the client is destroyed.

Remove the layout stid from the per-client list and call
nfs4_put_stid() to drop the creation reference.  When the
refcount reaches zero, nfsd4_free_layout_stateid() handles the
remaining cleanup: cancelling the fence worker, removing from
the per-file list, and freeing the slab object.

(As written by CVE List.)

## Affected

- Linux Linux: from 1e33e1414bec54a4feafa9e67e2617031be0afe2 before 7ed62f7040ee182cf7dea5798f9e114235b31dae; from 1e33e1414bec54a4feafa9e67e2617031be0afe2 before da6f86ff4f2dd490bea52419a49e19680efd5847; from 1e33e1414bec54a4feafa9e67e2617031be0afe2 before 8024028ef91616cf91cc669f2446a0406bc0ba19; from 1e33e1414bec54a4feafa9e67e2617031be0afe2 before 86b9898920a6d02b4149f4fef9efd77b8aa3b9ca; 6.9 (not affected: before 6.9; from 6.12.97 up to 6.12.*; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/7ed62f7040ee182cf7dea5798f9e114235b31dae>
- <https://git.kernel.org/stable/c/da6f86ff4f2dd490bea52419a49e19680efd5847>
- <https://git.kernel.org/stable/c/8024028ef91616cf91cc669f2446a0406bc0ba19>
- <https://git.kernel.org/stable/c/86b9898920a6d02b4149f4fef9efd77b8aa3b9ca>

## Sources

- CVE List: [CVE-2026-74316](https://www.cve.org/CVERecord?id=CVE-2026-74316), CVE Terms of Use, modified 2026-10-16
- NVD: [CVE-2026-74316](https://nvd.nist.gov/vuln/detail/CVE-2026-74316), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-74316 · Whole record: https://cve.day/CVE-2026-74316.json · Rebuilt by cve.day 2026-11-25T22:59:33.167Z
