9.8critical
ntfs: validate non-resident attribute offsets
- Severity
- 9.8critical CVSS:3.1 by Linux
- Exploit likelihood
- 0.55% (higher than 40% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: ntfs: validate non-resident attribute offsets ntfs_attr_update_meta() shifts the attribute name when converting between non-sparse and sparse attributes. Converting to sparse also adds the compressed_size field before the name and mapping pairs, requiring eight additional bytes in the attribute record. However, the validator does not check that name_offset is within safe boundaries for these operations or that the additional space is available. A malicious MFT record could set name_offset such that: 1. The name is positioned at the very end of a non-sparse attribute. Converting to sparse would shift the name forward by 8 bytes, writing beyond the attribute boundary. 2. The name overlaps with the mapping pairs, causing corruption during conversion. Add validation to ensure: - For named attributes, name_offset is within valid bounds - Name does not extend beyond the attribute or overlap with mapping pairs - For non-sparse, non-compressed attributes, eight bytes are available after mapping_pairs_offset for the compressed_size field The space check also covers unnamed attributes, for which name_offset = 0 is valid and no name range needs to be checked.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b06b4fc2138ded8ee0b3dc602991ff6dbb10dd0a, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 6626fb859f4c4772f2f59751d23937716e03f98f, from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7ffa8f3d30236e0ab897c30bdb01224ff1fe1c89, from 1e9ea7e04472d4e5e12e58c881eaacfb3e49b669 before cd7b3dc7557faadeea626034e3bac68a449851ef, from 1e9ea7e04472d4e5e12e58c881eaacfb3e49b669 before a83e82b0ec3ae523028e24813f23f18b43e8fc1c, 2.6.12, 7.1 Not affected: before 2.6.12, from 6.1.191 up to 6.1.*, from 6.6.160 up to 6.6.*, from 6.9 before 7.1, from 7.2.4 up to 7.2.*, from 7.3 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-89611 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-89611 changed 2026-12-01 | Public domain |