Dežurni tim za incidente, 0–24: +385 98 1900 984NovoIR Retainer: tim ugovoren prije napada
HR · EN
U procjeniCVE-2026-100010

ntfs: fix volume flag update races

Objavljeno 30. 11. 2026. · Ažurirano 02. 12. 2026. · Linux

Opis (engleski)

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.

Zahvaćeni proizvodi i verzije

Linux Linux6251f0b0de7d645e3591931ca4c11d8322c1866f – < a3f524d243100c952a44fdcd1382916609b49b03 · 6251f0b0de7d645e3591931ca4c11d8322c1866f – < 56a64ee0f99d4ca1756cf743f951c110d39401e5Ispravljeno u: a3f524d243100c952a44fdcd1382916609b49b03 · 56a64ee0f99d4ca1756cf743f951c110d39401e5
Linux Linux7.1Ispravljeno u: 7.3.4 · 7.4-rc1

Reference

Izvori: CVE.org (CNA i CISA ADP), CISA KEV, FIRST EPSS. Uvijek provjerite službenu objavu proizvođača.