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 711EB3D6498 for ; Mon, 10 Aug 2026 12:14:37 +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=1786364078; cv=none; b=YNs2RiSJshVkY0n9bK8ROrdasTHFzT6UCDtJixETQQRdO+56ZP8a6Gtu19WdjGxP7j3i3KNFs3WCIwiOsmx/2Gwy3+2e8pZF7W1DG8ddR4a45eixmsLUyMjJb4jvym3J7jN8sP86GSq7hm/1ugSYyq0YELHZHVL8lp9Bb8WKYEk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786364078; c=relaxed/simple; bh=lGTk8AEtMKnMABdM+h9onJeMYKfaqhlB/aafvCp7DDM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ehMz4LFbhrGqChO/3Ri1KJZoOmQnQq6CS+qU2bW4QED/3TtiRtWqHdwt2PQHB23zOJ5DcFPJETYR/B7diZGVDBBEVV79VRcA2u7uozOr0IL7cJAvTmkyaqBTL8AX5Xj29pCFNVndxqGRqzMOkzA6WyG638E+EZ8kaLTlSdqWy4s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=NcRgTde5; 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="NcRgTde5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C746C1F000E9; Mon, 10 Aug 2026 12:14:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786364077; bh=0bgX4EM1wnr3t2OB6FuKXcjyJKM2vm+oIGNfObrLIzE=; h=From:To:Cc:Subject:Date:Reply-To; b=NcRgTde57RZFOZX3Q+CQT5/f7Ulu2TtcqDI8PN09tCHRIpyNIO/h30ACC42UBRp19 m0+aDpR3Xar5lLvmGTs1PNwtHQXDIBJVEwO8ME9FUOrwqlXN3RRKheJ0xgnf8Gpv6k iN+wkmaiqjcsH1FDy8aIuCCCMftNt69LqO3SnUgo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68422: btrfs: fix root leak if its reloc root is unexpected in merge_reloc_roots() Date: Mon, 10 Aug 2026 14:02:19 +0200 Message-ID: <2026081052-CVE-2026-68422-8166@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=2655; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=hpw3d/yCCb6vWTTAY43gxQTfAfBV845rKx0ufFdTG0E=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVew4UvlVPll/ypEzRbe4Srp8T/afwu2dPq7zs1Mzqw nH9wsHlHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRC8UMc0UMAxIOK3A8eBdm Wc7PkO/wfWGbBcM8W8apk2zzgq8bvZ/Iu9595SMZa/+rAA== 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 root leak if its reloc root is unexpected in merge_reloc_roots() If we have an unexpected reloc_root for our root, we jump to the out label but never drop the reference we obtained for root, resulting in a leak. Add a missing btrfs_put_root() call. The Linux kernel CVE team has assigned CVE-2026-68422 to this issue. Affected and fixed versions =========================== Issue introduced in 5.13 with commit 24213fa46c7080c31d79aa2e3e2f0d9480cab700 and fixed in 6.6.148 with commit b3d39b03799600c76c33486e2d29b73a771023db Issue introduced in 5.13 with commit 24213fa46c7080c31d79aa2e3e2f0d9480cab700 and fixed in 6.12.101 with commit 72f673d1c1deb819554d3e7e154f6d84301eb735 Issue introduced in 5.13 with commit 24213fa46c7080c31d79aa2e3e2f0d9480cab700 and fixed in 6.18.42 with commit 60a23d4ea169e27403f3bb023bb98036797c0206 Issue introduced in 5.13 with commit 24213fa46c7080c31d79aa2e3e2f0d9480cab700 and fixed in 7.1.6 with commit 7591d1727067d6063247901ad25c4bdc4e5695c4 Issue introduced in 5.13 with commit 24213fa46c7080c31d79aa2e3e2f0d9480cab700 and fixed in 7.2-rc4 with commit ce6050bafb4e33377dc17fcc357736bfc351180c 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-68422 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/relocation.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/b3d39b03799600c76c33486e2d29b73a771023db https://git.kernel.org/stable/c/72f673d1c1deb819554d3e7e154f6d84301eb735 https://git.kernel.org/stable/c/60a23d4ea169e27403f3bb023bb98036797c0206 https://git.kernel.org/stable/c/7591d1727067d6063247901ad25c4bdc4e5695c4 https://git.kernel.org/stable/c/ce6050bafb4e33377dc17fcc357736bfc351180c