CVE-2026-98138·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: ntfs: do not mark the volume clean in sync_fs when errors were recorded ntfs_put_super() and the remount-read-only path both clear the dirty bit only when NVolErrors(vol) is false. ntfs_sync_fs() clears it unconditionally, so any sync() on a volume that recorded an error marks that volume clean. A volume without this set is then seen as not needing recovery and it does not run one, so whatever went wrong is never repaired. This change skips resetting the dirty bit when there are volume errors. Reproduced on a volume whose $MFTMirr does not match $MFT, which sets the error flag while leaving the mount read-write: after a write and a sync, the on-disk volume flags read 0x0000 with this driver and 0x0001 with the guard in place.
- 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.15% — higher than 3% 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 this NTFS filesystem error handling issue. This vulnerability allows the kernel to incorrectly mark NTFS volumes as clean even when errors have been recorded, preventing necessary recovery procedures from executing. Apply the kernel update and reboot your system to fully remediate the issue.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check installed kernel version with 'uname -r' and compare against the patched version 7.2.7
- Step 2: Verify NTFS filesystem is mounted using 'mount | grep ntfs' or 'df -t ntfs'
- Step 3: Search system logs for NTFS error messages: 'journalctl -u kernel | grep -i ntfs | grep -i error'
- Step 4: After updating, confirm kernel version with 'uname -r' and verify it is 7.2.7 or later
FAQ
What is CVE-2026-98138?
This vulnerability affects the NTFS filesystem driver in the Linux kernel, where the sync_fs operation unconditionally clears the volume's dirty flag regardless of whether filesystem errors have been detected. This prevents the NTFS recovery process from running on the next mount, leaving corrupted data unrepaired.
Is CVE-2026-98138 being actively exploited?
No, this CVE is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, and no public exploits are currently available. The vulnerability requires local filesystem access to trigger.
What versions of Kernel are affected by CVE-2026-98138?
Kernel versions 7.1 through 7.2.6 are vulnerable. The fix is available in kernel version 7.2.7 and later.
How do I check if my server is vulnerable to CVE-2026-98138?
Run 'uname -r' to display your kernel version. If it shows a version between 7.1 and 7.2.6 and you have NTFS filesystems mounted, your system is vulnerable.
Does Defensia detect CVE-2026-98138?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-98138 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-98138. Free for 1 server.
Get started free