Skip to main content
Vulnerability Database/CVE-2026-98141

CVE-2026-98141: Linux Kernel NTFS Privilege Escalation Flaw

CVE-2026-98141 is a privilege escalation vulnerability in the Linux kernel NTFS driver affecting reparse index insertion. This flaw can lead to silent failures in symlink creation. This article covers technical details, affected versions, security impact, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-98141 Overview

CVE-2026-98141 affects the Linux kernel's NTFS filesystem driver. The update_reparse_data() function ignores the return value of set_reparse_index(), causing silent failures during reparse point creation. When index insertion fails, the kernel removes the just-written reparse data as cleanup but still returns success to the caller.

As a result, symlink(2) and Windows Subsystem for Linux (WSL) special file creation report success while no reparse data exists on disk. This creates filesystem inconsistency between what applications believe exists and the actual on-disk state. The upstream fix propagates the error to the caller so that failed reparse operations correctly surface to userspace.

Critical Impact

Silent filesystem errors can lead to broken symlinks, missing WSL special files, and application-level data integrity assumptions being violated without any error signal to userspace.

Affected Products

  • Linux kernel NTFS3 filesystem driver
  • Systems using NTFS volumes with symlink or WSL special file operations
  • Linux distributions shipping affected kernel versions

Discovery Timeline

  • 2026-09-25 - CVE-2026-98141 published to NVD
  • 2026-09-30 - Last updated in NVD database

Technical Details for CVE-2026-98141

Vulnerability Analysis

The defect resides in the NTFS3 kernel driver's reparse point handling logic. Reparse points on NTFS encode metadata for symbolic links, mount points, and WSL special files such as sockets, FIFOs, and device nodes. Creating these objects requires two coordinated operations: writing the reparse data to the file and inserting an entry into the reparse index.

The update_reparse_data() function invokes set_reparse_index() to add the index entry but discards its return value. When indexing fails, the error-handling path removes the reparse data from disk but still returns 0 to the caller. The syscall interface then reports success for a filesystem object that is incomplete or missing its reparse semantics.

When no previous reparse data existed (the oldsize == 0 case), the same silent-failure pattern occurs. Userspace receives no indication that the symlink or WSL special file was not fully created.

Root Cause

The root cause is an ignored return value, a common error-handling defect pattern. The caller treats a partial-failure cleanup path as a successful completion path, violating the kernel's contract that syscalls must accurately reflect on-disk state.

Attack Vector

This is a local filesystem reliability issue rather than a remote exploitation vector. A local user or process creating symlinks or WSL special files on an NTFS volume can trigger inconsistent state when index insertion fails. Downstream applications relying on symlink(2) success semantics may proceed under incorrect assumptions. Technical details are documented in the upstream Linux Kernel Commit Changes and Linux Kernel Commit Update.

Detection Methods for CVE-2026-98141

Indicators of Compromise

  • Symlinks on NTFS volumes that appear to exist via directory listings but fail to resolve on read
  • WSL special files (sockets, FIFOs, device nodes) that applications report as created but behave as regular empty files
  • Filesystem consistency check (ntfsfix, chkdsk) warnings referencing missing reparse index entries

Detection Strategies

  • Audit kernel versions across Linux hosts mounting NTFS volumes and compare against patched stable releases
  • Monitor application logs for symlink or special-file operations that succeed but produce unexpected behavior on subsequent access
  • Review dmesg output for NTFS3 driver warnings during reparse point creation

Monitoring Recommendations

  • Track symlink(2) and mknod(2) syscall outcomes against NTFS mount points using audit subsystem rules
  • Alert on filesystem integrity check failures reporting reparse-related inconsistencies
  • Centralize kernel log collection to surface NTFS3 subsystem errors across the fleet

How to Mitigate CVE-2026-98141

Immediate Actions Required

  • Inventory Linux systems that mount NTFS volumes using the in-tree ntfs3 driver
  • Apply the upstream kernel patches from the referenced stable commits once distribution packages are available
  • Pause automated workflows that create symlinks or WSL special files on NTFS until patched kernels are deployed

Patch Information

The fix propagates the set_reparse_index() return value from update_reparse_data() to the caller. Patched kernels are available via the stable tree commits 9692b1b4fc00cf89628bc43f71729ab21f14f8d3 and c62f446c63398dc7151f413069bf617032cf7a71. Consult your distribution's security tracker for backported package versions.

Workarounds

  • Avoid creating symlinks and WSL special files on NTFS-mounted volumes until patches are applied
  • Use ext4, XFS, or btrfs for workloads that require reliable symlink and special-file semantics
  • Add post-creation validation in application code to verify symlink readability after symlink(2) returns success
bash
# Validate that an NTFS-created symlink actually resolves
ln -s /target/path /mnt/ntfs/link
readlink /mnt/ntfs/link || echo "Reparse data missing - possible CVE-2026-98141 exposure"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.