CVE-2026-100010
publishedntfs: fix volume flag update races
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < a3f524d243100c952a44fdcd1382916609b49b03 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 56a64ee0f99d4ca1756cf743f951c110d39401e5 · 0 to < 7.3.4 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.3.4 through 7.3.* · 7.4-rc1 and later · Other versions: affected | Unaffected | Not stated | Linux |
Description
In the Linux kernel, the following vulnerability has been resolved: ntfs: fix volume flag update races ntfs_set_volume_flags() and ntfs_clear_volume_flags() both read vol->vol_flags outside any lock to compute the new value before handing it to ntfs_write_volume_flags(), which only takes ni->mrec_lock around the actual write. The read-modify-write is therefore not atomic, and two concurrent callers can lose an update: ntfs_sync_fs() may derive a "clean" value from vol->vol_flags while a writer concurrently records an error and sets VOLUME_IS_DIRTY; the locked write then silently overwrites the freshly-set dirty bit. The on-disk volume looks clean despite the recorded errors, so chkdsk will not run on the next mount and corrupted metadata can persist. Fix by moving the read-modify-write inside the mrec_lock: pass the bits to set and to clear separately, and combine them with the current flag state under the lock inside ntfs_write_volume_flags(). The set/clear helpers pass only the bits to modify, not the complete flag state. The bit manipulation is done on CPU-endian values, and the result is converted back to little-endian before storing it. The wrappers keep their signatures so callers are unchanged.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < a3f524d243100c952a44fdcd1382916609b49b03 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 56a64ee0f99d4ca1756cf743f951c110d39401e5 (affected · git)0 to < 7.3.4 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
ntfs: fix volume flag update races
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 420ebdff081c5b8840cdf5b5b6570a6029281d4a373c097710b8d27758eead77
- Ingested
- 30 Nov 2026, 13:30:06 UTC
- Source record
- Official CVE record