Skip to main content

Linux Kernel NTFS CVE-2026-64431

| EUVDEUVD-2026-48775 HIGH
Out-of-bounds Write (CWE-787)
2026-07-25 Linux GHSA-7v8v-8486-fvc6
7.8
CVSS 3.1 · Vendor: Linux
Share

Severity by source

Vendor (Linux) PRIMARY
7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI
7.8 HIGH

Local mount privilege required (PR:L/AV:L); once triggered via fsync the OOB write is deterministic (AC:L); full kernel heap corruption yields C/I/A:H.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE
HIGH
qualitative

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Generated
Jul 27, 2026 - 05:52 vuln.today
CVSS changed
Jul 27, 2026 - 05:22 NVD
7.8 (HIGH)
Patch available
Jul 25, 2026 - 11:18 EUVD
CVE Published
Jul 25, 2026 - 08:51 cve.org
HIGH 7.8
CVE Published
Jul 25, 2026 - 08:51 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

ntfs: avoid calling post_write_mst_fixup() for invalid index_block

ntfs_icx_ib_sync_write() calls post_write_mst_fixup() when ntfs_ib_write() returns an error, intending to restore the buffer after a failed write.

However, ntfs_ib_write() returns an error immediately if pre_write_mst_fixup() validation fails. The caller, ntfs_icx_ib_sync_write(), interprets any error as a write failure requiring rollback. It does not differentiate between I/O errors and validation failures, and calls post_write_mst_fixup() anyway.

Since post_write_mst_fixup() assumes that the index_block contents is correct, it doesn't perform the boundary checks, which results in out-of-bounds memory access.

An attacker can craft a malicious NTFS image with:

  • large index_block.usa_ofs offset, pointing outside the ntfs_record
  • index_block.usa_count = 0, causing integer underflow
  • or index_block.usa_count larger than actual number of sectors in the

ntfs_record, causing out-of-bounds access

KASAN reports describing the memory corruption: ============== BUG: KASAN: slab-out-of-bounds in post_write_mst_fixup+0x19c/0x1d0 Read of size 2 at addr ffff8881586c9018 by task p/9428 Call Trace: <TASK> dump_stack_lvl+0x100/0x190 print_report+0x139/0x4ad ? post_write_mst_fixup+0x19c/0x1d0 ? __virt_addr_valid+0x262/0x500 ? post_write_mst_fixup+0x19c/0x1d0 kasan_report+0xe4/0x1d0 ? post_write_mst_fixup+0x19c/0x1d0 post_write_mst_fixup+0x19c/0x1d0 ntfs_icx_ib_sync_write+0x179/0x220 ntfs_inode_sync_filename+0x83d/0x1080 __ntfs_write_inode+0x1049/0x1480 ntfs_file_fsync+0x131/0x9b0 ============== BUG: KASAN: slab-out-of-bounds in post_write_mst_fixup+0x1aa/0x1d0 Write of size 2 at addr ffff8881586c91fe by task p/9428 Call Trace: <TASK> dump_stack_lvl+0x100/0x190 print_report+0x139/0x4ad ? post_write_mst_fixup+0x1aa/0x1d0 ? __virt_addr_valid+0x262/0x500 ? post_write_mst_fixup+0x1aa/0x1d0 kasan_report+0xe4/0x1d0 ? post_write_mst_fixup+0x1aa/0x1d0 post_write_mst_fixup+0x1aa/0x1d0 ntfs_icx_ib_sync_write+0x179/0x220 ntfs_inode_sync_filename+0x83d/0x1080 __ntfs_write_inode+0x1049/0x1480 ntfs_file_fsync+0x131/0x9b0 ==============

Let's move the post_write_mst_fixup() call to ntfs_ib_write(). The ntfs_ib_write() function calls pre_write_mst_fixup() at the beginning. If the index_block contents is invalid, pre_write_mst_fixup() fails and ntfs_ib_write() returns early without calling post_write_mst_fixup() on bad index_block.

AnalysisAI

Out-of-bounds memory write in the Linux kernel's legacy NTFS driver allows a local attacker with filesystem mount privileges to corrupt kernel heap memory via a crafted NTFS image. The flaw lives in ntfs_icx_ib_sync_write(), which unconditionally calls post_write_mst_fixup() even when pre_write_mst_fixup() has already rejected the index block as invalid - the caller does not distinguish between I/O errors and validation failures. By manipulating usa_ofs or usa_count fields in the NTFS index block, an attacker can drive both slab-out-of-bounds reads and writes into the kernel, as confirmed by KASAN traces in the bug report. No public exploit or CISA KEV listing exists; EPSS is 0.20%.

Technical ContextAI

The vulnerability resides in the legacy in-tree Linux kernel NTFS driver (fs/ntfs/), distinct from the newer ntfs3 driver. The Multi-Sector Transfer (MST) fixup mechanism - implemented by pre_write_mst_fixup() and post_write_mst_fixup() - is responsible for applying and reversing update sequence array (USA) fixups on NTFS records before disk writes. post_write_mst_fixup() assumes that index_block contents have already been validated and performs no boundary checks. CWE-787 (out-of-bounds write) applies: when the caller passes an already-rejected, invalid index_block containing an oversized usa_ofs (pointing outside the ntfs_record), a zero usa_count (triggering integer underflow), or a usa_count exceeding the actual sector count, post_write_mst_fixup() reads and writes beyond the slab allocation. The fix relocates the post_write_mst_fixup() call into ntfs_ib_write() so it is only reached after a successful pre_write_mst_fixup() validation. Affected CPE: cpe:2.3:a:linux:linux.

RemediationAI

Update to Linux kernel 7.1.4 or later, which contains the upstream fix (commits 5b6eedd7cc2936f9238e852b553a1b326105bde8 and e2018628301a6d9f54e34b0cb417f1688c66df1d). Kernel 7.2-rc3 and later mainline builds also include the fix. For distributions that have not yet issued a patched kernel package, two compensating controls reduce exposure: first, blacklist the legacy ntfs module (echo 'blacklist ntfs' >> /etc/modprobe.d/ntfs-block.conf) and unload any loaded instance (rmmod ntfs) - this prevents the vulnerable code path from executing, though it also disables legacy NTFS mount support entirely; consider whether ntfs3 (the newer driver) covers operational needs. Second, restrict which users can mount external filesystems by setting NOAUTO mount options and restricting mount command privileges via sudo policy, reducing the ability of untrusted local users to supply a crafted image. The blacklist approach has no functional impact on systems that use ntfs3 exclusively. References: https://git.kernel.org/stable/c/5b6eedd7cc2936f9238e852b553a1b326105bde8 and https://git.kernel.org/stable/c/e2018628301a6d9f54e34b0cb417f1688c66df1d.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

Share

CVE-2026-64431 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy