{"id":"CVE-2026-142854","summary":"fs/ntfs3: reject an oversized resident attribute on the inline iomap path","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: reject an oversized resident attribute on the inline iomap path\n\nattr_data_get_block_locked() maps a resident attribute as a one-page\nIOMAP_INLINE extent: it allocates a single page, copies the resident\nvalue into it with memcpy(), and hands that page to ntfs_iomap_begin()\nas the inline data.  The copy length is the on-disk resident value\nlength (res.data_size), and mi_enum_attr() only bounds that length\nagainst the MFT record size.  A corrupted volume with MFT records larger\nthan a page can therefore present a resident $DATA whose length exceeds\nPAGE_SIZE, and the memcpy() then writes past the single destination page.\n\nImpact: reading or writing a resident file on a mounted crafted NTFS\nvolume whose MFT records are larger than a page overflows the one-page\ninline buffer in attr_data_get_block_locked() with attacker-controlled\nbytes.\n\nReject such an attribute in attr_data_get_block_locked(), before the\npage is allocated and the copy is made.","modified":"2026-12-03T05:00:55.756187784Z","published":"2026-12-03T03:20:59.650Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142854.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/456189f9c714dee6716c2a3aad908e63830cac66"},{"type":"WEB","url":"https://git.kernel.org/stable/c/69945942b1221a15a468748046de93947596dee4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142854.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142854"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"099ef9ab9203dff327f2d61e44773f9acbc01f13"},{"fixed":"69945942b1221a15a468748046de93947596dee4"},{"fixed":"456189f9c714dee6716c2a3aad908e63830cac66"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142854.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142854.json"}}],"schema_version":"1.9.2"}