CVE-2026-98135·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: ntfs: reject invalid sectors_per_cluster in the boot sector is_boot_sector_ntfs() checks the boot sector's sectors_per_cluster field with a range test that rejects 0x81..0xf3 but accepts 0 and other non-power-of-two counts. A zero value reaches parse_ntfs_boot_sector(): sectors_per_cluster_bits = ffs(sectors_per_cluster) - 1; ... vol->cluster_size = vol->sector_size << sectors_per_cluster_bits; ffs(0) is 0, so sectors_per_cluster_bits becomes (unsigned)-1 and the shift is undefined: UBSAN: shift-out-of-bounds in fs/ntfs/super.c:673:39 shift exponent 4294967295 is too large for 32-bit type 'int' This change rejects any non-power-of-two value, since it feeds the aforementioned shift via ffs() - 1, which only yields the correct shift for a power of two.
- 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.10% — in the bottom 1% 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 patch the NTFS boot sector validation vulnerability. This fix prevents the kernel from accepting invalid sector-per-cluster values that can trigger undefined shift operations during NTFS volume parsing. Reboot your system after applying the kernel update to ensure the patched version is running.
sudo dnf update kernel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with `uname -r` and compare against version 7.2.7
- Step 2: Verify if NTFS filesystems are mounted on your system using `mount | grep ntfs` or `lsblk -f | grep ntfs`
- Step 3: Search system logs for UBSAN warnings related to shift-out-of-bounds in fs/ntfs/super.c using `grep -i 'shift-out-of-bounds' /var/log/kern.log /var/log/syslog`
- Step 4: After patching, confirm the new kernel is loaded by running `uname -r` and verifying it shows version 7.2.7 or later
FAQ
What is CVE-2026-98135?
This vulnerability exists in the Linux kernel's NTFS filesystem driver where the boot sector validation fails to reject invalid sector-per-cluster values. When a zero or non-power-of-two value is provided, it causes an undefined bit-shift operation that can crash the kernel or trigger undefined behavior.
Is CVE-2026-98135 being actively exploited?
No, CVE-2026-98135 is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available. This vulnerability requires local access and a specially crafted NTFS volume to trigger.
What versions of Kernel are affected by CVE-2026-98135?
Linux 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-98135?
Run `uname -r` to see your kernel version. If it shows a version between 7.1 and 7.2.6, you are vulnerable. Additionally, check if any NTFS filesystems are mounted with `mount | grep ntfs`.
Does Defensia detect CVE-2026-98135?
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-98135 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-98135. Free for 1 server.
Get started free