AZL-116743: CVE-2026-100010 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
ntfs: fix volume flag update races
ntfssetvolumeflags() and ntfsclearvolumeflags() both read vol->volflags outside any lock to compute the new value before handing it to ntfswritevolumeflags(), which only takes ni->mreclock around the actual write. The read-modify-write is therefore not atomic, and two concurrent callers can lose an update: ntfssyncfs() may derive a "clean" value from vol->volflags while a writer concurrently records an error and sets VOLUMEISDIRTY; 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 mreclock: pass the bits to set and to clear separately, and combine them with the current flag state under the lock inside ntfswritevolumeflags(). 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.
Affected Software
Event History
Frequently Asked Questions
What conditions are required for this issue to occur?
The race requires concurrent NTFS volume-flag updates, such as filesystem synchronization clearing the dirty state while another operation records an error and sets the dirty state. The vulnerable behavior concerns the NTFS driver's handling of these simultaneous updates.
What is the practical impact if the race is triggered?
A newly recorded dirty-volume flag can be overwritten, causing the on-disk NTFS volume to appear clean despite recorded errors. As a result, chkdsk may not run at the next mount, allowing corrupted metadata to persist.
How can this issue be addressed?
Use the resolved implementation that performs the volume-flag read-modify-write operation while holding the relevant record lock. The fix passes flag bits to set or clear and combines them with the current flag state under that lock.