Security mailing lists by PureSourceCode

CVE-2026-99815

not scored yet

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

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]

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= be71b5cba2e6485e8959da7a9f9a44461a1bb074, < 9d878b65f8de50bcd350577274ee2269ec966e06; >= be71b5cba2e6485e8959da7a9f9a44461a1bb074, < 53d58a880c6054761d753c7556c298c8898dddf8; >= be71b5cba2e6485e8959da7a9f9a44461a1bb074, < bfb7f7493c172742ab16fe54b3b042160ee5501a; >= be71b5cba2e6485e8959da7a9f9a44461a1bb074, < a43bdd6efbe733c9d5072d045294247a4b1e4d6e; >= be71b5cba2e6485e8959da7a9f9a44461a1bb074, < bdd318f6aa4150b252c86dd378fa43d9a51107ff; >= be71b5cba2e6485e8959da7a9f9a44461a1bb074, < 5a2cdad7cf53fcae9bb9641b578ec10d3c0dae16; >= be71b5cba2e6485e8959da7a9f9a44461a1bb074, < 01e56820ef52d14a5560fb7c0c6f2f75ef6f9393 9d878b65f8de50bcd350577274ee2269ec966e06, 53d58a880c6054761d753c7556c298c8898dddf8, bfb7f7493c172742ab16fe54b3b042160ee5501a, a43bdd6efbe733c9d5072d045294247a4b1e4d6e, bdd318f6aa4150b252c86dd378fa43d9a51107ff, 5a2cdad7cf53fcae9bb9641b578ec10d3c0dae16, 01e56820ef52d14a5560fb7c0c6f2f75ef6f9393
CVE List Linux Linux = 5.15

References

History

  • 30 Nov 2026 08:26 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 08:05 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.