From mboxrd@z Thu Jan 1 00:00:00 1970 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=1796290143; b=4RiogbGb78/a14nAai49FlegLmB1oAA0XJtcm9EwJVt0ROV5pxpb99T1vomLEBkynCvI +HpbZG1fZZaTFTBOF4BTofjMpyRNrL2RLyU3a+1y1hf3Ik/P4gKDXc7NtiLJDpqoVKpFs 3ZENSrwVfreKi+0uOz3lNAUgx2CsxjAOcKRxuRkBzONzS5FLzEBjcBhX75tQk3AV32DD4 VbJtFv+s/dHdJ9KoytYL+j98mejYYPO04+PdBGtfgAnoh76TatSgD7Bid71j1id+vXJSE Tyvlq1+ZGu3q1wz7jmyLfQabIKOrM6uE8DElsflkDkTMh/vSNNlUfqb1b7rq78qxGQg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796290143; 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=F0bEizDzTNmt5zUVfo4weYKpTbc9zcLeOOTyHUuzZ3I=; b=br1N2D3QF/u+m2cXCd57/OwGgNobMMfKlbKnlwShQt5zQT/KjgWNViO3C6zb+b8emkRt Syd2sm9EQcpAlzS0+AHrk5EMyJzpSdHYaUPDT3QfdmlQa7hCt3wI/dTB9lSe/6VkZw71M bWj7qCoWZD1Kh4xvFw9ZPLQt4KXbIarCCDZP+l9GzzkbuyFuj1DRDtqlCGfyVuoX4Ak1m uWnDS3PJXVBmEtyRwTOIjHaf3pXZabZTKfLpvAKq5vwv06t7GFyOLGPcOtqPZiEhiYN8z Bg4X4jfJfe1eOY9TsfHQp9dE/iYyB8Rj/XPMlRj5FdbazPlSNgDemsYlch6fNm9Xayw== 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=K9uMOvCw; 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 597A8606A32C for ; Thu, 3 Dec 2026 09:29:03 +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=K9uMOvCw Received: by smtp.kernel.org (Postfix) with ESMTPSA id A12961F00893; Thu, 3 Dec 2026 09:29:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796290143; bh=F0bEizDzTNmt5zUVfo4weYKpTbc9zcLeOOTyHUuzZ3I=; h=From:To:Cc:Subject:Date:Reply-To; b=K9uMOvCw/0Iz6d5PAskVj+WVpnXF9IOcvspv0ceizMIOSaE6vCbG6XE7LyzQMp7/V 3OYkOeAbvIYYHqOB7xuwZEDHDKWRAA8n34E9nYn5x10HfADjyYciFsJHQwhdpP1u+1 BoN8dhHDpmK9x/eJMnDjoyN4Qeyk2VEUJkEQlBOw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-143106: fs/splice: clamp an over-reported write_iter result Date: Thu, 3 Dec 2026 10:19:02 +0100 Message-ID: <2026120357-CVE-2026-143106-d1bf@gregkh> X-Mailer: git-send-email 2.56.1 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=3077; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=HCWmDK1nQnlUufRVtisDElgHFAl4N8twZb+JjkUaNF4=; b=owGbwMvMwCRo6H6F97bub03G02pJDNmCxp1TlsrL/r3k8LFy26oP1fPXqWcGla/x/ptuLJik8 m0Nn/27jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIwHGGBf1Ncm090/cdjTJP YNq9Xmzi14qI3wzz096tmJrecKEol7vi0/JLGdWn7hazAwA= 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: fs/splice: clamp an over-reported write_iter result iter_file_splice_write() builds a bvec iterator of at most sd.total_len - left bytes and passes it to ->write_iter(). It then subtracts the returned length from sd.total_len and walks the pipe buffers by that length. A ->write_iter() implementation that reports more bytes than the iterator held makes sd.total_len underflow and the dismissal loop advance pipe->tail past pipe->head, releasing a zeroed pipe buffer: Splice Exceeded! ret=7 tot=1 left=0 Oops: general protection fault RIP: 0010:iter_file_splice_write+0xb6f/0x1170 Commit a3de58b12ce0 ("netfs: Fix unbuffered write error handling") added the warning for this condition but only reports it. Clamp the return value to the size of the iterator that was actually handed to ->write_iter(), so the pipe accounting stays consistent even when a producer violates the iterator contract. The Linux kernel CVE team has assigned CVE-2026-143106 to this issue. Affected and fixed versions =========================== Issue introduced in 3.16 with commit 8d0207652cbe27d1f962050737848e5ad4671958 and fixed in 6.12.120 with commit 4e410d2bd373d13d11d1827156f7b8ba9a246953 Issue introduced in 3.16 with commit 8d0207652cbe27d1f962050737848e5ad4671958 and fixed in 6.18.66 with commit e8a2c6fe88a825fef0ea6ac501309de90adef02f Issue introduced in 3.16 with commit 8d0207652cbe27d1f962050737848e5ad4671958 and fixed in 7.3.7 with commit 730fb5d6fcd6062c3264cc782e5efd05688a91e6 Issue introduced in 3.16 with commit 8d0207652cbe27d1f962050737848e5ad4671958 and fixed in 7.4-rc3 with commit 2d956723e82cddae8ff8e9da99a666217b02065f 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-143106 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/splice.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/4e410d2bd373d13d11d1827156f7b8ba9a246953 https://git.kernel.org/stable/c/e8a2c6fe88a825fef0ea6ac501309de90adef02f https://git.kernel.org/stable/c/730fb5d6fcd6062c3264cc782e5efd05688a91e6 https://git.kernel.org/stable/c/2d956723e82cddae8ff8e9da99a666217b02065f