CVE-2026-74316

NFSD: Handle layout stid in nfsd4_drop_revoked_stid()

State
Published
Severity
7.5 High
Published
Aug 15, 2026
Updated
Oct 16, 2026
Reserved
Aug 15, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1e33e1414bec54a4feafa9e67e2617031be0afe2 to before 7ed62f7040ee182cf7dea5798f9e114235b31daeAffected
  • 1e33e1414bec54a4feafa9e67e2617031be0afe2 to before da6f86ff4f2dd490bea52419a49e19680efd5847Affected
  • 1e33e1414bec54a4feafa9e67e2617031be0afe2 to before 8024028ef91616cf91cc669f2446a0406bc0ba19Affected
  • 1e33e1414bec54a4feafa9e67e2617031be0afe2 to before 86b9898920a6d02b4149f4fef9efd77b8aa3b9caAffected
LinuxLinux
  • 6.9Affected
  • before 6.9Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.