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 EBD1E27A10F for ; Fri, 25 Sep 2026 10:41:20 +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=1790332882; cv=none; b=e2kmrXN52ONDaejR2bvC/HwlofFts9RqoW4PDu9QpPa+YhnA6SM3AJXZPUHZ+GSlykorwQ/yjQr1msA+Vu8WIN/nWDXxwHb4jcS1IWwz7gfAjziNTrhxxq/INN+0pNLHHGKuIkKwCV3t3EYXSrhHZNYVKQSjYM51K9hqeMu0i2o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332882; c=relaxed/simple; bh=gGkz69w4KJAT5U2NuZmckPkwjbbDq1It3Wq2iTGJrE4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VDEUeMoS9G9qs4D3OPai2wTJEuVOGQi+lVos05x06V6rH9ssgGjPO/X/rReuJ4MQoh/BLZMb8VgUHPrrl+tkkv5rIqrLriTzHEPK5d1gMk7BaOLT+Lax/xQPqsohy39c7PFg/R4/9EJT1RTEDFC6i0+vEbUKI0mDDoIYAyOCBsk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=J8lt+fEO; 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="J8lt+fEO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 52D611F000FF; Fri, 25 Sep 2026 10:41:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332880; bh=Jftr5kfAeD8hzF/YOnlVCoi+vXnLhUgCaQXrae/Bc5c=; h=From:To:Cc:Subject:Date:Reply-To; b=J8lt+fEOA9p2Z5nn4em3yw7C1n83s7oI5TPoVGFFlf7/ARW55RtgAW7u+9PN/24zh lao8c8gcbb/Ueyh7TalwC5Y6hwI5ykrekY4NJhutyabr9JocaOYqoPtoBIttuI/D9H frw6PiaefCe6G38Pt78yl7rB7MoBnz3iSQ/uy4Uw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98139: ntfs: only count successfully cleared runs when freeing clusters Date: Fri, 25 Sep 2026 12:39:46 +0200 Message-ID: <2026092517-CVE-2026-98139-28ed@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=2360; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=3P7d3CsVt/B16Yh9678rSxzlcRgKx7LVTHLWUM4uXeQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnb/EObVgZHqob+mzyvIffci6I+zk8TvYpv9eV1W3134 3uiPy2jI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYiYMowT9nhYsczPj2Pc4/D AkIty2UZHnj7M8wVCthlHNC0hCtOOlT62Lrr7+5opjsDAA== 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: ntfs: only count successfully cleared runs when freeing clusters ntfs_cluster_free_from_rl_nolock() adds a run's length to nr_freed whenever the error bookkeeping condition is false, which includes cases where ntfs_bitmap_clear_run() actually failed - e.g. a second run failing with the same errno as an earlier one, or any failure after a non-ENOMEM error was already recorded. Since a failed ntfs_bitmap_clear_run() rolls back its partial modifications, no bits were cleared for that run, yet its length still inflates vol->free_clusters, corrupting statfs output and the allocator's free space gate. Only count runs whose bitmap clear succeeded. The Linux kernel CVE team has assigned CVE-2026-98139 to this issue. Affected and fixed versions =========================== Issue introduced in 7.1 with commit 11ccc9107dc460de28af90fac1f42404d9802735 and fixed in 7.2.7 with commit 7eb97d8828e7758b9c81277f7802e740a800f78a Issue introduced in 7.1 with commit 11ccc9107dc460de28af90fac1f42404d9802735 and fixed in 7.3-rc2 with commit be9e89ccb8e52a3e4b67feeb03ebd8133091dc7e 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-98139 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/ntfs/lcnalloc.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/7eb97d8828e7758b9c81277f7802e740a800f78a https://git.kernel.org/stable/c/be9e89ccb8e52a3e4b67feeb03ebd8133091dc7e