Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E249A4B7A21 for ; Thu, 17 Sep 2026 16:14:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789661693; cv=none; b=FsbKuTpq2vUOX/Q73sg7EK6fJYXc2mYAth1lgaHfO09LNBzaU+YjJ/mG1bPtg+R6vdDaWSCFpu/c0VgEjeA8ZS67ZivIpYJvxk0S3iOlGrg+nfqWOc00m3zhFQMkTCUM3bCJE3H5WQQVCyFDH2vAuJNlZWeacq2VkzyoZs+wjJ0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789661693; c=relaxed/simple; bh=LyyEJ0LgbTSsjT6Ay0GWHFeYeZCQbqxokNhgQIxFJYY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=l5S/o3gVCEPNfokwxATwCXUSD8QWKLkqildbNHX3DFiisL3yiw7LLdU4ugvQWddw4QhLlWjYyW3JiR9l1VEAnnrxh/Qs2emRcY8aWGOadB1g8/PXbHtkNnABFum7NCv9Y9NVHI/xNG2zPpnL3//SwKYFBs/R4ETf6aGRiX0r0sQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=NsJ+ssbf; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="NsJ+ssbf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 25C6C1F00893; Thu, 17 Sep 2026 16:14:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789661687; bh=xIKhcOIJyVfErI1iXtUl04K0UhL+vQpOucLYR6UYkvg=; h=From:To:Cc:Subject:Date:Reply-To; b=NsJ+ssbf9cM1y6oTJRd7yx63QecotOAFTJHvaTr/0K4Q7KvXWPwK215dRB8DkzF+t aIuCcE31Dayd3BdhO7FJydxdl/6sQWne2941M3h86OoYO6pmbjmRcN0wG2Mhwz3sPW a4lKNGpz1PMiFG4JG9ewAd2l88xl2D49VK5iK52M= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90103: NFSv4.2: fix LAYOUTSTATS send buffer exhaustion Date: Thu, 17 Sep 2026 17:08:53 +0100 Message-ID: <2026091713-CVE-2026-90103-ab93@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4293; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Wl4IH0ybONLDLeQiCy37It0c8EkHefgz3ydp2Hzv7lk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBHI13tUJLI2N99R1tT4bWPI07HTE3+AFuyzuGnT2C mtwcqt3xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwET6zjDMz3N//EXWf4XQofAv c89l3py/UtfyNMMcbu+bjDxFB54JHdziKvLvUc3x6ywHAQ== 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.2: fix LAYOUTSTATS send buffer exhaustion encode_layoutstats_maxsz budgets XDR_QUADLEN(PNFS_LAYOUTSTATS_MAXSIZE), i.e. 256 bytes, for the layoutupdate4 body written by the layout driver. The flexfiles record can exceed that. ff_layout_encode_ff_layoutupdate() emits, per data server, a netaddr4, an nfs_fh4, two ff_io_latency4, an nfstime4 and a bool. A data server whose filehandle is NFS_MAXFHSIZE bytes long already accounts for 132 of those bytes, and the two ff_io_latency4 at 64 bytes each, the nfstime4 and the bool add a further 144, so the body passes 256 bytes before the netaddr4 is encoded at all. encode_layoutstats() additionally writes the deviceid4 and the layoutupdate4 lou_type word, neither of which the macro accounts for. The filehandle and the address are both chosen by the server, through LAYOUTGET and GETDEVICEINFO, so it can drive the encoder past the end of the send buffer. xdr_reserve_space() returns NULL once that happens, and the two ff_layout_encode_io_latency() calls run with dss_info->mirror->lock held, so a NULL return there leaves the lock permanently held. Raise PNFS_LAYOUTSTATS_MAXSIZE to 384 so that the record fits inside the reservation. The Linux kernel CVE team has assigned CVE-2026-90103 to this issue. Affected and fixed versions =========================== Issue introduced in 4.2 with commit 27c430644369ccd9a2272492ba6d0e85e2e4800b and fixed in 5.10.270 with commit 842ac26615424577f24f0486b9d3bf97f28fad9c Issue introduced in 4.2 with commit 27c430644369ccd9a2272492ba6d0e85e2e4800b and fixed in 5.15.221 with commit 397aa7000bbf6b6a0d32e66a544e978fb478c8e4 Issue introduced in 4.2 with commit 27c430644369ccd9a2272492ba6d0e85e2e4800b and fixed in 6.1.188 with commit e82d7d999fe9f893f84bf332fd39cb5d9de7128f Issue introduced in 4.2 with commit 27c430644369ccd9a2272492ba6d0e85e2e4800b and fixed in 6.6.157 with commit 5aca000630c0fd0da102ae1abf9245dd74f2ce36 Issue introduced in 4.2 with commit 27c430644369ccd9a2272492ba6d0e85e2e4800b and fixed in 6.12.110 with commit cb11590c7ddc6883a1b1d70b1f98b2779fe626f2 Issue introduced in 4.2 with commit 27c430644369ccd9a2272492ba6d0e85e2e4800b and fixed in 6.18.52 with commit 3815b894b922e9b4f40b8b6f6d67bf80d44141c9 Issue introduced in 4.2 with commit 27c430644369ccd9a2272492ba6d0e85e2e4800b and fixed in 7.2.6 with commit a973622da0c62c34043ddbbf382cd761b03e5136 Issue introduced in 4.2 with commit 27c430644369ccd9a2272492ba6d0e85e2e4800b and fixed in 7.3-rc1 with commit c75ef2137e749f2673f0617cfdaae53b2bb7195a 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-90103 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: include/linux/nfs_xdr.h 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/842ac26615424577f24f0486b9d3bf97f28fad9c https://git.kernel.org/stable/c/397aa7000bbf6b6a0d32e66a544e978fb478c8e4 https://git.kernel.org/stable/c/e82d7d999fe9f893f84bf332fd39cb5d9de7128f https://git.kernel.org/stable/c/5aca000630c0fd0da102ae1abf9245dd74f2ce36 https://git.kernel.org/stable/c/cb11590c7ddc6883a1b1d70b1f98b2779fe626f2 https://git.kernel.org/stable/c/3815b894b922e9b4f40b8b6f6d67bf80d44141c9 https://git.kernel.org/stable/c/a973622da0c62c34043ddbbf382cd761b03e5136 https://git.kernel.org/stable/c/c75ef2137e749f2673f0617cfdaae53b2bb7195a