{"id":"CVE-2026-89658","summary":"NFSD: Prevent client use-after-free during NFSv4.0 revoked-state cleanup","details":"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-\u003ecl_lock, drops nn-\u003eclient_lock, and calls\nnfsd4_drop_revoked_stid(), which dereferences the stateid's client\nthrough s-\u003esc_client-\u003ecl_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/\u003cid\u003e/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().","modified":"2026-09-13T03:46:44.710447244Z","published":"2026-09-11T19:45:46.857Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89658.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0ae0d2b5c5a1b39c0b3c15d96b32a5b0c583d519"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7b4f8a1586c42d3afc3c0ac779af2db7ab1a5c55"},{"type":"WEB","url":"https://git.kernel.org/stable/c/81cf7f1413862f87b078920c838460a6a88aa030"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b413ec5b23e3445dc9c4f273116078e2d4747626"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89658.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89658"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d688d8585e6bea5e4e37f7497feea93b6b0a469c"},{"fixed":"0ae0d2b5c5a1b39c0b3c15d96b32a5b0c583d519"},{"fixed":"b413ec5b23e3445dc9c4f273116078e2d4747626"},{"fixed":"81cf7f1413862f87b078920c838460a6a88aa030"},{"fixed":"7b4f8a1586c42d3afc3c0ac779af2db7ab1a5c55"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89658.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.9.0"},{"fixed":"6.12.109"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.50"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89658.json"}}],"schema_version":"1.9.0"}