{"id":"CVE-2026-89779","aliases":["CVE-2026-89779"],"related":[],"kind":"vulnerability","state":"published","title":"fs/ntfs3: validate ef->size covers the record's name and value","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: validate ef->size covers the record's name and value\n\nWhen an EA record has a non-zero ef->size, ntfs_read_ea() only checks\nthat the record fits in the remaining buffer (ea_size > bytes), not that\nef->size is large enough to hold the record's own name_len + 1 + elength.\n\nA crafted image can pass validation with, e.g., ef->size = 24 but\nelength = 0xffff. ntfs_get_ea() then trusts elength and copies it out of\nthe undersized record, reading past the kmalloc(info->size) allocation\nand leaking heap memory to userspace via getxattr():\n\n BUG: KASAN: slab-out-of-bounds in ntfs_get_ea (fs/ntfs3/xattr.c:302)\n Read of size 65535 at addr ffff888100794550 by task exploit\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:441)\n  vfs_getxattr (fs/xattr.c:474)\n  do_getxattr (fs/xattr.c:800)\n  path_getxattrat (fs/xattr.c:868)\n  do_syscall_64 (arch/x86/entry/syscall_64.c:94)\n\n The buggy address is located 80 bytes inside of\n  allocated 84-byte region in cache kmalloc-96\n\nCompute the size the record needs and require ef->size to cover it.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: validate ef->size covers the record's name and value\n\nWhen an EA record has a non-zero ef->size, ntfs_read_ea() only checks\nthat the record fits in the remaining buffer (ea_size > bytes), not that\nef->size is large enough to hold the record's own name_len + 1 + elength.\n\nA crafted image can pass validation with, e.g., ef->size = 24 but\nelength = 0xffff. ntfs_get_ea() then trusts elength and copies it out of\nthe undersized record, reading past the kmalloc(info->size) allocation\nand leaking heap memory to userspace via getxattr():\n\n BUG: KASAN: slab-out-of-bounds in ntfs_get_ea (fs/ntfs3/xattr.c:302)\n Read of size 65535 at addr ffff888100794550 by task exploit\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:441)\n  vfs_getxattr (fs/xattr.c:474)\n  do_getxattr (fs/xattr.c:800)\n  path_getxattrat (fs/xattr.c:868)\n  do_syscall_64 (arch/x86/entry/syscall_64.c:94)\n\n The buggy address is located 80 bytes inside of\n  allocated 84-byte region in cache kmalloc-96\n\nCompute the size the record needs and require ef->size to cover it.","source":"cvelist"}],"published":"2026-09-16T08:48:19.083Z","modified":"2026-10-19T09:18:21.247Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"333feb7ba84f69f9b423422417aaac54fd9e7c84","fixed":"b27e68ad818a4ca2cef8f35f97e75d756714c818","status":"affected"},{"type":"git","introduced":"000a9a72efa4a9df289bab9c9e8ba1639c72e0d6","fixed":"28a924c7e67e6d71abeb04860b61166fecb027fc","status":"affected"},{"type":"git","introduced":"0e8235d28f3a0e9eda9f02ff67ee566d5f42b66b","fixed":"d585ed08308909c7e6fefb4e8a258aeb29b19ff9","status":"affected"},{"type":"git","introduced":"0e8235d28f3a0e9eda9f02ff67ee566d5f42b66b","fixed":"077df8464cf24f8ffc82fb6efec2ae600686e699","status":"affected"},{"type":"git","introduced":"0e8235d28f3a0e9eda9f02ff67ee566d5f42b66b","fixed":"aab1880058ac767d3ea9388a9a7221c776c22c44","status":"affected"},{"type":"git","introduced":"0e8235d28f3a0e9eda9f02ff67ee566d5f42b66b","fixed":"c8a109c9e23a2c7fd548473dde728b2cb8188146","status":"affected"},{"type":"git","introduced":"0e8235d28f3a0e9eda9f02ff67ee566d5f42b66b","fixed":"c22f91d82cb9a29d22bdffdce6c803467984ad0c","status":"affected"},{"type":"semver","introduced":"5.15.121","fixed":"5.15.221","status":"affected"},{"type":"semver","introduced":"6.1.40","fixed":"6.1.188","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.2","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","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/b27e68ad818a4ca2cef8f35f97e75d756714c818","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/28a924c7e67e6d71abeb04860b61166fecb027fc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d585ed08308909c7e6fefb4e8a258aeb29b19ff9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/077df8464cf24f8ffc82fb6efec2ae600686e699","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aab1880058ac767d3ea9388a9a7221c776c22c44","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c8a109c9e23a2c7fd548473dde728b2cb8188146","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c22f91d82cb9a29d22bdffdce6c803467984ad0c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89779","url":"https://www.cve.org/CVERecord?id=CVE-2026-89779","licence":"CVE Terms of Use","modified":"2026-10-19T08:52:31.490Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89779","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89779","licence":"Public domain","modified":"2026-10-19T09:18:21.247Z"}],"updatedAt":"2026-11-25T22:59:38.922Z","epss":{"score":0.00697,"percentile":0.54319,"date":"2026-12-01T12:00:22.000Z"}}