Not scored
ntfs: include the final partial cluster in sync writes
- Severity
- Not scored
- Exploit likelihood
- 0.16% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from b1d732e62a5b3942546e4edaab8976258e779287 before bc3c7da859f215868a42def63bfc605a982a3076, from b1d732e62a5b3942546e4edaab8976258e779287 before fa5489ebc8bc7c663311b0f35943fe7edd0dfe56, eaa27b0885402f43acd4a18fc516210a4a70afaa, from 7.2.8 before 7.3, 7.3 Not affected: before 7.3, from 7.3.4 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-100005 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-100005 changed 2026-11-30 | Public domain |