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=1795099376; b=mm0vyyiLOKF6YWZw6KEr9kCR0USM8m3jrUAkhwBZ5N34QFBeH5qpEgcJpfn4vE5lDySB sYa0rbREiqnQnfkn07963tEp9xXLvXPtaIr6CTN9s9Y+UHPpJQfEzw7OLVUc8JHEG2LOS vZpw5nUP256Rgsk9aQctwIYkobdfI+fa9y3P38poc+VckSXbcHGNlCguREtKYj6GCjmMm Vt1zmv63RYsARByxeaknGtpjmkcpHbw7+mKqRwB43mcizIyYqdeLIzac5NO8vKIysMqD6 NV6q9H63gt9JIeUqFF9/vE171+sl6Ov1nQNK0enHqavT7nt0/OBOJwHX/ue6AmW2kkQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795099376; 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=851G4oTgf5I56TeexByGnh7bAF52q9+BxLVUkeofj5A=; b=FopisVAPAbZtwXOL5yRR51N4ewXaq9SLuQH60WyF52IFP4DwVhjkgcWm9bgUAeLRdNqD puaUqXB+/u0DeKCFhrdfH29/LoOdBqpmKNX8gelHMyBmc7EZw2JJD9lcAOMeh8l+ToCcQ o7V5GAtjad40uzKlIA9P+r0gMHUa188JP8Y4vLSKs9hSu0eIhu3tgkVy8btXtINnJ1CkS rToWOlFoNMecGQ1Sxn4n6yJxIqlKXAhT+FlJ0JXGTSAhqZV8JTrwn/jfUy8le4UpUWucD H6W8TsuCz8bacG19fGccVFkdeESYajoBRI7iVPtdFqVw75Tl87ngKRbiY3DKPdKn88A== 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=ayKHp4nA; 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 D297D60A380C for ; Thu, 19 Nov 2026 14:42:56 +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=ayKHp4nA Received: by smtp.kernel.org (Postfix) with ESMTPSA id 008BA1F000CD; Thu, 19 Nov 2026 14:42:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795099376; bh=851G4oTgf5I56TeexByGnh7bAF52q9+BxLVUkeofj5A=; h=From:To:Cc:Subject:Date:Reply-To; b=ayKHp4nAig6zhJtucZFSLCdlwVY5ivhyUKw1dB/2jqUw1+P1Ix6wYPvomKYF7UKB9 wVfbxd6S/KewVl+hKnLlJGZy7RlzGrimE77WXlH4RLsUL1+bXo5wklV0PNHMVM2rVb 731cT8s1N7DC+ndDWCkj4vBr5nJZKG/RHXOozAyw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99370: NFSD: copy SETXATTR data from all XDR buffer segments Date: Thu, 19 Nov 2026 15:24:28 +0100 Message-ID: <2026111951-CVE-2026-99370-d833@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=2868; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=EG9EuBe5dibMoBxBh4NkxYVdyHT9eee6bEBAStUF7nI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2cp51J8FnLqVM0c36kJ9MOchfpEb2ypKP9jPnFBRv 9Xm29l7HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRWy4Mc7ieK/lPlzYtjbx+ fOcX3X+Nxg23mxlms7ktvd14Kie0dHnV5bWr+v7nl3bPBQA= 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: copy SETXATTR data from all XDR buffer segments nfsd4_vbuf_from_vector() manually copies the head followed by whole pages starting at offset zero. This assumes that all remaining data starts at the beginning of the page array and that no data is stored in the tail. However, nfsd4_decode_setxattr() passes an xdr_buf returned by xdr_stream_subsegment(). Such a sub-buffer can have a nonzero page_base and can span its page and tail segments. Ignoring that layout can copy the wrong bytes into the value passed to vfs_setxattr(). Use read_bytes_from_xdr_buf(), which observes the complete xdr_buf layout. The Linux kernel CVE team has assigned CVE-2026-99370 to this issue. Affected and fixed versions =========================== Issue introduced in 5.11 with commit c1346a1216ab5cb04a265380ac9035d91b16b6d5 and fixed in 6.12.117 with commit 019cf7e0eebf6dc14b465cc984390b41c854da69 Issue introduced in 5.11 with commit c1346a1216ab5cb04a265380ac9035d91b16b6d5 and fixed in 6.18.61 with commit 20b76bdbd029343ea98944cb88bf016da2371739 Issue introduced in 5.11 with commit c1346a1216ab5cb04a265380ac9035d91b16b6d5 and fixed in 7.3.2 with commit fea77ec4a37614cbbe4fb26c621227182439f487 Issue introduced in 5.11 with commit c1346a1216ab5cb04a265380ac9035d91b16b6d5 and fixed in 7.4-rc1 with commit b01319947c69b0e3ea0fcd4b675eb892f9cad8a0 Issue introduced in 5.10.220 with commit bbb0a710a2c7a0b171e7a0d6fbdd6d5a2acd003b 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-99370 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/nfs4xdr.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/019cf7e0eebf6dc14b465cc984390b41c854da69 https://git.kernel.org/stable/c/20b76bdbd029343ea98944cb88bf016da2371739 https://git.kernel.org/stable/c/fea77ec4a37614cbbe4fb26c621227182439f487 https://git.kernel.org/stable/c/b01319947c69b0e3ea0fcd4b675eb892f9cad8a0