CVE-2026-100009: ntfs: set the volume dirty bit unconditionally on metadata changes
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 ntfssetvolumeflags() when the in-memory volflags already show VOLUMEISDIRTY, but that check runs without any lock: if it observes the bit set and ntfssyncfs() clears it under the mreclock 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 ntfssetvolumeflags() unconditionally: ntfswritevolumeflags() already skips the write under the mreclock when the combined value is unchanged. That unconditional call costs one mreclock 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 ntfssyncfs() clear to lose the set.
The IOCBNOWAIT path in ntfsfilewriteiter() goes through the same sleeping call: a RWFNOWAIT 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1 - Compensating control
In the Linux kernel NTFS callers in file.c and namei.c, drop the caller-side checks and call ntfs_set_volume_flags() unconditionally on metadata changes.
Event History
Frequently Asked Questions
Which deployments are exposed to the missed integrity check condition?
Linux systems using the NTFS filesystem can be affected when metadata updates overlap with ntfs_sync_fs(). The race can leave a modified volume marked clean on disk, preventing chkdsk from running at the next mount.
Does the change affect nonblocking write expectations?
Yes. An RWF_NOWAIT write using the IOCB_NOWAIT path can block while the volume is being marked dirty. This was already possible when the volume appeared clean; the change applies the same marking path even when the in-memory state already appears dirty.