Skip to content
statance
MenuClose
unknown

CVE-2026-99815

fs/ntfs3: validate EA entry layout against ef->size in ntfs_read_ea

Published 30 Nov 2026 · Source updated 30 Nov 2026 · Retrieved 2026-12-04 09:06 UTC

Monitor this CVE ↗Full CVE monitoring on Pro and Business

What happened?

In the Linux kernel, the following vulnerability has been resolved:

fs/ntfs3: validate EA entry layout against ef->size in ntfs_read_ea

In ntfs_read_ea(), the ef->size branch only checks that the declared entry size fits the remaining buffer; unlike the zero-size branch it never verifies that the entry's own name and value fit inside ef->size. A crafted image can thus present an in-bounds ef->size with an arbitrary elength, which find_ea()/ntfs_get_ea() later use as the memcpy length, reading past the allocation and leaking adjacent heap memory:

BUG: KASAN: slab-out-of-bounds in ntfs_get_ea (fs/ntfs3/xattr.c:302) Read of size 65535 at addr ffff888010770b0f by task exploit/142 ... __asan_memcpy (mm/kasan/shadow.c:105) ntfs_get_ea (fs/ntfs3/xattr.c:302) ntfs_getxattr (fs/ntfs3/xattr.c:848) __vfs_getxattr (fs/xattr.c:446) vfs_getxattr (fs/xattr.c:479) do_getxattr (fs/xattr.c:808) filename_getxattr (fs/xattr.c:837) path_getxattrat (fs/xattr.c:876) do_syscall_64 (arch/x86/entry/syscall_64.c:94) ... The buggy address is located 15 bytes inside of allocated 20-byte region, cache kmalloc-32

Validate the name/value layout in the ef->size branch too, bounding it against ef->size, as the zero-size branch validates it against the buffer.

[almaz.alexandrovich@paragon-software.com: remove duplicate check of need > ea_size]

Description supplied by CVE Program. Formatting is simplified; follow the original advisory for full details.

Affected software and versions

Source-provided software and version information
SoftwareVersion informationFixed version
LinuxLinuxaffected: be71b5cba2e6485e8959da7a9f9a44461a1bb074 to < 9d878b65f8de50bcd350577274ee2269ec966e06; affected: be71b5cba2e6485e8959da7a9f9a44461a1bb074 to < 53d58a880c6054761d753c7556c298c8898dddf8; affected: be71b5cba2e6485e8959da7a9f9a44461a1bb074 to < bfb7f7493c172742ab16fe54b3b042160ee5501a; affected: be71b5cba2e6485e8959da7a9f9a44461a1bb074 to < a43bdd6efbe733c9d5072d045294247a4b1e4d6e; affected: be71b5cba2e6485e8959da7a9f9a44461a1bb074 to < bdd318f6aa4150b252c86dd378fa43d9a51107ff; affected: be71b5cba2e6485e8959da7a9f9a44461a1bb074 to < 5a2cdad7cf53fcae9bb9641b578ec10d3c0dae16; affected: be71b5cba2e6485e8959da7a9f9a44461a1bb074 to < 01e56820ef52d14a5560fb7c0c6f2f75ef6f9393See vendor advisory
LinuxLinuxaffected: 5.15; unaffected: 0 to < 5.15; unaffected: 5.15.226 to ≤ 5.15.*; unaffected: 6.1.193 to ≤ 6.1.*; unaffected: 6.6.163 to ≤ 6.6.*; unaffected: 6.12.119 to ≤ 6.12.*; unaffected: 6.18.65 to ≤ 6.18.*; unaffected: 7.3.6 to ≤ 7.3.*; unaffected: 7.4-rc1 to ≤ *See vendor advisory

Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.

Is it being exploited?

This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.

CISA data retrieved 2026-12-05 02:05 UTC. Check CISA ↗

How to respond

  1. Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
  2. Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
  3. Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.

Sources and remediation references

This public advisory does not determine whether a particular server is affected. Records are refreshed as sources change; verify urgent decisions against the original advisory.

← Browse the public CVE feed