Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794823229; b=Q/LN9Yi3XUbRk2L3E2usoZx0/duxfoc6TEqehux3cPdX1LhFdYAP1ytDqQ+modtmui+0 Xmjn9Kgezy7YIC188zi10Xom18cgS118Qr6whq8mYbvtsLhhUt6MKx0ZST4Y8mFGHQfWn Yi1OEv2eklJesW3y7Xk4y/0TISPygD9zklvFg4Ua5zRwlKe2qEcgnef/UpExdUvwNBpzp MR0Uf/r3cXelcVFAlJPjz6fxs4qgHfoIdXnOvISqPqI5DSF/T+Wi+9aIkQp6rhStM2pFv k4IuQap0ilDCidg40+OKE5d6WTyvAmGTPXkrAHcLMvmf/t5f88Qa/gST5UUGUvsOckg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794823229; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=OihuOMwDJnluvIxGtAULpx+1lHf4ngEH4yqFcHX9sA8=; b=yiEqWtL/q7+xzkQP1kuQnDkaEgK7BujAWMcInQYba8q2FMKUohmEor3BJjLHQPAXl5ra uQxwHh0fTUo0zZqu49EdBYJyy9qJUe4g1nw/PtczeOwQsgk9BwP96Q0CB5JdvZytM7nBX bk717LA+yu6lWBWTkzEHhgLrSdRNtW4lCYsBeGx5CFNGRAt3lYTycdQX5YnoYDvC/WN5V JZTpAOLD7yjwFaC0Oa+XnMnYzlSqW2jM5fWXixMN/qiYWyRhZcLVAH39J6awy1a3R3BMT Wtd1DDlUarIP3tjaH7ROXLkBTrlQ+IpWaB+ZfoREHNpgFfFLRwP0w6ogGVfll13m6Qg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=HQbrY6Z4; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BCEEE606A323 for ; Mon, 16 Nov 2026 10:00:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=HQbrY6Z4 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B288D1F000C4; Mon, 16 Nov 2026 10:00:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1794823229; bh=OihuOMwDJnluvIxGtAULpx+1lHf4ngEH4yqFcHX9sA8=; h=From:To:Cc:Subject:Date:Reply-To; b=HQbrY6Z4dR8i2Q0ssgjHauq36Tl53fciUmpzvT72GCGYan8QNBNDjUkQirMHZ/3QZ 8o3zeiyzBNTk0ZC1JD8u3MbDjcSYzpZlFZ+T0lbVvfvVnfpkpmVlQn2Rc9bUadzbq1 oz3/XBa2+LW00Ag3AY7zNdesrKYTgSXe2HjoOJpo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99310: nfsd: hold cl_lock in client_has_openowners() Date: Mon, 16 Nov 2026 10:59:59 +0100 Message-ID: <2026111642-CVE-2026-99310-3af7@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2741; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=POllgAtJLz/BseAib+j33ZI2MuDcaIdcOanIDeFh8+U=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm/rvB9Ypm8uF9NZdbxDFnhJKVOvaKE5ewy+fe+NP5zs Fe2TzzUEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABN5dZ5hwZRCW7tnXsybj314 uyr2nKfNbaGGfwzzA3f2nyrUandVlro095bFslsJjwKWAgA= 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: hold cl_lock in client_has_openowners() client_has_openowners() walks clp->cl_openowners and reads so_stateids without clp->cl_lock. nfs4_put_stateowner() unhashes that openowner under cl_lock and then frees it, so a concurrent EXCHANGE_ID with mismatched creds can use-after-free the nfs4_openowner. BUG: KASAN: slab-use-after-free in client_has_state+0x10a/0x140 fs/nfsd/nfs4state.c:3718 client_has_openowners() nfsd4_exchange_id nfsd4_proc_compound nfsd_dispatch svc_process Take clp->cl_lock while client_has_openowners() walks the openowner list. The Linux kernel CVE team has assigned CVE-2026-99310 to this issue. Affected and fixed versions =========================== Issue introduced in 4.4 with commit 4eaea13425078272895ec37814c6878d78b8db9f and fixed in 6.12.117 with commit 202b7a6c462daa55a9f4b01f0a25eca2b8d5f2e3 Issue introduced in 4.4 with commit 4eaea13425078272895ec37814c6878d78b8db9f and fixed in 6.18.61 with commit 540649cb8543472f6edfe9ae8b42c04aa3bd67e9 Issue introduced in 4.4 with commit 4eaea13425078272895ec37814c6878d78b8db9f and fixed in 7.3.2 with commit a596d1979fcb4e5011d3d48ac4d927f81c9c9cab Issue introduced in 4.4 with commit 4eaea13425078272895ec37814c6878d78b8db9f and fixed in 7.4-rc1 with commit 5336899b5491eaa2ac22c2925d87daab2b140eb3 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-99310 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/202b7a6c462daa55a9f4b01f0a25eca2b8d5f2e3 https://git.kernel.org/stable/c/540649cb8543472f6edfe9ae8b42c04aa3bd67e9 https://git.kernel.org/stable/c/a596d1979fcb4e5011d3d48ac4d927f81c9c9cab https://git.kernel.org/stable/c/5336899b5491eaa2ac22c2925d87daab2b140eb3