{"id":"CVE-2026-99815","aliases":["CVE-2026-99815"],"related":[],"kind":"vulnerability","state":"published","title":"fs/ntfs3: validate EA entry layout against ef->size in ntfs_read_ea","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: validate EA entry layout against ef->size in ntfs_read_ea\n\nIn ntfs_read_ea(), the ef->size branch only checks that the declared\nentry size fits the remaining buffer; unlike the zero-size branch it\nnever verifies that the entry's own name and value fit inside ef->size.\nA crafted image can thus present an in-bounds ef->size with an arbitrary\nelength, which find_ea()/ntfs_get_ea() later use as the memcpy length,\nreading past the allocation and leaking adjacent heap memory:\n\n  BUG: KASAN: slab-out-of-bounds in ntfs_get_ea (fs/ntfs3/xattr.c:302)\n  Read of size 65535 at addr ffff888010770b0f by task exploit/142\n   ...\n   __asan_memcpy (mm/kasan/shadow.c:105)\n   ntfs_get_ea (fs/ntfs3/xattr.c:302)\n   ntfs_getxattr (fs/ntfs3/xattr.c:848)\n   __vfs_getxattr (fs/xattr.c:446)\n   vfs_getxattr (fs/xattr.c:479)\n   do_getxattr (fs/xattr.c:808)\n   filename_getxattr (fs/xattr.c:837)\n   path_getxattrat (fs/xattr.c:876)\n   do_syscall_64 (arch/x86/entry/syscall_64.c:94)\n  ...\n  The buggy address is located 15 bytes inside of\n   allocated 20-byte region, cache kmalloc-32\n\nValidate the name/value layout in the ef->size branch too, bounding it\nagainst ef->size, as the zero-size branch validates it against the\nbuffer.\n\n[almaz.alexandrovich@paragon-software.com: remove duplicate check of need > ea_size]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: validate EA entry layout against ef->size in ntfs_read_ea\n\nIn ntfs_read_ea(), the ef->size branch only checks that the declared\nentry size fits the remaining buffer; unlike the zero-size branch it\nnever verifies that the entry's own name and value fit inside ef->size.\nA crafted image can thus present an in-bounds ef->size with an arbitrary\nelength, which find_ea()/ntfs_get_ea() later use as the memcpy length,\nreading past the allocation and leaking adjacent heap memory:\n\n  BUG: KASAN: slab-out-of-bounds in ntfs_get_ea (fs/ntfs3/xattr.c:302)\n  Read of size 65535 at addr ffff888010770b0f by task exploit/142\n   ...\n   __asan_memcpy (mm/kasan/shadow.c:105)\n   ntfs_get_ea (fs/ntfs3/xattr.c:302)\n   ntfs_getxattr (fs/ntfs3/xattr.c:848)\n   __vfs_getxattr (fs/xattr.c:446)\n   vfs_getxattr (fs/xattr.c:479)\n   do_getxattr (fs/xattr.c:808)\n   filename_getxattr (fs/xattr.c:837)\n   path_getxattrat (fs/xattr.c:876)\n   do_syscall_64 (arch/x86/entry/syscall_64.c:94)\n  ...\n  The buggy address is located 15 bytes inside of\n   allocated 20-byte region, cache kmalloc-32\n\nValidate the name/value layout in the ef->size branch too, bounding it\nagainst ef->size, as the zero-size branch validates it against the\nbuffer.\n\n[almaz.alexandrovich@paragon-software.com: remove duplicate check of need > ea_size]","source":"cvelist"}],"published":"2026-11-30T07:52:18.440Z","modified":"2026-11-30T08:18:02.257Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"be71b5cba2e6485e8959da7a9f9a44461a1bb074","fixed":"9d878b65f8de50bcd350577274ee2269ec966e06","status":"affected"},{"type":"git","introduced":"be71b5cba2e6485e8959da7a9f9a44461a1bb074","fixed":"53d58a880c6054761d753c7556c298c8898dddf8","status":"affected"},{"type":"git","introduced":"be71b5cba2e6485e8959da7a9f9a44461a1bb074","fixed":"bfb7f7493c172742ab16fe54b3b042160ee5501a","status":"affected"},{"type":"git","introduced":"be71b5cba2e6485e8959da7a9f9a44461a1bb074","fixed":"a43bdd6efbe733c9d5072d045294247a4b1e4d6e","status":"affected"},{"type":"git","introduced":"be71b5cba2e6485e8959da7a9f9a44461a1bb074","fixed":"bdd318f6aa4150b252c86dd378fa43d9a51107ff","status":"affected"},{"type":"git","introduced":"be71b5cba2e6485e8959da7a9f9a44461a1bb074","fixed":"5a2cdad7cf53fcae9bb9641b578ec10d3c0dae16","status":"affected"},{"type":"git","introduced":"be71b5cba2e6485e8959da7a9f9a44461a1bb074","fixed":"01e56820ef52d14a5560fb7c0c6f2f75ef6f9393","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/9d878b65f8de50bcd350577274ee2269ec966e06","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/53d58a880c6054761d753c7556c298c8898dddf8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bfb7f7493c172742ab16fe54b3b042160ee5501a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a43bdd6efbe733c9d5072d045294247a4b1e4d6e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bdd318f6aa4150b252c86dd378fa43d9a51107ff","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5a2cdad7cf53fcae9bb9641b578ec10d3c0dae16","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/01e56820ef52d14a5560fb7c0c6f2f75ef6f9393","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99815","url":"https://www.cve.org/CVERecord?id=CVE-2026-99815","licence":"CVE Terms of Use","modified":"2026-11-30T07:52:18.440Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99815","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99815","licence":"Public domain","modified":"2026-11-30T08:18:02.257Z"}],"updatedAt":"2026-11-30T08:32:36.323Z","epss":{"score":0.00284,"percentile":0.22463,"date":"2026-12-01T12:00:22.000Z"}}