CVE-2026-99815

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

Published Nov 30, 2026 CVSS n/a EPSS < 1% KEV · Not listed
Description
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]

Analysis

AI-generated

Technical impact

A flaw in the Linux kernel filesystem driver ntfs3 allows a crafted NTFS image to supply an EA entry with a length that satisfies the buffer size check but exceeds the declared entry size. The code path that branches on a non‑zero entry size fails to verify that the name and value of the entry fit within that declared size, causing ntfs_get_ea to perform a memcpy with a length that can read past the end of the allocated region. The result is an out‑of‑bounds read that leaks neighboring heap memory and can expose sensitive kernel data to an attacker.

Affected Systems

This bug is present in the Linux kernel whenever the ntfs3 filesystem module is compiled or loaded. No specific kernel release numbers are given in the CVE, so any system that has not yet incorporated the ntfs3 fix can be impacted.

Risk and Exploitability

The CVSS score is not listed and EPSS data is unavailable, so the quantitative risk metrics are unknown. Since the vulnerability requires a crafted NTFS image that the kernel will process, the attack vector is likely local or requires the ability to mount an arbitrary NTFS filesystem. The primary consequence is memory disclosure, which could aid an attacker in locating other kernel or user data that may lead to privilege escalation. Although the flaw does not directly grant code execution, the disclosed information could be used in a chained exploit. The vulnerability is not currently listed in the CISA KEV catalog, but it remains a valid concern for systems handling NTFS partitions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that includes the ntfs3/ntfs_read_ea fix.
  • If upgrading is not immediately possible, unload or disable the ntfs3 module (e.g., modprobe -r ntfs3) to prevent the vulnerable code from being executed.
  • Restrict mounting of NTFS filesystems to trusted users and monitor kernel logs for out‑of‑bounds read warnings or KASAN reports.

Generated by OpenCVE AI on November 30, 2026 at 15:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-125
Type Values Removed Values Added
Description 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]
Title fs/ntfs3: validate EA entry layout against ef->size in ntfs_read_ea
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 7:52 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Nov 30, 2026, 8:18 AM
Modified
Nov 30, 2026, 8:18 AM