CVE-2026-98139·Kernel vulnerability
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.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 7.2.7
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.18% — higher than 7% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 7.1
Until: 7.2.7
Fixed in: 7.2.7
How to fix this CVE
Update your Linux kernel to version 7.2.7 or later to resolve a file system cluster accounting bug in NTFS that was causing incorrect free space reporting. This vulnerability corrupts the allocator's free space tracking when cluster deallocation operations fail, leading to misleading disk usage statistics and potential allocation failures. Apply the patch immediately to restore accurate volume statistics.
sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check current kernel version with `uname -r` and compare against fixed version 7.2.7
- Step 2: Verify NTFS filesystem usage with `df -h` and `fsck.ntfs` to detect corruption indicators or cluster accounting mismatches
- Step 3: Search system logs for ENOMEM or bitmap-related errors using `grep -i 'ntfs\|bitmap\|cluster' /var/log/kern.log /var/log/messages`
- Step 4: After patching, run `uname -r` to confirm kernel version is 7.2.7+, then verify NTFS volume statistics return to expected values
FAQ
What is CVE-2026-98139?
This is a kernel-level bug in NTFS cluster deallocation logic that incorrectly increments the free cluster counter even when bitmap clear operations fail, causing file system statistics to become inaccurate and potentially breaking space allocation decisions.
Is CVE-2026-98139 being actively exploited?
No, there is no evidence of active exploitation in the wild, and no public exploits are available. However, the vulnerability can cause silent data corruption in NTFS volume accounting.
What versions of Kernel are affected by CVE-2026-98139?
Kernel versions 7.1 through 7.2.6 are vulnerable. Version 7.2.7 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-98139?
Run `uname -r` to display your kernel version. If it returns a version between 7.1 and 7.2.6, your system is vulnerable.
Does Defensia detect CVE-2026-98139?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-98139 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-98139. Free for 1 server.
Get started free