CVE-2026-99102

ntfs: take invalidate_lock in ntfs_setattr_size()

Published Oct 28, 2026 CVSS 3.1 · 3.3 Low EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ntfs: take invalidate_lock in ntfs_setattr_size()

ntfs_setattr_size() updates i_size and resizes the on-disk attribute
without holding mapping->invalidate_lock. Page faults take the lock
shared, so a fault racing the resize can resolve a VCN against the
transient runlist state of ntfs_non_resident_attr_expand() and fail
with a spurious SIGBUS, and can interleave with the size-change
epilogue (truncate_pagecache(), i_size_write(),
pagecache_isize_extended()).

Take invalidate_lock exclusively around the whole resize after
inode_dio_wait(), matching the fallocate path and other filesystems
such as xfs, which wraps truncate in its mmaplock (= invalidate_lock).

Analysis

AI-generated

Technical impact

The vulnerability arises when the ntfs_setattr_size() function resizes a file’s on‑disk attribute without holding the invalidate_lock. A concurrent page fault can race with this resize, causing the system to resolve a Virtual Cluster Number against a transient runlist state and crash with SIGBUS. This race condition can terminate user processes and, if exploited repeatedly, disrupt availability of the affected file system. The weakness is a concurrency error where shared state is modified without proper synchronization.

Affected Systems

All Linux kernels that include the current ntfs implementation and have not applied the patch that acquires invalidate_lock during the entire resize operation. No specific version list is provided, so any kernel building the ntfs module is potentially vulnerable.

Risk and Exploitability

The exploit requires a local user with permission to change the size attribute of an NTFS file on a mounted partition. Because the error only manifests under concurrency between the resizing path and page fault handling, it is not trivially exploitable remotely and no public exploit is known. The CVSS score of 3.3 and EPSS rating of <1% indicate a low severity, though the exploitation risk remains uncertain. The vulnerability is not listed in the CISA KEV catalog, indicating no widespread use cases have been reported.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that acquires invalidate_lock around the resize operation in ntfs_setattr_size()
  • If immediate kernel upgrade is not possible, remount NTFS partitions or redirect file system access to a less risky file system such as ext4 or xfs to avoid triggering the race condition
  • Restrict write access to NTFS partitions to trusted users only and monitor for unusual size changes or repeated SIGBUS events

Generated by OpenCVE AI on October 29, 2026 at 14:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-413
References
Metrics threat_severity

None

cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L'}

threat_severity

Low

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-362
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ntfs: take invalidate_lock in ntfs_setattr_size() ntfs_setattr_size() updates i_size and resizes the on-disk attribute without holding mapping->invalidate_lock. Page faults take the lock shared, so a fault racing the resize can resolve a VCN against the transient runlist state of ntfs_non_resident_attr_expand() and fail with a spurious SIGBUS, and can interleave with the size-change epilogue (truncate_pagecache(), i_size_write(), pagecache_isize_extended()). Take invalidate_lock exclusively around the whole resize after inode_dio_wait(), matching the fallocate path and other filesystems such as xfs, which wraps truncate in its mmaplock (= invalidate_lock).
Title ntfs: take invalidate_lock in ntfs_setattr_size()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • CWE-413

    Improper Resource Locking

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 28, 2026, 10:34 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 28, 2026, 11:17 AM
Modified
Oct 28, 2026, 11:17 AM
Severity
Low
Public date
Oct 28, 2026, 12:00 AM