{"api_version":"1","generated_at":"2026-09-11T22:05:31+00:00","cve":"CVE-2026-89684","urls":{"html":"https://cve.report/CVE-2026-89684","api":"https://cve.report/api/cve/CVE-2026-89684.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-89684","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-89684"},"summary":{"title":"nfsd: fix cpntf publish race in nfs4_init_cp_state","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: fix cpntf publish race in nfs4_init_cp_state\n\nnfs4_alloc_init_cpntf_state() published the new cpntf entry into the\ns2s_cp_stateids IDR (with cs_type set) in one s2s_cp_lock section, then\ntook the lock again to list_add() it onto p_stid->sc_cp_list. In the gap\nthe entry is reachable by so_id but cp_list is still {NULL,NULL} from\nkzalloc. A racing OFFLOAD_CANCEL (so_id is echoed to the client as\ncnr_stateid, so any NFSv4.2 client can drive it) reaches\nmanage_cpntf_state() -> _free_cpntf_state_locked() and does list_del() on\nthe zeroed list_head, oopsing the server.\n\nFold the cs_type assignment and the list_add() into the same critical\nsection as idr_alloc_cyclic(), so a concurrent lookup either misses the\nentry or sees a fully linked cp_list. INIT_LIST_HEAD() the entry after\nallocation and switch _free_cpntf_state_locked() to list_del_init() so a\nstale unlink is a no-op. nfs4_init_copy_state() passes NULL p_stid and\nskips the list_add, preserving NFS4_COPY_STID semantics.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-11 20:19:55","updated_at":"2026-09-11 20:19:55"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/be3a5c1d857b0dcbc11796cea603ef25834f75b2","name":"https://git.kernel.org/stable/c/be3a5c1d857b0dcbc11796cea603ef25834f75b2","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c7270f62e7a05a2ee68aa2b74262b658a14463bd","name":"https://git.kernel.org/stable/c/c7270f62e7a05a2ee68aa2b74262b658a14463bd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/21d6c5957f5ca97d7352e60f55ea412beb9419f5","name":"https://git.kernel.org/stable/c/21d6c5957f5ca97d7352e60f55ea412beb9419f5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a631a26a8777bb235eabd478bbbaf26a4db750bf","name":"https://git.kernel.org/stable/c/a631a26a8777bb235eabd478bbbaf26a4db750bf","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-89684","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89684","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 624322f1adc58acd0b69f77a6ddc764207e97241 21d6c5957f5ca97d7352e60f55ea412beb9419f5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 624322f1adc58acd0b69f77a6ddc764207e97241 a631a26a8777bb235eabd478bbbaf26a4db750bf git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 624322f1adc58acd0b69f77a6ddc764207e97241 c7270f62e7a05a2ee68aa2b74262b658a14463bd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 624322f1adc58acd0b69f77a6ddc764207e97241 be3a5c1d857b0dcbc11796cea603ef25834f75b2 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.6","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.6 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.109 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.50 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.4 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/nfsd/nfs4state.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"21d6c5957f5ca97d7352e60f55ea412beb9419f5","status":"affected","version":"624322f1adc58acd0b69f77a6ddc764207e97241","versionType":"git"},{"lessThan":"a631a26a8777bb235eabd478bbbaf26a4db750bf","status":"affected","version":"624322f1adc58acd0b69f77a6ddc764207e97241","versionType":"git"},{"lessThan":"c7270f62e7a05a2ee68aa2b74262b658a14463bd","status":"affected","version":"624322f1adc58acd0b69f77a6ddc764207e97241","versionType":"git"},{"lessThan":"be3a5c1d857b0dcbc11796cea603ef25834f75b2","status":"affected","version":"624322f1adc58acd0b69f77a6ddc764207e97241","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/nfsd/nfs4state.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.6"},{"lessThan":"5.6","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.109","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.50","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.109","versionStartIncluding":"5.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.50","versionStartIncluding":"5.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.4","versionStartIncluding":"5.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc1","versionStartIncluding":"5.6","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: fix cpntf publish race in nfs4_init_cp_state\n\nnfs4_alloc_init_cpntf_state() published the new cpntf entry into the\ns2s_cp_stateids IDR (with cs_type set) in one s2s_cp_lock section, then\ntook the lock again to list_add() it onto p_stid->sc_cp_list. In the gap\nthe entry is reachable by so_id but cp_list is still {NULL,NULL} from\nkzalloc. A racing OFFLOAD_CANCEL (so_id is echoed to the client as\ncnr_stateid, so any NFSv4.2 client can drive it) reaches\nmanage_cpntf_state() -> _free_cpntf_state_locked() and does list_del() on\nthe zeroed list_head, oopsing the server.\n\nFold the cs_type assignment and the list_add() into the same critical\nsection as idr_alloc_cyclic(), so a concurrent lookup either misses the\nentry or sees a fully linked cp_list. INIT_LIST_HEAD() the entry after\nallocation and switch _free_cpntf_state_locked() to list_del_init() so a\nstale unlink is a no-op. nfs4_init_copy_state() passes NULL p_stid and\nskips the list_add, preserving NFS4_COPY_STID semantics."}],"providerMetadata":{"dateUpdated":"2026-09-11T19:46:06.374Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/21d6c5957f5ca97d7352e60f55ea412beb9419f5"},{"url":"https://git.kernel.org/stable/c/a631a26a8777bb235eabd478bbbaf26a4db750bf"},{"url":"https://git.kernel.org/stable/c/c7270f62e7a05a2ee68aa2b74262b658a14463bd"},{"url":"https://git.kernel.org/stable/c/be3a5c1d857b0dcbc11796cea603ef25834f75b2"}],"title":"nfsd: fix cpntf publish race in nfs4_init_cp_state","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-89684","datePublished":"2026-09-11T19:46:06.374Z","dateReserved":"2026-09-11T19:38:34.748Z","dateUpdated":"2026-09-11T19:46:06.374Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-11 20:19:55","lastModifiedDate":"2026-09-11 20:19:55","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"89684","Ordinal":"1","Title":"nfsd: fix cpntf publish race in nfs4_init_cp_state","CVE":"CVE-2026-89684","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"89684","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: fix cpntf publish race in nfs4_init_cp_state\n\nnfs4_alloc_init_cpntf_state() published the new cpntf entry into the\ns2s_cp_stateids IDR (with cs_type set) in one s2s_cp_lock section, then\ntook the lock again to list_add() it onto p_stid->sc_cp_list. In the gap\nthe entry is reachable by so_id but cp_list is still {NULL,NULL} from\nkzalloc. A racing OFFLOAD_CANCEL (so_id is echoed to the client as\ncnr_stateid, so any NFSv4.2 client can drive it) reaches\nmanage_cpntf_state() -> _free_cpntf_state_locked() and does list_del() on\nthe zeroed list_head, oopsing the server.\n\nFold the cs_type assignment and the list_add() into the same critical\nsection as idr_alloc_cyclic(), so a concurrent lookup either misses the\nentry or sees a fully linked cp_list. INIT_LIST_HEAD() the entry after\nallocation and switch _free_cpntf_state_locked() to list_del_init() so a\nstale unlink is a no-op. nfs4_init_copy_state() passes NULL p_stid and\nskips the list_add, preserving NFS4_COPY_STID semantics.","Type":"Description","Title":"nfsd: fix cpntf publish race in nfs4_init_cp_state"}]}}}