ntfs: include the final partial cluster in sync writes

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linuxb1d732e62a5b3942546e4edaab8976258e779287 to before bc3c7da859f215868a42def63bfc605a982a3076 Affectedb1d732e62a5b3942546e4edaab8976258e779287 to before fa5489ebc8bc7c663311b0f35943fe7edd0dfe56 Affectedeaa27b0885402f43acd4a18fc516210a4a70afaa Affected7.2.8 to before 7.3 Affected
Linux Linux7.3 Affectedbefore 7.3 Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.