Description
In the Linux kernel, the following vulnerability has been resolved:
fs/ntfs3: reject an oversized resident attribute on the inline iomap path
attr_data_get_block_locked() maps a resident attribute as a one-page IOMAP_INLINE extent: it allocates a single page, copies the resident value into it with memcpy(), and hands that page to ntfs_iomap_begin() as the inline data. The copy length is the on-disk resident value length (res.data_size), and mi_enum_attr() only bounds that length against the MFT record size. A corrupted volume with MFT records larger than a page can therefore present a resident $DATA whose length exceeds PAGE_SIZE, and the memcpy() then writes past the single destination page.
Impact: reading or writing a resident file on a mounted crafted NTFS volume whose MFT records are larger than a page overflows the one-page inline buffer in attr_data_get_block_locked() with attacker-controlled bytes.
Reject such an attribute in attr_data_get_block_locked(), before the page is allocated and the copy is made.
Metrics
No CVSS score has been published yet.
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 099ef9ab9203dff327f2d61e44773f9acbc01f13, < 69945942b1221a15a468748046de93947596dee4; >= 099ef9ab9203dff327f2d61e44773f9acbc01f13, < 456189f9c714dee6716c2a3aad908e63830cac66 |
| Linux | Linux | 7.0 |
References
Timeline
- Published
- Dec 3, 2026
- Last modified
- Dec 3, 2026
- NVD status
- Received