# CVE-2026-98139: ntfs: only count successfully cleared runs when freeing clusters

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-09-25T10:36:15.974Z
- Modified: 2026-10-19T10:18:13.113Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 11ccc9107dc460de28af90fac1f42404d9802735 before 7eb97d8828e7758b9c81277f7802e740a800f78a; from 11ccc9107dc460de28af90fac1f42404d9802735 before be9e89ccb8e52a3e4b67feeb03ebd8133091dc7e; 7.1 (not affected: before 7.1; from 7.2.7 up to 7.2.*; from 7.3 up to *)
- linux linux_kernel: from 7.1 before 7.2.7; 7.3

## References

- <https://git.kernel.org/stable/c/7eb97d8828e7758b9c81277f7802e740a800f78a> (patch)
- <https://git.kernel.org/stable/c/be9e89ccb8e52a3e4b67feeb03ebd8133091dc7e> (patch)

## Sources

- CVE List: [CVE-2026-98139](https://www.cve.org/CVERecord?id=CVE-2026-98139), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98139](https://nvd.nist.gov/vuln/detail/CVE-2026-98139), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98139 · Whole record: https://cve.day/CVE-2026-98139.json · Rebuilt by cve.day 2026-11-25T22:59:41.077Z
