nfsd: set SC_STATUS_FREED in nfsd4_drop_revoked_stid for delegations (Linux Linux)

CVE-2026-89703
CRITICAL 9.8

At a glance

Source
NVD
EPSS
EPSS 0.62 % · percentile 50 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: nfsd: set SC_STATUS_FREED in nfsd4_drop_revoked_stid for delegations nfsd4_drop_revoked_stid() handles FREE_STATEID for admin-revoked delegations but does not set SC_STATUS_FREED before releasing cl_lock. revoke_delegation() uses this flag to detect whether FREE_STATEID has already processed the delegation -- without it, the freed delegation is added to cl_revoked via list_add(), producing a use-after-free when cl_revoked is later traversed in __destroy_client(). The SC_STATUS_REVOKED path in nfsd4_free_stateid() (line 7983) already sets SC_STATUS_FREED correctly. Apply the same pattern to the SC_STATUS_ADMIN_REVOKED path in nfsd4_drop_revoked_stid().

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 8dd91e8d31febf4d9cca3ae1bb4771d33ae7ee5a < d832a0587528853d45481d1faf75d4b5d062adaf ; affected 8dd91e8d31febf4d9cca3ae1bb4771d33ae7ee5a < 1e4795766719ffd74b8cf0f2fde4a1350f8326bf ; affected 8dd91e8d31febf4d9cca3ae1bb4771d33ae7ee5a < a6d89032e5c6620d5bb44582a72555ce07bf1c2e ; affected 8dd91e8d31febf4d9cca3ae1bb4771d33ae7ee5a < 650d370cfbc66a96dd14d517bd704689b5bda4e5 ; affected 967faa26f313a62e7bebc55d5b8122eaee43b929 ; affected 6.11.6 < 6.12
Linux · Linuxaffected 6.12 ; unaffected 0 < 6.12 ; unaffected 6.12.109 ≤ 6.12.* ; unaffected 6.18.50 ≤ 6.18.* ; unaffected 7.2.4 ≤ 7.2.* ; unaffected 7.3 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD