{"id":"CVE-2026-89658","aliases":["CVE-2026-89658"],"related":[],"kind":"vulnerability","state":"published","title":"NFSD: Prevent client use-after-free during NFSv4.0 revoked-state cleanup","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: Prevent client use-after-free during NFSv4.0 revoked-state cleanup\n\nnfs40_clean_admin_revoked() takes a stateid reference under\nclp->cl_lock, drops nn->client_lock, and calls\nnfsd4_drop_revoked_stid(), which dereferences the stateid's client\nthrough s->sc_client->cl_lock.  The stateid reference does not pin the\nclient, so a teardown racing the dropped lock can free the client\nwhile nfsd4_drop_revoked_stid() is still using it.\n\nThis cleanup runs from the laundromat, so a periodic sweep can race\nforce_expire_client() driven by a write to the clients/<id>/ctl file.\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 NFSv4.0 revoked-state cleanup\n\nnfs40_clean_admin_revoked() takes a stateid reference under\nclp->cl_lock, drops nn->client_lock, and calls\nnfsd4_drop_revoked_stid(), which dereferences the stateid's client\nthrough s->sc_client->cl_lock.  The stateid reference does not pin the\nclient, so a teardown racing the dropped lock can free the client\nwhile nfsd4_drop_revoked_stid() is still using it.\n\nThis cleanup runs from the laundromat, so a periodic sweep can race\nforce_expire_client() driven by a write to the clients/<id>/ctl file.\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-11T19:45:46.857Z","modified":"2026-10-19T09:18:03.637Z","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":"d688d8585e6bea5e4e37f7497feea93b6b0a469c","fixed":"0ae0d2b5c5a1b39c0b3c15d96b32a5b0c583d519","status":"affected"},{"type":"git","introduced":"d688d8585e6bea5e4e37f7497feea93b6b0a469c","fixed":"b413ec5b23e3445dc9c4f273116078e2d4747626","status":"affected"},{"type":"git","introduced":"d688d8585e6bea5e4e37f7497feea93b6b0a469c","fixed":"81cf7f1413862f87b078920c838460a6a88aa030","status":"affected"},{"type":"git","introduced":"d688d8585e6bea5e4e37f7497feea93b6b0a469c","fixed":"7b4f8a1586c42d3afc3c0ac779af2db7ab1a5c55","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.9","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","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/0ae0d2b5c5a1b39c0b3c15d96b32a5b0c583d519","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b413ec5b23e3445dc9c4f273116078e2d4747626","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/81cf7f1413862f87b078920c838460a6a88aa030","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7b4f8a1586c42d3afc3c0ac779af2db7ab1a5c55","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89658","url":"https://www.cve.org/CVERecord?id=CVE-2026-89658","licence":"CVE Terms of Use","modified":"2026-10-19T08:50:29.852Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89658","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89658","licence":"Public domain","modified":"2026-10-19T09:18:03.637Z"}],"updatedAt":"2026-11-25T22:59:38.102Z","epss":{"score":0.00617,"percentile":0.50933,"date":"2026-12-02T12:00:21.000Z"}}