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=1795099109; b=yyzXkP3jQ+0QWHLDoIOWF76cjubkM28ebib6MHh+Zsj/T6rBvtt7Tr6M2lN6Ja+jEBjp Mi0NL09XjKRugSvdifxe4UPUPytdvHLroPK5LEcGl4BtcKN8WxTNy7xDmnvNueGhqwe7o uZEYzEU4ahNdrXzRc0ybGF7oY+CCHYeCeSMStcCnhu1YQ8oXrIVGMZH7um/FDWYRQiN6q 5PLXwS5nr1Hi+wKm1wqwteBLaeMSPymox9c6BUetjwFQLznlVAqugGISc2pS8N2TBwHk8 40HVTqx2DBMSyWlcOEcTDIuA3N2STmsD6YZmMEqGTDR9umfqKbyTBtOvnW2VAj9ZA5Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795099109; 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=cuPz1nKzhZH78hFVfx17XJTta4iL0M4TXxAwe+VgXXE=; b=Bf++hH3j6/p6L2c/U/28e6joMG7pdCl75W4J18+Ad+F5/sL8ktPfL9e7v/87XEwNfiW5 ziBU/SiiJRS8jxQoads3WsqNQ4L6F2eAMmhkBArYF4zn30zRLa0mgCl0XgFK4Cpnck+Ly WfASSGFK08rjA1Ot0qgSng57WgTqNrOpqpHhcrZcoE+sl3SFPUp4OKoR76ZkMscYKjWwj 66mS/2sDI4Ua7Ps0/758kWwg28xtqEg7W2Dgl+myvGFflSCmDrxU5Rb5xmEAHRhKIe9On 6h9UgcTjTOO0aI9KNFXEZxDqGO+Jy8fY/jYIKIp2YGsmZWJXh8gEVhxcfJFwosu1cfA== 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=Bz27Vzox; 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 EA7AB606A324 for ; Thu, 19 Nov 2026 14:38:28 +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=Bz27Vzox Received: by smtp.kernel.org (Postfix) with ESMTPSA id C09B61F000CA; Thu, 19 Nov 2026 14:38:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795099108; bh=cuPz1nKzhZH78hFVfx17XJTta4iL0M4TXxAwe+VgXXE=; h=From:To:Cc:Subject:Date:Reply-To; b=Bz27VzoxLQIjGh7OYXwZtJ0v9Yor8eqq/Fqwgc4RKtaWIu/hAf7hdhf98jE57Qgxb BfqaTGMZvaxaftH26r2x/I80OPwcILCagT/AT6ccEGAVv4uHUGLyU9p/v0mF6u8Rx7 vjcpmnNpJuiRGQFyVmiKcdJ34hHHF1zhFpOr3Ku0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99365: nfsd: Fix id-to-name cache entry leak in idtoname_parse() Date: Thu, 19 Nov 2026 15:24:23 +0100 Message-ID: <2026111950-CVE-2026-99365-c6c5@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=2653; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=koDNbtVWTaJFCftCaUuVIjZtJTq84JoDj7W1argAISA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2coeGx62qbjxeztnxG/FKT6XQ9cZH+oyvXR9yxvZ0 O/2xyy/dMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBELr9jWDCt54BUkeziasne w6/PNmlafEpW3MCwYN+h6Ovr5h+9v0F9y3LpL77iE2v0+wA= 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: Fix id-to-name cache entry leak in idtoname_parse() idtoname_lookup() returns the id-to-name cache entry with a new reference. The name is parsed between the lookup and the update call, and when the parsed name is malformed (negative length or longer than IDMAP_NAMESZ), idtoname_parse() jumps to the error label without dropping the reference returned by idtoname_lookup(), leaking the cache entry. Release the reference with cache_put() before taking the error exit. The Linux kernel CVE team has assigned CVE-2026-99365 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.17 with commit f9ecc921b5b5e135050e7f22fef873c249aee3fc and fixed in 6.12.117 with commit c480c7bea087d923f97a0fd88e51943c3a9cb407 Issue introduced in 2.6.17 with commit f9ecc921b5b5e135050e7f22fef873c249aee3fc and fixed in 6.18.61 with commit e48996466d78606890613a950fcddbdaa8fd41e8 Issue introduced in 2.6.17 with commit f9ecc921b5b5e135050e7f22fef873c249aee3fc and fixed in 7.3.2 with commit 24a2a428cb2a95cabdeccd98912b41bc13907065 Issue introduced in 2.6.17 with commit f9ecc921b5b5e135050e7f22fef873c249aee3fc and fixed in 7.4-rc1 with commit 8ca3b74c0c447af17d0e27e76658a3d4cae3c5ba 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-99365 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/nfs4idmap.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/c480c7bea087d923f97a0fd88e51943c3a9cb407 https://git.kernel.org/stable/c/e48996466d78606890613a950fcddbdaa8fd41e8 https://git.kernel.org/stable/c/24a2a428cb2a95cabdeccd98912b41bc13907065 https://git.kernel.org/stable/c/8ca3b74c0c447af17d0e27e76658a3d4cae3c5ba