CVE-2026-100009

ntfs: set the volume dirty bit unconditionally on metadata changes

Published Nov 30, 2026 CVSS 3.1 · 3.3 Low EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ntfs: set the volume dirty bit unconditionally on metadata changes

The callers in file.c and namei.c skip ntfs_set_volume_flags() when
the in-memory vol_flags already show VOLUME_IS_DIRTY, but that check
runs without any lock: if it observes the bit set and ntfs_sync_fs()
clears it under the mrec_lock before the caller's metadata update
completes, the set is skipped and the volume can end up clean on disk
despite the modification, so chkdsk will not run on the next mount.

Drop the caller-side checks and call ntfs_set_volume_flags()
unconditionally: ntfs_write_volume_flags() already skips the write
under the mrec_lock when the combined value is unchanged. That
unconditional call costs one mrec_lock acquisition per metadata
operation even in the already-dirty steady state; it cannot be
avoided, because deciding to skip the call without the lock is itself
what allows a concurrent ntfs_sync_fs() clear to lose the set.

The IOCB_NOWAIT path in ntfs_file_write_iter() goes through the same
sleeping call: a RWF_NOWAIT write can block in the marking, as it
already could before this change whenever the volume appeared clean.
Giving that path a non-blocking variant is left as follow-up work.
The callers keep the pre-existing behavior of proceeding when the
marking fails, so the dirty bit remains best-effort.

This closes the variant where the set is skipped outright. A clear
for a concurrent, error-free sync can still land between the set and
the end of the metadata operation; that mark-at-start lifecycle is
pre-existing and is not changed by this patch.

Analysis

AI-generated

Technical impact

The vulnerability in the Linux kernel’s NTFS driver arises from a race condition that allows the volume dirty bit to remain unset after metadata updates. The dirty bit signals that the filesystem must be checked on the next mount; if it stays clear, the implicit integrity check (“chkdsk”) is skipped, leaving unverified changes on the disk.

Affected Systems

Linux systems running a kernel that includes the NTFS filesystem module before the patch are vulnerable. No specific version range is given, so any kernel build that contains the original ntfs_set_volume_flags logic is affected. Kernel releases that include the referenced commits have applied the fix.

Risk and Exploitability

The flaw is triggered only during concurrent metadata modification: when a write operation and a sync operation are performed at the same time. Because the conditions require simultaneous activity on the same NTFS volume, the vulnerability is a local race condition. EPSS data is not available and the issue is not listed in the CISA KEV catalog. No public exploit is documented. The risk to system security mainly concerns the potential omission of an automatic filesystem integrity check.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that contains the patch commits referenced in the CVE description.
  • Reboot the system so the updated kernel and its NTFS driver changes take effect.
  • Run a filesystem check (e.g., fsck.ntfs) on all NTFS volumes to identify and repair any inconsistencies that may have accumulated while the kernel was vulnerable.

Generated by OpenCVE AI on November 30, 2026 at 16:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-367
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:L/A:N'}

threat_severity

Low

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ntfs: set the volume dirty bit unconditionally on metadata changes The callers in file.c and namei.c skip ntfs_set_volume_flags() when the in-memory vol_flags already show VOLUME_IS_DIRTY, but that check runs without any lock: if it observes the bit set and ntfs_sync_fs() clears it under the mrec_lock before the caller's metadata update completes, the set is skipped and the volume can end up clean on disk despite the modification, so chkdsk will not run on the next mount. Drop the caller-side checks and call ntfs_set_volume_flags() unconditionally: ntfs_write_volume_flags() already skips the write under the mrec_lock when the combined value is unchanged. That unconditional call costs one mrec_lock acquisition per metadata operation even in the already-dirty steady state; it cannot be avoided, because deciding to skip the call without the lock is itself what allows a concurrent ntfs_sync_fs() clear to lose the set. The IOCB_NOWAIT path in ntfs_file_write_iter() goes through the same sleeping call: a RWF_NOWAIT write can block in the marking, as it already could before this change whenever the volume appeared clean. Giving that path a non-blocking variant is left as follow-up work. The callers keep the pre-existing behavior of proceeding when the marking fails, so the dirty bit remains best-effort. This closes the variant where the set is skipped outright. A clear for a concurrent, error-free sync can still land between the set and the end of the metadata operation; that mark-at-start lifecycle is pre-existing and is not changed by this patch.
Title ntfs: set the volume dirty bit unconditionally on metadata changes
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:23 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Nov 30, 2026, 2:17 PM
Modified
Nov 30, 2026, 2:17 PM
Severity
Low
Public date
Nov 30, 2026, 1:23 PM