CVE-2026-98139

Source
https://cve.org/CVERecord?id=CVE-2026-98139
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98139.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98139
Downstream
Published
2026-09-25T10:36:15Z
Modified
2026-09-26T03:48:33Z
Summary
ntfs: only count successfully cleared runs when freeing clusters
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98139.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
11ccc9107dc460de28af90fac1f42404d9802735
Fixed
7eb97d8828e7758b9c81277f7802e740a800f78a
Fixed
be9e89ccb8e52a3e4b67feeb03ebd8133091dc7e

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98139.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
7.1.0
Fixed
7.2.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98139.json"