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-98133 Overview
CVE-2026-98133 is a Linux kernel vulnerability in the NTFS filesystem implementation. The flaw resides in the ntfs_set_ea() function, which unconditionally updates the HasEA inode flag based on ea_info_qsize in its exit path. When an error occurs before ea_info_qsize is updated, NInoClearHasEA() incorrectly hides existing on-disk Extended Attributes (EAs) until the inode is evicted from memory. The fix ensures the flag is only updated on successful completion of the extended attribute operation.
Critical Impact
A failed setxattr syscall on an NTFS inode can cause existing extended attributes to become invisible to userspace until the inode is evicted, leading to data integrity and consistency issues on NTFS volumes mounted under Linux.
Affected Products
- Linux kernel NTFS filesystem driver (ntfs3)
- Linux distributions shipping affected kernel versions with NTFS read/write support
- Systems mounting NTFS volumes with extended attribute operations enabled
Discovery Timeline
- 2026-09-25 - CVE-2026-98133 published to NVD
- 2026-09-30 - Last updated in NVD database
Technical Details for CVE-2026-98133
Vulnerability Analysis
The vulnerability exists in the exit path of ntfs_set_ea(), the kernel function responsible for setting extended attributes on NTFS inodes. The function unconditionally calls logic that updates the inode's HasEA state based on the current value of ea_info_qsize.
When ntfs_set_ea() encounters an error before ea_info_qsize has been updated with the new attribute size, the exit path still evaluates the stale value. If that value indicates no extended attributes, NInoClearHasEA() clears the in-memory HasEA flag even though the on-disk inode still contains valid EAs.
The inconsistency persists for the lifetime of the inode in the inode cache. Subsequent getxattr or listxattr operations return no attributes, misleading applications that depend on EA metadata for access control or application state.
Root Cause
The root cause is improper error handling in state management. The function treats the flag update as unconditional cleanup rather than a success-dependent action. This is a file system state inconsistency bug and does not involve memory corruption.
Attack Vector
A local user with permission to call setxattr(2) on files residing on an NTFS volume can trigger the condition by causing the extended attribute write to fail after the operation has begun but before ea_info_qsize is set. Repeated or crafted failing setxattr calls make existing extended attributes appear absent until the kernel evicts the inode from cache. Exploitation requires local filesystem access and the ability to invoke extended attribute syscalls.
No verified exploit code is available for this issue. See the upstream fixes referenced in Kernel Git Commit 5811a08 and Kernel Git Commit ac727d86 for the exact patched code paths.
Detection Methods for CVE-2026-98133
Indicators of Compromise
- Applications reporting unexpectedly empty extended attribute lists on NTFS-hosted files that previously had EAs set
- getxattr or listxattr returning no entries despite the on-disk EA stream being populated
- Discrepancies between EA content observed before and after unmount/remount of an NTFS volume
Detection Strategies
- Audit kernel versions on hosts mounting NTFS volumes and compare against the fixed commits in the upstream stable tree
- Monitor setxattr syscall return codes on NTFS mounts for elevated error rates that may indicate attempts to trigger the inconsistency
- Compare userspace EA views against raw on-disk NTFS structures using offline tools when integrity is in doubt
Monitoring Recommendations
- Enable kernel audit logging for setxattr, getxattr, and listxattr syscalls on hosts that mount NTFS volumes read-write
- Track inode eviction and cache pressure metrics on affected systems to correlate with reported EA anomalies
- Alert on applications that depend on NTFS extended attributes reporting unexpected EA absence
How to Mitigate CVE-2026-98133
Immediate Actions Required
- Apply the upstream kernel patches referenced by commits 5811a083 and ac727d86 as soon as they are available in your distribution
- Inventory systems mounting NTFS volumes with read/write access and prioritize patching those hosts
- Where feasible, mount NTFS volumes read-only until a patched kernel is deployed
Patch Information
The fix updates ntfs_set_ea() so that the HasEA flag is modified only on successful completion of the extended attribute operation. The patches are available at Kernel Git Commit 5811a08 and Kernel Git Commit ac727d86. Rebuild and deploy the kernel from a distribution package that incorporates these commits, or wait for the vendor-provided stable kernel update.
Workarounds
- Mount NTFS volumes read-only (mount -o ro) where write access is not required
- Restrict local user access to NTFS-mounted filesystems to trusted accounts only
- Avoid relying on NTFS extended attributes for security-relevant state until the host kernel is patched
# Mount NTFS volume read-only as a temporary workaround
mount -o remount,ro /mnt/ntfs_volume
# Verify running kernel version
uname -r
# Confirm installed kernel includes the fix (example for Debian/Ubuntu)
apt-get changelog linux-image-$(uname -r) | grep -i 'ntfs.*HasEA'
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

