CVE-2026-90038
JSON

9.8critical

NFSD: Prevent client use-after-free during export state revocation

Severity
9.8critical CVSS:3.1 by Linux
Exploit likelihood
0.42% (higher than 38% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: NFSD: Prevent client use-after-free during export state revocation nfsd4_revoke_export_states() has the same use-after-free as nfsd4_revoke_states(): it drops nn->client_lock across revoke_one_stid() and the following read of clp->cl_minorversion, but the stateid reference it holds does not pin the client. A teardown racing the dropped lock can free the client while revoke_one_stid() still dereferences it. exportfs -u drives this path through NFSD_CMD_UNLOCK_EXPORT, so an administrator removing an export can race a client expiry. Skip a client that is already expiring and otherwise pin it with cl_rpc_users under client_lock before dropping the lock, matching nfsd4_revoke_states().

Affected

Product or packageVersionsReported by
Linux Linuxfrom 2eac189bb059d31a29937b29ee0f477394198610 before c05ae58fe06ce2ac34312f649e71c3596bdde358, from 2eac189bb059d31a29937b29ee0f477394198610 before 2108de53568a64936a0da3e04d85c35df98d3fb6, 7.2
Not affected: before 7.2, from 7.2.5 up to 7.2.*, from 7.3 up to *
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-90038 changed 2026-10-19CVE Terms of Use
NVDCVE-2026-90038 changed 2026-10-19Public domain