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=1795099145; b=xDpWjOq+qY7IPsJDNu1njWYHeq7BzwQAgJl04X0luAAvjiu53FmUzv6qRGaFS8vJmCd6 Pcrd+AjaY8Kob8vaRiKuuSzgq9wE1/V+luhoMY0CgQ40WZt9XeYUgXMG3lLBEpQo0GMm5 n5ULGkcHDL6dOSgcVflD9o2RLv3Nvwy6Hd0geX6gIiJ0WpTexLnn1PX2V68mzRrq4krAk R15xAhfeZVDe5o6599K6VUq+WTc09GZHTlsHoG7Q5p2A56OKHfgYxb40OVJap3y/u8+Pq Itw9flqyukUUAa2/kv1KXih7aXFkSnm1080UfcscjV9iHwsN94kvuNou7NUFtrdIoQQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795099145; 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=zX8podKa6gy4lqCg6RU+6cPLXph6wTsUq+h5/UhIqik=; b=psukPDEeAS/fAr2VERlgX/T0+MEU4sJ6VOREO+AW9RR4BZiqcxf/68MrzxYCrdQV3md3 EojBAcLgz4YgkXjrobipMI6u8TIUKMRYowv1oGZflEE/vlV/9v6xzLuK1+J1AG02BlUO0 lWRXmAv8n0pR4+CnSL/7bVBztpexuK+aIltv12W/Zr1fo9ZTtc32ScCYPmr6YVmpWAa00 N7Hj0D93F58JRguF50Mg/VkvXm9OiNn4WU2dx+gux0r9ZSCJimqvxxI/H+YQyGRduRdjC U68mCGdyJM8qbHRcGRXHsnMvt/DQ60QBZuFbtyV5i9JW8h7q0satrv9Q3aV9LHibQ6w== 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=AtDyZrD6; 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 06190606A326 for ; Thu, 19 Nov 2026 14:39:05 +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=AtDyZrD6 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DF2541F000C4; Thu, 19 Nov 2026 14:39:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795099144; bh=zX8podKa6gy4lqCg6RU+6cPLXph6wTsUq+h5/UhIqik=; h=From:To:Cc:Subject:Date:Reply-To; b=AtDyZrD6lQ237uAp9uxpJ5JD+i+bXeXihXyBl3FZCX2TwsV5R0MKljknsRRpvNNBk dDVcMPBK9s+H+hJOyHLQgVGrS8edLd1MxdlqIslgFankPigODDZcHqBDrKWpUskGZT ArfhkdcC20EwP8aRUTNEtm1YDwVxEPqoDSPo18Q4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99376: NFSv4/pnfs: Free the netid when draining a data-server address list Date: Thu, 19 Nov 2026 15:24:34 +0100 Message-ID: <2026111952-CVE-2026-99376-ebc0@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=2913; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=8QajJB+kmdJbskAPa4wCyTCYTWBMeUm9XDApikN6jvM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2Sq8FuX8auoVOFqyzu7GUz5XXs4PLmfSXR56XJPYe GfvOtb5HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRqTUM88PjmaMS+pZ83fjh ubfw3R0Fb1LVrRnmFy2qaLNiPVR/7Y9Eyr2ZOr4rC+cbAgA= 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: NFSv4/pnfs: Free the netid when draining a data-server address list nfs4_pnfs_ds_addr_free() releases all three of an address entry's allocations, but the four sites that drain a decoded list before it reaches a data server open-code the loop and free only da_remotestr and the entry, leaking da_netid. Both layout drivers drain that list when nfs4_pnfs_ds_add() returned a data server already in the cache, and again on their error exits. Lift the drain into nfs4_pnfs_ds_addr_list_free() so an address list has one owner. A striping mount reaches the cached case on nearly every GETDEVICEINFO, since many deviceIDs name the same data servers. The Linux kernel CVE team has assigned CVE-2026-99376 to this issue. Affected and fixed versions =========================== Issue introduced in 5.11 with commit 4be78d26810bc506769773ca2f81b4de65f43fd5 and fixed in 6.12.118 with commit 3c964cb0527bd58f46cb3965e4c78033d892683b Issue introduced in 5.11 with commit 4be78d26810bc506769773ca2f81b4de65f43fd5 and fixed in 6.18.61 with commit cf4c0b3acb1d0600acc39ecb2f3b22647ac6ddb1 Issue introduced in 5.11 with commit 4be78d26810bc506769773ca2f81b4de65f43fd5 and fixed in 7.3.2 with commit fde95d71af2c3a3efac0cd4a09f7082e3d1d7805 Issue introduced in 5.11 with commit 4be78d26810bc506769773ca2f81b4de65f43fd5 and fixed in 7.4-rc1 with commit a7c8e96d1b9fa327cbdea514d047c8295b28d49a 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-99376 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/nfs/filelayout/filelayoutdev.c fs/nfs/flexfilelayout/flexfilelayoutdev.c fs/nfs/pnfs.h fs/nfs/pnfs_nfs.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/3c964cb0527bd58f46cb3965e4c78033d892683b https://git.kernel.org/stable/c/cf4c0b3acb1d0600acc39ecb2f3b22647ac6ddb1 https://git.kernel.org/stable/c/fde95d71af2c3a3efac0cd4a09f7082e3d1d7805 https://git.kernel.org/stable/c/a7c8e96d1b9fa327cbdea514d047c8295b28d49a