From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 BAD993EF647 for ; Fri, 8 May 2026 14:23:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778250223; cv=none; b=L+D2TOo+eR/DWlHpia8J4L4WJ4yoZy8bi4EY+kwe9D9/xpUNOtPFaQZUUoXBtpuir9xNukpso62FTZwZIRe9DNWZe7AGpREQe69h/3T/8HT2tMfGjr8c98hkFnWp2U2Yh/vnxEyRic6trt/GsR86+T+e7+cRm41vt6iO5W8o/8o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778250223; c=relaxed/simple; bh=DHkNWN50CIGe1OHIJBKpE/opiiOtI1WLr0Xn4Kq6tEE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=avV7wB7/mx8Tov8qCpQgTKa+L/uqSoWAycKxjgWIhFz4evTnXLa3709qa4eq50TuK34gy1UDEd69ahd9jy/P/7x/qs2zb7dQZo6LZlRfCBl4e1ZpF3hGmTWRKhUI1R+bRio/fkUW5LqSM9VycbyT0ranWN/nsIcaeZLoAX9G6ns= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=bgpJySsb; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="bgpJySsb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 25F06C2BCB0; Fri, 8 May 2026 14:23:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778250223; bh=DHkNWN50CIGe1OHIJBKpE/opiiOtI1WLr0Xn4Kq6tEE=; h=From:To:Cc:Subject:Date:Reply-To:From; b=bgpJySsbvqbbZmhAYRd4fJ4/kRaa/n10IqYiq0fRecco5HMH/0Z382uKUggIr8Bar YMxN6b8s+l3rAuw3pNR752stDOwQj3J7Ig8wEgp8+IiV1YywBftpplBGk2pDc1aAQ9 5882IkMjHx+5gRTrxaJnxRn/Zp8Lx4fdg/5lVHPM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43393: btrfs: fix chunk map leak in btrfs_map_block() after btrfs_chunk_map_num_copies() Date: Fri, 8 May 2026 16:22:02 +0200 Message-ID: <2026050837-CVE-2026-43393-8c6d@gregkh> X-Mailer: git-send-email 2.54.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=2375; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Qrr1D/ALUqfJ7zEoNT+Jl8Nk4MeOToTcv567Q8PoR5o=; b=owGbwMvMwCRo6H6F97bub03G02pJDJl/PxZe5GK6cPfnrEtabd/Fnx03916qtCyq7L/ABslXf 36cbq4+3BHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQAT2b2MYcGsbw7nNfLipBZU iNsuaTt4NaHco5FhfkTVXpdz56d/+1Z77bRlX+yW4FrBnwA= 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: fix chunk map leak in btrfs_map_block() after btrfs_chunk_map_num_copies() Fix a chunk map leak in btrfs_map_block(): if we return early with -EINVAL, we're not freeing the chunk map that we've just looked up. The Linux kernel CVE team has assigned CVE-2026-43393 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12 with commit 0ae653fbec2b9fbc72c65a0c99528990bfb2136d and fixed in 6.12.78 with commit 0e4aaf5a3212b6a469c2489637c29a8e2a5062a5 Issue introduced in 6.12 with commit 0ae653fbec2b9fbc72c65a0c99528990bfb2136d and fixed in 6.18.19 with commit 7bdf00ed75c477252578068dba19934cd825f20a Issue introduced in 6.12 with commit 0ae653fbec2b9fbc72c65a0c99528990bfb2136d and fixed in 6.19.9 with commit 4f90c5c2698383984102401b1724b0b67da832ab Issue introduced in 6.12 with commit 0ae653fbec2b9fbc72c65a0c99528990bfb2136d and fixed in 7.0 with commit f15fb3d41543244d1179f423da4a4832a55bc050 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-43393 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/volumes.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/0e4aaf5a3212b6a469c2489637c29a8e2a5062a5 https://git.kernel.org/stable/c/7bdf00ed75c477252578068dba19934cd825f20a https://git.kernel.org/stable/c/4f90c5c2698383984102401b1724b0b67da832ab https://git.kernel.org/stable/c/f15fb3d41543244d1179f423da4a4832a55bc050