{"id":"CVE-2026-90038","aliases":["CVE-2026-90038"],"related":[],"kind":"vulnerability","state":"published","title":"NFSD: Prevent client use-after-free during export state revocation","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: Prevent client use-after-free during export state revocation\n\nnfsd4_revoke_export_states() has the same use-after-free as\nnfsd4_revoke_states(): it drops nn->client_lock across\nrevoke_one_stid() and the following read of clp->cl_minorversion, but\nthe stateid reference it holds does not pin the client.  A teardown\nracing the dropped lock can free the client while revoke_one_stid()\nstill dereferences it.\n\nexportfs -u drives this path through NFSD_CMD_UNLOCK_EXPORT, so an\nadministrator removing an export can race a client expiry.\n\nSkip a client that is already expiring and otherwise pin it with\ncl_rpc_users under client_lock before dropping the lock, matching\nnfsd4_revoke_states().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: Prevent client use-after-free during export state revocation\n\nnfsd4_revoke_export_states() has the same use-after-free as\nnfsd4_revoke_states(): it drops nn->client_lock across\nrevoke_one_stid() and the following read of clp->cl_minorversion, but\nthe stateid reference it holds does not pin the client.  A teardown\nracing the dropped lock can free the client while revoke_one_stid()\nstill dereferences it.\n\nexportfs -u drives this path through NFSD_CMD_UNLOCK_EXPORT, so an\nadministrator removing an export can race a client expiry.\n\nSkip a client that is already expiring and otherwise pin it with\ncl_rpc_users under client_lock before dropping the lock, matching\nnfsd4_revoke_states().","source":"cvelist"}],"published":"2026-09-16T10:33:37.366Z","modified":"2026-10-19T09:18:52.043Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"2eac189bb059d31a29937b29ee0f477394198610","fixed":"c05ae58fe06ce2ac34312f649e71c3596bdde358","status":"affected"},{"type":"git","introduced":"2eac189bb059d31a29937b29ee0f477394198610","fixed":"2108de53568a64936a0da3e04d85c35df98d3fb6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.2","status":"unaffected"},{"type":"semver","introduced":"7.2.5","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/c05ae58fe06ce2ac34312f649e71c3596bdde358","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2108de53568a64936a0da3e04d85c35df98d3fb6","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90038","url":"https://www.cve.org/CVERecord?id=CVE-2026-90038","licence":"CVE Terms of Use","modified":"2026-10-19T08:56:55.673Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90038","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90038","licence":"Public domain","modified":"2026-10-19T09:18:52.043Z"}],"updatedAt":"2026-11-25T22:59:39.022Z","epss":{"score":0.00419,"percentile":0.38154,"date":"2026-12-01T12:00:22.000Z"}}