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 8174E3A6B81 for ; Sun, 19 Jul 2026 15:42:26 +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=1784475747; cv=none; b=am6jzXIu8r0m8RFCxaVUbobIsqLiiwJP0+kcrBeNYee5s0F7rW8nJDXArFc3VLFkm0vNb9P+zhvRqbT1gSIErXraEroYawbGxFnc/kQF6NRwYBd3eLKZcwF+tqQqriaJB6OJNjX551qqqCIlcYPuehvj2T9Hfm5K1HfcSLcuE9I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784475747; c=relaxed/simple; bh=7jxncX4YjRqp7yQiRIc4nnAJo7Ym3UYj60iOwrB12Ws=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ueA3j61uCO7aaPfCrLZwE5x5do92To+Mih4oT2KU2NNeo+KTINJOp7CFjtNzMyCYZmsv/jB8Qu3RMjmhqOgi21GfcgKXK8b9oyHWTgryroG8/+Dwrhme05UGANQT5FRrNopgBpm+3/AQkYt0anet24JWRG+LkTslg8PmJ3WxD8I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xk7g2UDr; 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="xk7g2UDr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 88B051F000E9; Sun, 19 Jul 2026 15:42:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784475746; bh=QfL9DwL8WKDkSCKAPsgxR6LGun+tPg1vks5G6ONlIXE=; h=From:To:Cc:Subject:Date:Reply-To; b=xk7g2UDr1iutuzCdgxoECfTcd5obY/JVFbka1p6qN3epAS/vtmcl9MnYfzM6kFkBX 5dckFXf4zWutGQTmObQuydBNfPs9TRJ801Rhs6jiS1JJgLUmOsUmAV73gROcro+37H CXVQCkJ+5L0+NiAnbMne54VWbk4YzaD5AbCzlEjA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64069: netfs: Fix cancellation of a DIO and single read subrequests Date: Sun, 19 Jul 2026 17:38:51 +0200 Message-ID: <2026071912-CVE-2026-64069-0000@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=3157; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=pdTI3OZRE4CCe0hZl4KAVMW0HoBNb91+QEMUQXD5H3U=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkx71P0TV5nv01zlrvPYpPatPbSxefcF4/3eL0p/Hpws 9PFZzt2dMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEZvkwLOjk7JY/KbH689OD j3g5ZnL/9fZ/P5NhnvKrOx56k259rGqzy+FpEHZaEhi+DgA= 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 cancellation of a DIO and single read subrequests When the preparation of a new subrequest for a read fails, if the subrequest has already been added to the stream->subrequests list, it can't simply be put and abandoned as the collector may see it. Also, if it hasn't been queued yet, it has two outstanding refs that both need to be put. Both DIO read and single-read dispatch fail at this; further, both differ in the order they do things to the way buffered read works. Fix cancellation of both DIO-read and single-read subrequests that failed preparation by the following steps: (1) Harmonise all three reads (buffered, dio, single) to queue the subreq before prepping it. (2) Make all three call netfs_queue_read() to do the queuing. (3) Set NETFS_RREQ_ALL_QUEUED independently of the queuing as we don't know the length of the subreq at this point. (4) In all cases, set the error and NETFS_SREQ_FAILED flag on the subreq and then call netfs_read_subreq_terminated() to deal with it. This will pass responsibility off to the collector for dealing with it. The Linux kernel CVE team has assigned CVE-2026-64069 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit e2d46f2ec332533816417b60933954173f602121 and fixed in 6.18.34 with commit 5366199be46fb53de62861721d34ba816e7e440e Issue introduced in 6.14 with commit e2d46f2ec332533816417b60933954173f602121 and fixed in 7.0.11 with commit f73372a4c6900d117f8e903fe10b62692f95e6c4 Issue introduced in 6.14 with commit e2d46f2ec332533816417b60933954173f602121 and fixed in 7.1 with commit 6f0f7ac1915abc0d202f0eb4b003a6548a5ba60d 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-64069 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/direct_read.c fs/netfs/internal.h fs/netfs/read_collect.c fs/netfs/read_single.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/5366199be46fb53de62861721d34ba816e7e440e https://git.kernel.org/stable/c/f73372a4c6900d117f8e903fe10b62692f95e6c4 https://git.kernel.org/stable/c/6f0f7ac1915abc0d202f0eb4b003a6548a5ba60d