# CVE-2026-100009: ntfs: set the volume dirty bit unconditionally on metadata changes

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-11-30T13:23:02.559Z
- Modified: 2026-11-30T14:17:14.810Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 6d39bee71241792d4d3130f80916b8160bf5d010; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 55af94ca0ee3512c08d12ffbbb948229da4e1565; before 7.3.4 (not affected: from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/6d39bee71241792d4d3130f80916b8160bf5d010>
- <https://git.kernel.org/stable/c/55af94ca0ee3512c08d12ffbbb948229da4e1565>

## Sources

- CVE List: [CVE-2026-100009](https://www.cve.org/CVERecord?id=CVE-2026-100009), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-100009](https://nvd.nist.gov/vuln/detail/CVE-2026-100009), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-100009 · Whole record: https://cve.day/CVE-2026-100009.json · Rebuilt by cve.day 2026-11-30T14:32:17.125Z
