Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EDFDF5867E5 for ; Fri, 11 Sep 2026 20:01:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156882; cv=none; b=EstU8INU+BTVAQlDeEBY7fVxy7X1jGbUOtv5rMMcBpkBxqBhoQZKsaqAvHtd8CBgYWVtzBIsWr7ZsjhoAhZQ7ik3kljYWQCGTpp3wB10Q9Qn98/cqM3H8LKlPjSkK9QXO0yuzMY1pmIlfkiOFvysg2mjJL0hZs697JolU3JXnDI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156882; c=relaxed/simple; bh=3XBOUYYt7VvWyWN415spQmYUI6mF19EFwXX+18XzRJE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=M47Z4GHLKThT3RKgINIgQKtnqlwP+qgoecdQ0dCTCBvUTkPVmjlphLlyeVr+/+XWaf4dpmiF5wwpUiUWr7yDzJSoc4kD7KuTatHfwjVN4f4Uy3thhfrMjfa3k45Kfyof2kOWMWWFMCof2EtjcdJJiONNGeITVJ4L/GLwlKMczgs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=KxDe3b1e; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="KxDe3b1e" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 247AD1F000FF; Fri, 11 Sep 2026 20:01:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156874; bh=ZiQH1td9SJdVfYgB+PQn8tngf1+bjYibGNOW5zbYnqQ=; h=From:To:Cc:Subject:Date:Reply-To; b=KxDe3b1e0knZ3O4GvSQ2OiEEcqE1HOKpWZ2R5aJTFXXIqUCatv+k5qeEXJg1nf5sk pOm7jTl2IuYAhA5VUnbXIAJByXpXVlPU/35nZmiqlljc74RRoL8+frf0Q828b7wXWV 2rhst4RWuTcEQXNkPKWytnt3CCJzHZM0kLmd6yNs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89660: NFSD: Prevent client use-after-free during admin state revocation Date: Fri, 11 Sep 2026 21:45:49 +0200 Message-ID: <2026091146-CVE-2026-89660-b17f@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2955; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5PsXTYlzJIcVW2NJDeQxxKGmDB1ZVo+8US4/QErGF74=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIqv4pU9OYLq2jW0a34sZqytYI5Jv7/NhX8sfejJ1W 8SaKb3SHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR6OcMC9a9v+W3zPjZvbkq m5L9dTKu7ruuHsWwYP/mshaVrtOP2T5vVv82s8Nlh3ZQFwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: NFSD: Prevent client use-after-free during admin state revocation A stateid holds only a bare pointer to its nfs4_client; a stateid reference does not pin it. The client survives only because __destroy_client() drains its stateids before free_client() runs. nfsd4_revoke_states() drops nn->client_lock across revoke_one_stid(), which dereferences the client to revoke a stateid and read clp->cl_minorversion. A teardown racing the dropped lock can free the client first. Pinning cl_rpc_users under client_lock blocks the DESTROY_CLIENTID and EXCHANGE_ID teardown, which refuses while cl_rpc_users is non-zero. force_expire_client() ignores it: once its wait for cl_rpc_users to reach zero has passed, a later pin goes unnoticed. Under client_lock, skip a client whose cl_time is already zero -- force_expire_client() clears it there before waiting -- otherwise pin cl_rpc_users before dropping the lock. The walk then either sees the expiry and skips, or pins in time for that wait to cover the revoke. The Linux kernel CVE team has assigned CVE-2026-89660 to this issue. Affected and fixed versions =========================== Issue introduced in 6.9 with commit 1c13bf9f2e3cd5a59ef988c6c5a49fe0f02bcdfc and fixed in 6.18.51 with commit 549bd9868e9d77b07ea94870940d64342829c6ad Issue introduced in 6.9 with commit 1c13bf9f2e3cd5a59ef988c6c5a49fe0f02bcdfc and fixed in 7.2.4 with commit bf1f948691523282cc4905bc6cd325e0c0b49e6a Issue introduced in 6.9 with commit 1c13bf9f2e3cd5a59ef988c6c5a49fe0f02bcdfc and fixed in 7.3-rc1 with commit e270e5a0778e5bff852c8862ce9576ce70359393 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-89660 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: fs/nfsd/nfs4state.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/549bd9868e9d77b07ea94870940d64342829c6ad https://git.kernel.org/stable/c/bf1f948691523282cc4905bc6cd325e0c0b49e6a https://git.kernel.org/stable/c/e270e5a0778e5bff852c8862ce9576ce70359393