CVE-2026-99101: ntfs: move attribute payload before shrinking its record
In the Linux kernel, the following vulnerability has been resolved:
ntfs: move attribute payload before shrinking its record
ntfsnewattrflags() resizes the non-resident attribute record before moving its name and mapping pairs to their shorter-header offsets when compression or sparse state is cleared.
Shrinking the record first moves the following attribute over the tail of the old record. The subsequent memmove() therefore copies bytes from that following attribute instead of the old mapping pairs. Re-enabling compression on an empty file persists those bytes as a malformed mapping pairs array, which ntfsck reports as a missing or invalid run length.
Move the payload before shrinking the record, while retaining the existing resize-before-move ordering when growing it.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.2.13 - Upgrade
Upgrade
azurelinux/kernelto a version that resolves this vulnerability.Fixed in 6.6.159.1-2 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.2.13-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.116-1Fixed in 7.2.15-1Fixed in 7.3.3-1 - Upgrade
Upgrade
azurelinux/kernelto a version that resolves this vulnerability.Fixed in 0:6.18.57-1.2.azl4 - Compensating control
In ntfs_new_attr_flags(), move the non-resident attribute payload (name and mapping pairs) to the shorter-header offsets before shrinking the attribute record; retain the existing resize-before-move ordering when growing it.
Event History
Frequently Asked Questions
What filesystem state and operation are needed to trigger the corruption?
The issue occurs when compression or sparse state is cleared on a non-resident NTFS attribute, causing its header to become shorter. Re-enabling compression on an empty file can then persist the incorrectly copied bytes as a malformed mapping-pairs array.
How would an affected filesystem appear?
The malformed mapping-pairs array is reported by ntfsck as a missing or invalid run length.
What is the practical impact described for this issue?
Attribute data can be corrupted because the mapping pairs are copied after a following attribute has overwritten the old record tail. The corruption can be persisted when compression is re-enabled on an empty file.