NFSD: Handle layout stid in nfsd4_drop_revoked_stid()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.97, 6.18.40, 7.1.5
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 1e33e1414bec54a4feafa9e67e2617031be0afe2 · fixed in 7ed62f7040ee182cf7dea5798f9e114235b31dae; From 1e33e1414bec54a4feafa9e67e2617031be0afe2 · fixed in da6f86ff4f2dd490bea52419a49e19680efd5847; From 1e33e1414bec54a4feafa9e67e2617031be0afe2 · fixed in 8024028ef91616cf91cc669f2446a0406bc0ba19; From 1e33e1414bec54a4feafa9e67e2617031be0afe2 · fixed in 86b9898920a6d02b4149f4fef9efd77b8aa3b9ca
- Linux Linux
6.9
- KernelLinux
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