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=1792758472; b=fzHqEtvy9eJQS9RCTcJ9OioI5W5baIOv8S4gBQ5q5yy5JTpReP2Q8AT8Jcvu+aCKPIZy DWb0Bhaq6gXmr5RWQC2HF15Dy+gNsMc4cC4B3AYOXj8JEdVBD5isYidyfvvHoo0LYCJE3 1FVmIZ64olfZsetGVQzqy+wiz9bIVeMCfWhvM3oMzypQVb2++F8JDJChpHKmcFwGGunXA ToCvDwUs08Tr6UXoP/gfSU0qRLPbDrfLBqFu+TK2xL+4osMCRAsoyH0v9DcZywsIHHWVa /OinXOMo4OTiUCcNzSzPE0S+lW8sZtjYsH1hLUNoWzIiK3n65wWG9HmiOx1yBzhIKKg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792758472; 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=XbTitXzOdvwYGex+BA4bRA2xEjSPhPjsHxeOQQv9m2Q=; b=3eDZ8c1x/Hu144ogJIUckz6g8Db4vkqNtcqiv7AKKyUH2E+EfgeshiQ02/2buQ8986w/ fGnXu0l4dTFBGozbfKOGhPF88OIQys/IS6feOdhzs8YEXgZbeSVUnbtFKqDNdQLao/Bky a7K9j5hIoHuTirxjPwO3Ey7B/KTIKo/r359uxmsy7v2HCXatGHvAE1nnhU8etOhBUlbSJ Yx4yZKtqIAkZjXfmyUOoh5c1K5+OY3gpu4OIwWtDCODKH449mD9+yEwfkrhPJelEZDiJB q3q64SYdV/a5brOAXQRp+C9Il14YZFJKWrYyGyM4Eh3G2Nnvcx5JVTMnvkzYKvN913w== 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="c8YlJrX/"; 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 9B7F3606A31A for ; Fri, 23 Oct 2026 12:27:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=c8YlJrX/ Received: by smtp.kernel.org (Postfix) with ESMTPSA id C2F601F01825; Fri, 23 Oct 2026 12:27:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792758472; bh=XbTitXzOdvwYGex+BA4bRA2xEjSPhPjsHxeOQQv9m2Q=; h=From:To:Cc:Subject:Date:Reply-To; b=c8YlJrX/KSHNSS7INlQy+dT40ewthrVTWIYtJXS6saao+NsRtEo1hiQ5UQ6bAWE4Q yQJb9gLptqL60k2A6creym878q3Oom+d8WAA417OcRFbUN0xxz0NrEJSGVmHVmRrVP weJQa9QU7jkq3ajJzNon1gdTZQL5tXOarp2rceuE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98962: btrfs: free iov when btrfs_uring_read_extent() fails Date: Fri, 23 Oct 2026 14:19:24 +0200 Message-ID: <2026102309-CVE-2026-98962-5b01@gregkh> X-Mailer: git-send-email 2.56.0 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=2205; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=MEiFDYnTiHCjXqPvu/6oL2xcJM4dlqoQJ34PQ14VYiI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3A/ZOKBetK21m8bi767Y9+9Z5LqbdcedTJ0k7eft9W F8y1eRNRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkNy/Dgu66pK8mZ+ds1n9e W1/wyvPRmz0FrxgWnJFobLt/soIv3qHp5/befb7XbDtZAQ== 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: btrfs: free iov when btrfs_uring_read_extent() fails After btrfs_uring_read_extent(), the caller always jumped to out_acct. That skips kfree(data->iov), which is only correct for -EIOCBQUEUED where the deferred path owns the iov. On failure, fall through to out_free instead. The Linux kernel CVE team has assigned CVE-2026-98962 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit 34310c442e175f286b4c06ab5caa4e0b267ea31c and fixed in 6.18.57 with commit 7a3addbdc5ad1fd80541a6a4ff4e06cd1331530a Issue introduced in 6.13 with commit 34310c442e175f286b4c06ab5caa4e0b267ea31c and fixed in 7.2.11 with commit 578ef517142420cf9d36b364ad4b3490b85469fb Issue introduced in 6.13 with commit 34310c442e175f286b4c06ab5caa4e0b267ea31c and fixed in 7.3 with commit a8ea92830b3e0e163d4e829bdcb17ca83c0f951c 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-98962 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/btrfs/ioctl.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/7a3addbdc5ad1fd80541a6a4ff4e06cd1331530a https://git.kernel.org/stable/c/578ef517142420cf9d36b364ad4b3490b85469fb https://git.kernel.org/stable/c/a8ea92830b3e0e163d4e829bdcb17ca83c0f951c