{"id":"CVE-2026-89684","published":"2026-09-11T19:46:06Z","modified":"2026-10-19T08:50:57Z","title":"nfsd: fix cpntf publish race in nfs4_init_cp_state","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00501,"percentile":0.43824,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/63e18fc65587fd3f7b4c6d70e96d32fc41d82ba3","tags":[]},{"url":"https://git.kernel.org/stable/c/6ac469a274e3c7d87fc46ba46d83b95009680407","tags":[]},{"url":"https://git.kernel.org/stable/c/8eeca993357a0bc35aaefebfd7462ac7b0a21d9a","tags":[]},{"url":"https://git.kernel.org/stable/c/bfeac42d9074e539bacd1898dd8c14b7f5776620","tags":[]},{"url":"https://git.kernel.org/stable/c/21d6c5957f5ca97d7352e60f55ea412beb9419f5","tags":[]},{"url":"https://git.kernel.org/stable/c/a631a26a8777bb235eabd478bbbaf26a4db750bf","tags":[]},{"url":"https://git.kernel.org/stable/c/c7270f62e7a05a2ee68aa2b74262b658a14463bd","tags":[]},{"url":"https://git.kernel.org/stable/c/be3a5c1d857b0dcbc11796cea603ef25834f75b2","tags":[]}],"priority":{"score":14.0,"factors":[{"name":"EPSS percentile","points":8.76},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 624322f1adc58acd0b69f77a6ddc764207e97241, < 63e18fc65587fd3f7b4c6d70e96d32fc41d82ba3",">= 624322f1adc58acd0b69f77a6ddc764207e97241, < 6ac469a274e3c7d87fc46ba46d83b95009680407",">= 624322f1adc58acd0b69f77a6ddc764207e97241, < 8eeca993357a0bc35aaefebfd7462ac7b0a21d9a",">= 624322f1adc58acd0b69f77a6ddc764207e97241, < bfeac42d9074e539bacd1898dd8c14b7f5776620",">= 624322f1adc58acd0b69f77a6ddc764207e97241, < 21d6c5957f5ca97d7352e60f55ea412beb9419f5",">= 624322f1adc58acd0b69f77a6ddc764207e97241, < a631a26a8777bb235eabd478bbbaf26a4db750bf",">= 624322f1adc58acd0b69f77a6ddc764207e97241, < c7270f62e7a05a2ee68aa2b74262b658a14463bd",">= 624322f1adc58acd0b69f77a6ddc764207e97241, < be3a5c1d857b0dcbc11796cea603ef25834f75b2"]},{"vendor":"Linux","product":"Linux","versions":["5.6"]}],"euvd":{"id":"EUVD-2026-76596","exploited":false,"provenance":"source"}}