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=1792759343; b=In3FA+YdiENop1Ujr+bSi7wC5iU5p1ImVYy1ubSxozFmaKikfxA/RLOCFHbzy/E9uT13 HdPhuYXcFmH98Epd/ZjhTa3qyAr969z46SmUDjR8h8Nzld/sCzdcekzZgT4ioNWFOYtHU xII/Z6aeUm63kE2RRrwoo2GCanp9H2uLIuDmLcz4HUaJRUafICRUiPhNFSe687nF/RlF4 0vDcGrflYTwhPbIn4dnDDufKIWG+uHqXVH82QNayXHi6CWerqwNLeg98wm6Bn+alyG5/r 7Ur5mQntvaNbAMFvds/Xm2XQplCft3aKl05JTMG/sAhqmsFBxfpD9IKJCBQDpD7sZ3Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792759343; 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=UuHySHmgv0uSWXTJdzDtpG0iDAGtKAAqkN702uOrinI=; b=2AQLs9kWiS40/8mv4CMgRXWGGdx8VJdqO9oKuIpFS2v/ViKPcsd2PlYEMQ8QvzKFPIAC zuwZI542vsbvZXjRAEuoNxaylR1jCCZuThdJviuUAUBWi5KMWdPvkL0TiX4BbnWWpAbl6 ny3cGsld0a2R4Ozrmcx73DbV3OEVEbSEAutBCmjd+cylYmdDMEWdAqisyx0P8iR57G1b7 7aShJQMXA4UtD5FJrfIT7BjGxuiIBl7H2tFCBEd8whBHwoKoPr8wMnL7gphobphltaShB R/h/UEGp5GKIR5iIyzcvU1TJ052uY2mS9xwWTFdJ5CH/kZtN7PBF4WAJA74uUNmqlLg== 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=EgXFX4ve; 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 4AB89606A324 for ; Fri, 23 Oct 2026 12:42:23 +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=EgXFX4ve Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C3BC1F031E3; Fri, 23 Oct 2026 12:42:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792759343; bh=UuHySHmgv0uSWXTJdzDtpG0iDAGtKAAqkN702uOrinI=; h=From:To:Cc:Subject:Date:Reply-To; b=EgXFX4vehrtlRQnBe7cDwTiMCqmVffmpkltBn0/2PeLbulcIx7qUqOAKpYyzPzNOZ d42ebGPySHf9wLdqI6UaGt9XXoJiSOFHyV5epiUM8ysTlaJyfzsUVaIKXaZn8l02eh Xyinsw4dFHNJZTYTw8G15K1/jQuImrrr+SY4Njks= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99067: btrfs: scrub: fix local_root reference leak in scrub_print_warning_inode() Date: Fri, 23 Oct 2026 14:21:09 +0200 Message-ID: <2026102333-CVE-2026-99067-6266@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=2827; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=zRoA/PaWpVJuuU+hKy7W1CjmqG15ZAxValwgTMAn3SA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3A65KWe/of7hUYs2TlKccGmHlEZePnFr/9qbGuuiiR Yp/Yxg+dcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEzixnWLAy71DxbzlZZmeZ Vbdu+bifW3d0ogLDgkmRQhUivWGvrvTb+2r0d2g7f9X9BgA= 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: scrub: fix local_root reference leak in scrub_print_warning_inode() When paths_from_inode() fails, scrub_print_warning_inode() jumps to err without dropping the reference taken by btrfs_get_fs_root(), leaking a reference to the root every time path resolution fails while printing scrub warnings. Every other error and success path of the function drops the reference. Drop the reference on the paths_from_inode() failure path too. The Linux kernel CVE team has assigned CVE-2026-99067 to this issue. Affected and fixed versions =========================== Issue introduced in 3.2 with commit 558540c17771eaf89b1a3be39aa2c8bc837da1a6 and fixed in 6.6.160 with commit 41cabfbf3532e2a2a17be9e4876042a5393b5c8d Issue introduced in 3.2 with commit 558540c17771eaf89b1a3be39aa2c8bc837da1a6 and fixed in 6.12.113 with commit 452a435b74f7f598a343c51f7c89c5d2244384b6 Issue introduced in 3.2 with commit 558540c17771eaf89b1a3be39aa2c8bc837da1a6 and fixed in 6.18.57 with commit 12ba7d8b9cd45a2c6aa8f37c3f4b8a50422fb549 Issue introduced in 3.2 with commit 558540c17771eaf89b1a3be39aa2c8bc837da1a6 and fixed in 7.2.11 with commit a7e5992bc37088f9b00e531955022aef69de3dc7 Issue introduced in 3.2 with commit 558540c17771eaf89b1a3be39aa2c8bc837da1a6 and fixed in 7.3 with commit 1fd742c7479961da6d0bb794ef8ac6b7b9442847 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-99067 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/scrub.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/41cabfbf3532e2a2a17be9e4876042a5393b5c8d https://git.kernel.org/stable/c/452a435b74f7f598a343c51f7c89c5d2244384b6 https://git.kernel.org/stable/c/12ba7d8b9cd45a2c6aa8f37c3f4b8a50422fb549 https://git.kernel.org/stable/c/a7e5992bc37088f9b00e531955022aef69de3dc7 https://git.kernel.org/stable/c/1fd742c7479961da6d0bb794ef8ac6b7b9442847