CVE-2026-100005
Description
In the Linux kernel, the following vulnerability has been resolved:
ntfs: include the final partial cluster in sync writes
ntfs_attrlist_repack() synchronously writes the replacement attribute list before updating its mapping pairs and freeing the old run. With 512-byte clusters, a 544-byte list submits a 512-byte bio, but the write returns 544 and repack accepts it as complete. If the later buffered update does not reach disk, the replacement list lacks its final 32 bytes.
__ntfs_inode_non_resident_attr_pwrite() converts attr_len to clusters with ntfs_bytes_to_cluster(), which rounds down. Before repack, its synchronous callers used either cluster-aligned lengths or lengths smaller than one cluster, where max_t() selects one.
Round attr_len up so repack writes the final partial cluster before publishing the new mapping pairs.
Affected products
1Patches
Vulnerability mechanics
References
2News mentions
0No linked articles in our index yet.