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 DCE693F12E1 for ; Sat, 15 Aug 2026 12:32:16 +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=1786797138; cv=none; b=munDcOG4YG38dHoSDHHEPfsOQjSvzWd95dObMfyktdojWXy8/YCK5ZiuJVlK0RSYEXl6iiXTf8/BreNdDp+tx3eEO36y4+pJvIv0HfKXAGJiXU5hGV1DI99Qq910Uk3wPr2cBfFsrkY78kYzg1mJ3cuSlN7RPoNyGCwro/AwBwE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786797138; c=relaxed/simple; bh=g3N3Y6ku6gVq9dzJRQ2ae+c5vwldyPLf8NDWOk5yPsU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fh1KFQOoiAWiEPNu+B8K8TPvOEmS1INWmswz7Llz1CmmFKXdtsh1MEcjbUXbhvnel/NKTOzyL8CIh8B4HZr7KqhitDTDir0h0ntXDTDl7S66/HHM3SDc8t9mUOJBdAG25d0TYhwBmbmCL8btI7vYX+L6jHM3wkKL2EJcDhshe2o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qBT9J2NL; 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="qBT9J2NL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 285E01F000E9; Sat, 15 Aug 2026 12:32:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786797136; bh=SvwEKZkLjhgR/Oh2jv9IBLRNAjZV6k6JQiG2hL1DxjQ=; h=From:To:Cc:Subject:Date:Reply-To; b=qBT9J2NLwTLQB7BlCAy3NGJJOwWp6u0I3YLRyeHXduKLgRNNMTe4nbUP/effz7B49 NeQuNXSgWFgPFD/VhfO/t/cDTsK7EgV5sMcJDps1hKotlAmAX8mXlPs6GRaevITck4 YrYq6EtnlXI+sWMpb/DANexitFvBbxTj4LYxiteg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74542: netfs: Fix folio_queue ENOMEM in writeback by adding a mempool Date: Sat, 15 Aug 2026 21:27:03 +0900 Message-ID: <2026081548-CVE-2026-74542-883e@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=2544; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ZFRxmm14/2OCS01HtuIyW/hOYdSgjriQvI3Xxtq461Y=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNUWd/7bEKbmE7sOp4UoqSeIa241XWd6X3PioWtvddP ZrOO6unI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbyfAHDgt6N7TJzzRa2LW6o TWp8KnftbGTLX4YF12dXiQtYqH3jKmBde3u13svGLaVyAA== 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: Fix folio_queue ENOMEM in writeback by adding a mempool Fix the handling of folio_queue allocation failure in writeback by adding a mempool and passing in gfp_t flags to the rolling buffer functions that allocate memory, using the mempool if gfp != GFP_KERNEL. This is then extended upwards and the gfp to be used for a request is stored in the netfs_io_request struct and is then used for both requests and subrequests, eliminating the sleeping loops there. The failure caused: folio != NULL WARNING: fs/netfs/write_issue.c:603 at netfs_writepages+0x883/0xa10 fs/netfs/write_issue.c:603, CPU#3: syz.0.17/5919 The Linux kernel CVE team has assigned CVE-2026-74542 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12 with commit cd0277ed0c188dd40e7744e89299af7b78831ca4 and fixed in 7.1.8 with commit 3f6d7f8a5416d852648d15a05e895f1195ee8a85 Issue introduced in 6.12 with commit cd0277ed0c188dd40e7744e89299af7b78831ca4 and fixed in 7.2-rc6 with commit 1d78d56c43ef3768183e8370e7367b162700e049 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-74542 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 fs/netfs/internal.h fs/netfs/main.c fs/netfs/objects.c fs/netfs/read_pgpriv2.c fs/netfs/rolling_buffer.c fs/netfs/write_issue.c include/linux/netfs.h include/linux/rolling_buffer.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/3f6d7f8a5416d852648d15a05e895f1195ee8a85 https://git.kernel.org/stable/c/1d78d56c43ef3768183e8370e7367b162700e049