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=1795098972; b=mhQbzRjoEuiKV1nHkLY8G21Q3+hWVVRdKpK7C8uGaLHRL06Zwd1Km74Biko1L6CoaJFM x0dv5GlgTMmufzWindLINer3iYUK1AORgGwjGU/EMjRZadHNDvRXxF6vu+UnUoJS6Wvfj zbxHYUQStWjKPlWrwc9hfKVcua54fHlvGeec7/nah07XED+1BVGjRHsZ/VyMrLf4Oc6br d9GIJruBu/hfTTgv29jgMpShvhLNzu8iEDAbU+KsZuFbozOq4KP4UM4btcxO17OHkIR+s Px1Z7GSAOFOMloobcYLZqD35fHK97Qrk50e8zkl6O8vpthRogoLGSiUZul94ecnJwbg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795098972; 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=7X1VYFUiaKckEgyLH0BEqYkeRI4YAY58KNUa+pHPsFk=; b=tiKtD9Q+Mw6lfOU8GuyyTEAbsdfa0k5uhN4xcsD2bBsjPyyKR1VgK0kTzT6JROei0tbY 0/6wHR8qWcJqI6dOp0jHpzXWqteeGMOkF7YZD9I8n1LAfnG0GyjATp4kcPbP4vI25vjyV 4G0FOgxEahKx/i+ZTCkHfsTRtllWKAnVbyreTgDx5rugthLVzalmPGTCTaTmZScz1TvYm LozQ4PFmIh23JCAGxWhsI1wNqZTABtLEphJ8T2f2p/fOAVHZRB3+Cjk6TroqlI32+/vK8 PX8EYt1ngOyKoEr/0Wor8+CiOr0OGHS6YrS4FEu7g62lILPEC06h3+1YKv2PTHxtAvQ== 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=C7X36rP0; 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 1BB2E606A32A for ; Thu, 19 Nov 2026 14:36:11 +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=C7X36rP0 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E1C061F000C7; Thu, 19 Nov 2026 14:36:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795098971; bh=7X1VYFUiaKckEgyLH0BEqYkeRI4YAY58KNUa+pHPsFk=; h=From:To:Cc:Subject:Date:Reply-To; b=C7X36rP0Ynuq7+2zyvIUrgSeqBnoF69jDAoTUqWIg1GInCkXLeS+ZgHDoYMGKabdz pOuNQS6Ris6G/feJkqsdsHZA/56tZvYC0LqBPG8LhkEgIoB3itmBf6TEPZzxBiYi5m Y1SiZEx6KdmytWfh+xih/IwinZ33bowF/9jSosns= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99354: sunrpc: pin gss module across auth_domain RCU free Date: Thu, 19 Nov 2026 15:24:12 +0100 Message-ID: <2026111948-CVE-2026-99354-3d87@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=3696; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ddBkkOgf1OifZRDJLr+Ovt/DCFpyakokwB3Gq0x6Wh0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2Uoe37339vW5Xs0Tu84bRhiaiCw/xmBbEyJ7QTgyu 7H7cgZPRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExk4xmGmYyNFgKtDbLLDL/1 vn3fb7X/W6KXGMP8ivsWKcESx6UvZju92FOWZa36cq81AA== 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: sunrpc: pin gss module across auth_domain RCU free A gss auth_domain stores a raw pointer to svcauthops_gss in dom->flavour, and its release queues svcauth_gss_domain_release_rcu() via call_rcu(). Both live in auth_rpcgss.ko text, and nothing pins the module while a domain referencing it is reachable. rmmod auth_rpcgss can therefore unmap that text while an NFSD export still holds a reference to the domain. The export cache is one such holder. When the export is finally released, the domain reference drops from module text: svc_export_put() auth_domain_put(exp->ex_client) auth_domain_release() dom->flavour->domain_release(dom) /* into module text */ svcauth_gss_domain_release() call_rcu(&dom->rcu_head, svcauth_gss_domain_release_rcu) Once auth_rpcgss is unloaded, the domain_release call lands in unmapped memory. The rcu_barrier() in exit_rpcsec_gss() does not help: it waits only for callbacks already queued, and this one is not queued until the export goes away. NFSD's NFSv4 objects import symbols from auth_rpcgss.ko, so only a server built without CONFIG_NFSD_V4 can unload auth_rpcgss while exports still name a gss domain. Take a module reference in svcauth_gss_register_pseudoflavor() before publishing the domain and drop it at the end of svcauth_gss_domain_release_rcu(). The rcu_barrier() then holds the module image until this callback has returned. [ cel: rewrote description ] The Linux kernel CVE team has assigned CVE-2026-99354 to this issue. Affected and fixed versions =========================== Issue introduced in 4.20 with commit 608a0ab2f54ab0e301ad76a41aad979ea0d02670 and fixed in 6.12.117 with commit 0cbdbf26c456ef6ad1260dbd1b772239ce7bd071 Issue introduced in 4.20 with commit 608a0ab2f54ab0e301ad76a41aad979ea0d02670 and fixed in 6.18.61 with commit f735700c06303335067a49ad4ad8f0b60eb43897 Issue introduced in 4.20 with commit 608a0ab2f54ab0e301ad76a41aad979ea0d02670 and fixed in 7.3.2 with commit 1c582f719010b5ff9f678cf8307594be0570831b Issue introduced in 4.20 with commit 608a0ab2f54ab0e301ad76a41aad979ea0d02670 and fixed in 7.4-rc1 with commit b64d21116374688c33302a6704387c27d1156d72 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-99354 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: net/sunrpc/auth_gss/svcauth_gss.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/0cbdbf26c456ef6ad1260dbd1b772239ce7bd071 https://git.kernel.org/stable/c/f735700c06303335067a49ad4ad8f0b60eb43897 https://git.kernel.org/stable/c/1c582f719010b5ff9f678cf8307594be0570831b https://git.kernel.org/stable/c/b64d21116374688c33302a6704387c27d1156d72