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 8448C3BBFBF for ; Fri, 4 Sep 2026 17:15:29 +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=1788542130; cv=none; b=hU+ia2EHodLkENfQWD7Xc00y6bAFYYZkqg31rf0hrLhP4huTS2DTbNxuhqxorUPyqSrkcVN4+ZLN1/Ht8PzSoa+Km3dOH6eyXygNtK2bGIjcq9cb9FDs/h/L4ypXMnkUDl2axXEbgGU2o1X2hB9X4yruUP5gtN0m93o0xLnZo/k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788542130; c=relaxed/simple; bh=1YR6TvUXxuKiZndrdnvKl3fW3/T2RczZFYdEbPg5A+E=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kkvBOwzYLhYsFbkbtuzXmhPTp8DmCh462gDVNp/FiIQgo6MxkEcGJEU5UmcX53DPIhzlnNj9MpAM+yCGQN77+CvyCupS7m10MaRvVizrUHbO1aFLVB32oDN4QOWjACsNOSsWSTLt6uiJg0lJQ9SVIRKARjhikL7Ir0MqHapWnXc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TrF74oRp; 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="TrF74oRp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 808991F00A3D; Fri, 4 Sep 2026 17:15:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1788542129; bh=VeY1/WKL9X/RhNbV2QtOgc02g2E02JyNkq2urFCqzHU=; h=From:To:Cc:Subject:Date:Reply-To; b=TrF74oRpMK3TciVxuqHa859eM/HSfHaD8tvxh/5CA0oHDlmVqg+2Flfbc56FfobSL dFSmvRKUDACFrwnVgMjajdB/Y/mvHACggwS6Fd07lSKMX7G98fJKa9utQ/wdNX8o+A V8rVXzRBGp7xqfQq7ewsaJIa1+sCqdd/Qx11zXlc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80897: netfs: release readahead folios on iterator preparation failure Date: Fri, 4 Sep 2026 19:09:38 +0200 Message-ID: <2026090431-CVE-2026-80897-17e9@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=2350; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Uvm+E3P89+NdOvuH8Ny+w5909Hsdb1AoQ1rUmtbuAes=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmzfnv/n738VfCHqme863QXZexYxzBPK+PC/EmnuLNOT /ou1DL/WEcsC4MgE4OsmCLLl208R/dXHFL0MrQ9DTOHlQlkCAMXpwBMJH0Xw4K2BwvXhf7dWnvo seYjzYS6+Ln/NVYyzLP/Mj+KQ2R9n0Sg6RRZt/YVGsyGHAA= 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: netfs: release readahead folios on iterator preparation failure netfs_prepare_read_iterator() batches readahead folios in put_batch so that the folio references can be dropped after the I/O iterator has been prepared. If rolling_buffer_load_from_ra() fails after earlier folios have been batched, the function returns immediately and leaves those references held. Release the batch before returning the error. The Linux kernel CVE team has assigned CVE-2026-80897 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit 06fa229ceb36898e68022b5654c017d2c6582d7d and fixed in 6.18.44 with commit 2c148a31ca01fc160aceec777bbc0041b0d0b8bd Issue introduced in 6.14 with commit 06fa229ceb36898e68022b5654c017d2c6582d7d and fixed in 7.1.8 with commit 935e7b74bb2368f215cf8c2ad4bff60ee4e7589e Issue introduced in 6.14 with commit 06fa229ceb36898e68022b5654c017d2c6582d7d and fixed in 7.2 with commit 87eb3d272dcbcbbfe5c1576c10e5dc72810cf1f6 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-80897 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/netfs/buffered_read.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/2c148a31ca01fc160aceec777bbc0041b0d0b8bd https://git.kernel.org/stable/c/935e7b74bb2368f215cf8c2ad4bff60ee4e7589e https://git.kernel.org/stable/c/87eb3d272dcbcbbfe5c1576c10e5dc72810cf1f6