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=1795099385; b=EANqxSVCuq25Ec7BEEjUfKCZXLcIGv7yAdmI+KO2duG+h6qWYnPOdnyQ6+aHEda8Wuw4 +6d9jMuS5dMWR5tHhpVxGlrTERaY1TQcrPyHAjzIemPYnJGOZzFqYdz0gSknOOx4ITJPl LYjkJrF2jb/Y+I9tb5Kd6Bd4iZxFdaen4iJrAmXKn54ynwj42Q0C94eGfOWu4pcUDEfZI jWz0bcguQF4SesUbXPWDN8DQqBPgc+h5B243uq1zXgbHw9xRW6gyvU2t0FCMDlbWQSrP4 WGg3e1mO0Xu7fXWT1A5i+JlYb2kq2rowIVwaqXP5Cn+HXkqeW3zaF2roe9L3MtD8dvA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795099385; 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=7I7aNePFlNCZFBK2m5wdtd6CcrFjnkKeQOutJ9vTnWQ=; b=aRqE66JL58RvNF+9MRG1DriopTQ6lDdWdD33cUz3ns90WNqUqbItnjHP0A9a8xTKGsh8 j2pDcWBbjomcq2wDF9XddLCbJQ1LSjoGH4VI8UTEJmIS8O+BVy8SaXSNrGQEyNte8jpVx Z40LeQRhRLKThSme4pY9MJWzP52KIE64T6nOPNH1mEdFoqmiOfNlpxofZfaFbfEW5M5X9 yW60Y+q8GKM4ChtzIFejXOQjwCajPJhoDuRqJROnNxlTzIaeOwn0r/ecxl4XKQPgKSKcF s/n/5YtOoCcluQYySX5lT+EPY85B0LxR0Vdit0A9PEerIJl5y2KWGzLYwmM2VOJg12g== 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=X6tQbflB; 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 67ECD60A3823 for ; Thu, 19 Nov 2026 14:43: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=X6tQbflB Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0E5CE1F000CC; Thu, 19 Nov 2026 14:43:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795099385; bh=7I7aNePFlNCZFBK2m5wdtd6CcrFjnkKeQOutJ9vTnWQ=; h=From:To:Cc:Subject:Date:Reply-To; b=X6tQbflB5pjgCIO9FbQ2tg1XQhv3SFGuX2Pttpde9YnxeSYnkr5TJD0KX5urteKt3 ui17JZcPmHw76BqMI5Cvs2pcYNaYz7FeMIV1sKVchklegXknrZL/RrmzUuTHL0jkc6 77GB7a6xuVsgvvoAigS1goubiwZbbFuJbXTlJLqA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99371: nfsd: clear XDR padding in GETXATTR replies Date: Thu, 19 Nov 2026 15:24:29 +0100 Message-ID: <2026111951-CVE-2026-99371-c2b2@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=2783; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=l4qcLKJZW3Wfdaboo5cfRlYLQpMfc9k76pqGC6rNNGo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/2cqzXVi2OCmqFxZPMLsv0hdokHHO6mrkjp3nMtd/Y 7nH0ljWEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABO5u5Rhfk2CuJAKq5W4roGt BiPLB6FTkxk2MMyPWrJ9WtOOU9kzbT/LaH2OVbq+RF8IAA== 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: clear XDR padding in GETXATTR replies nfsd4_vbuf_to_stream() uses a raw memcpy() for the first fragment of an attribute value. xdr_reserve_space() aligns the reservation but does not initialize the extra bytes. If the complete value fits in that fragment, the loop that clears padding for the final fragment is never entered. A remote client reading an attribute whose length is not a multiple of four can therefore receive one to three stale bytes from the response page. Encode the first fragment with xdr_encode_opaque_fixed(), matching the final-fragment path and ensuring that any XDR padding is zeroed. The Linux kernel CVE team has assigned CVE-2026-99371 to this issue. Affected and fixed versions =========================== Issue introduced in 5.9 with commit 23e50fe3a5e6045a573c69d4b0e3d78aa6183323 and fixed in 6.12.117 with commit 842e2215a87d062b69d5170840f34fbd83f47b41 Issue introduced in 5.9 with commit 23e50fe3a5e6045a573c69d4b0e3d78aa6183323 and fixed in 6.18.61 with commit 624531ecd48b96be2a94c964685762960bd11208 Issue introduced in 5.9 with commit 23e50fe3a5e6045a573c69d4b0e3d78aa6183323 and fixed in 7.3.2 with commit 99ab5346b69834587b4ae59d1addea5960b50c8b Issue introduced in 5.9 with commit 23e50fe3a5e6045a573c69d4b0e3d78aa6183323 and fixed in 7.4-rc1 with commit daba58690339ae86f1ebeb5197aa1369fae37e57 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-99371 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/842e2215a87d062b69d5170840f34fbd83f47b41 https://git.kernel.org/stable/c/624531ecd48b96be2a94c964685762960bd11208 https://git.kernel.org/stable/c/99ab5346b69834587b4ae59d1addea5960b50c8b https://git.kernel.org/stable/c/daba58690339ae86f1ebeb5197aa1369fae37e57