{"id":"CVE-2026-100010","aliases":["CVE-2026-100010"],"related":[],"kind":"vulnerability","state":"published","title":"ntfs: fix volume flag update races","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: fix volume flag update races\n\nntfs_set_volume_flags() and ntfs_clear_volume_flags() both read\nvol->vol_flags outside any lock to compute the new value before handing\nit to ntfs_write_volume_flags(), which only takes ni->mrec_lock around\nthe actual write. The read-modify-write is therefore not atomic, and two\nconcurrent callers can lose an update: ntfs_sync_fs() may derive a\n\"clean\" value from vol->vol_flags while a writer concurrently records an\nerror and sets VOLUME_IS_DIRTY; the locked write then silently\noverwrites the freshly-set dirty bit. The on-disk volume looks clean\ndespite the recorded errors, so chkdsk will not run on the next mount\nand corrupted metadata can persist.\n\nFix by moving the read-modify-write inside the mrec_lock: pass the bits\nto set and to clear separately, and combine them with the current flag\nstate under the lock inside ntfs_write_volume_flags(). The set/clear\nhelpers pass only the bits to modify, not the complete flag state. The\nbit manipulation is done on CPU-endian values, and the result is\nconverted back to little-endian before storing it. The wrappers keep\ntheir signatures so callers are unchanged.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: fix volume flag update races\n\nntfs_set_volume_flags() and ntfs_clear_volume_flags() both read\nvol->vol_flags outside any lock to compute the new value before handing\nit to ntfs_write_volume_flags(), which only takes ni->mrec_lock around\nthe actual write. The read-modify-write is therefore not atomic, and two\nconcurrent callers can lose an update: ntfs_sync_fs() may derive a\n\"clean\" value from vol->vol_flags while a writer concurrently records an\nerror and sets VOLUME_IS_DIRTY; the locked write then silently\noverwrites the freshly-set dirty bit. The on-disk volume looks clean\ndespite the recorded errors, so chkdsk will not run on the next mount\nand corrupted metadata can persist.\n\nFix by moving the read-modify-write inside the mrec_lock: pass the bits\nto set and to clear separately, and combine them with the current flag\nstate under the lock inside ntfs_write_volume_flags(). The set/clear\nhelpers pass only the bits to modify, not the complete flag state. The\nbit manipulation is done on CPU-endian values, and the result is\nconverted back to little-endian before storing it. The wrappers keep\ntheir signatures so callers are unchanged.","source":"cvelist"}],"published":"2026-11-30T13:23:03.092Z","modified":"2026-11-30T14:17:14.920Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"a3f524d243100c952a44fdcd1382916609b49b03","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"56a64ee0f99d4ca1756cf743f951c110d39401e5","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.3.4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/a3f524d243100c952a44fdcd1382916609b49b03","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/56a64ee0f99d4ca1756cf743f951c110d39401e5","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-100010","url":"https://www.cve.org/CVERecord?id=CVE-2026-100010","licence":"CVE Terms of Use","modified":"2026-11-30T13:23:03.092Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-100010","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100010","licence":"Public domain","modified":"2026-11-30T14:17:14.920Z"}],"updatedAt":"2026-11-30T14:32:17.695Z","epss":{"score":0.00163,"percentile":0.05704,"date":"2026-12-01T12:00:22.000Z"}}