CVE-2026-142854

Source
https://cve.org/CVERecord?id=CVE-2026-142854
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142854.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142854
Downstream
Published
2026-12-03T03:20:59Z
Modified
2026-12-03T05:00:55Z
Summary
fs/ntfs3: reject an oversized resident attribute on the inline iomap path
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142854.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

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"

Linux / Kernel

Package

Name
Kernel

Affected 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"