{"id":"CVE-2026-90038","revision":"8ccadb050886455cb2f07ddddc7ce46f","records":[{"revision":"8ccadb050886455cb2f07ddddc7ce46f","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-90038","aliases":[],"title":"NFSD: Prevent client use-after-free during export state revocation","description":"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().","state":0,"publishedAt":"2026-09-16T10:33:37.366+00:00","modifiedAt":"2026-10-19T08:56:55.673+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/nfsd/nfs4state.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"2eac189bb059d31a29937b29ee0f477394198610\",\n                            \"lessThan\": \"c05ae58fe06ce2ac34312f649e71c3596bdde358\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"2eac189bb059d31a29937b29ee0f477394198610\",\n                            \"lessThan\": \"2108de53568a64936a0da3e04d85c35df98d3fb6\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/nfsd/nfs4state.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"7.2\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"7.2\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.5\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"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,"severity":"CRITICAL"}],"references":["https://git.kernel.org/stable/c/c05ae58fe06ce2ac34312f649e71c3596bdde358","https://git.kernel.org/stable/c/2108de53568a64936a0da3e04d85c35df98d3fb6"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-90038","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-90038","identifiers":["CVE-2026-90038"]},"retained":false,"historicalAffected":[]}],"coverage":[]}