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 076F14973AE for ; Fri, 25 Sep 2026 10:37:05 +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=1790332626; cv=none; b=lYvl8kP2/bNUCMZDUDHolzDAwrcHAnD0L3PcDUvmi8DufD465reFsVu5ff+mNPtlywdwCwqJEXIKSg7TRe7N4bHU5MclHfbz49jvLOzxNe1cQ6mz/wrVCobo2YS3Y8rXjC9+uJZUx114iIIdae3YS4oIpRTjEBuZUOGEqCXOWYU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332626; c=relaxed/simple; bh=06EDROmvX5eyKSbjjAjD7/TxAz260+aFxJKRodukFUA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=O0h6uCpOsEsgbGpucn6yWu58OOYnKgCOEYVpj7NQJR5AB82HqGuLS8tQnyKWp1StSQX5SFgIrkK0WurPCKR+jVTIL+gU12lPVgMT6afHZZwvte4LX2arjv48NI9337axhPSvGneb9wjH8TUbHqM3CJQkfWIuDxFZLJHIUYECvis= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hzjuoIBN; 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="hzjuoIBN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 06A781F000FF; Fri, 25 Sep 2026 10:37:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332624; bh=eWLINLiCmmmGswlyhkbHym/La0izBvw5YpstnAP5LHQ=; h=From:To:Cc:Subject:Date:Reply-To; b=hzjuoIBNtAvCbqmJIEXTZlnC/jH97OJxlt6HWXT7rIdqMmrho+7XeUxj04Y7ppTeQ qqawfN1jcY/7FouPi0xF8cOGp6LqGvaioRUQjq96g0iRnRCoV8jntYeIXWZWSGqWAH cYbtmo9Iz3izirS1apKmAmEe2W1lNMTdoL82MHw4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98091: btrfs: detach failed sprout device from transaction update list Date: Fri, 25 Sep 2026 12:26:33 +0200 Message-ID: <2026092540-CVE-2026-98091-2203@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=2728; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SPagmdZWEcbzY2lr+LOwNLCb13F4jcs0/fgh9rxA8Ys=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvAvu9j1om3lu1qFnf73mvZp9+U+oV8P3yEn/yy75Z Xc2n+tY3RHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATWd/NsOD4bOl10iynH2+y 2Zz7Nf1YQV5WFDfDggXKHz+dvzW7cIanvM6WCAHxW9HOLAA= 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: detach failed sprout device from transaction update list When creating the first metadata chunk for a sprout filesystem, create_chunk() adds the new device to the transaction dev_update_list through device->post_commit_list. If the subsequent system chunk creation fails, btrfs_init_new_device() aborts the transaction and releases the device while post_commit_list is still linked. This triggers a warning in btrfs_free_device() and leaves the transaction list referencing freed memory. Detach the device while holding chunk_mutex before releasing it. The Linux kernel CVE team has assigned CVE-2026-98091 to this issue. Affected and fixed versions =========================== Issue introduced in 5.2 with commit bbbf7243d62d8be73b7ef60721c127b36b2d523e and fixed in 6.12.111 with commit e9e7e37afa85db770e6084360b21a21a8b3a583f Issue introduced in 5.2 with commit bbbf7243d62d8be73b7ef60721c127b36b2d523e and fixed in 6.18.53 with commit 8b001df2b37ca022f710f3254fbb0bcd6d9e1bed Issue introduced in 5.2 with commit bbbf7243d62d8be73b7ef60721c127b36b2d523e and fixed in 7.2.7 with commit 0ea6814bc0ff7cff443241bd34db9f0f828f3190 Issue introduced in 5.2 with commit bbbf7243d62d8be73b7ef60721c127b36b2d523e and fixed in 7.3-rc2 with commit c93b3c43df561cd9f592cee20ae058b563f9e5b6 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-98091 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/e9e7e37afa85db770e6084360b21a21a8b3a583f https://git.kernel.org/stable/c/8b001df2b37ca022f710f3254fbb0bcd6d9e1bed https://git.kernel.org/stable/c/0ea6814bc0ff7cff443241bd34db9f0f828f3190 https://git.kernel.org/stable/c/c93b3c43df561cd9f592cee20ae058b563f9e5b6