CVE-2026-142854
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.
Affected products
1Patches
Vulnerability mechanics
References
2News mentions
0No linked articles in our index yet.