Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-89779

fs/ntfs3: validate ef->size covers the record's name and value
Back to all
CVE

CVE-2026-89779

fs/ntfs3: validate ef->size covers the record's name and value

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

fs/ntfs3: validate ef->size covers the record's name and value

When an EA record has a non-zero ef->size, ntfsreadea() only checks

that the record fits in the remaining buffer (ea_size > bytes), not that

ef->size is large enough to hold the record's own name_len + 1 + elength.

A crafted image can pass validation with, e.g., ef->size = 24 but

elength = 0xffff. ntfsgetea() then trusts elength and copies it out of

the undersized record, reading past the kmalloc(info->size) allocation

and leaking heap memory to userspace via getxattr():

 BUG: KASAN: slab-out-of-bounds in ntfsgetea (fs/ntfs3/xattr.c:302)

 Read of size 65535 at addr ffff888100794550 by task exploit

  _asanmemcpy (mm/kasan/shadow.c:105)

  ntfsgetea (fs/ntfs3/xattr.c:302)

  ntfs_getxattr (fs/ntfs3/xattr.c:848)

  _vfsgetxattr (fs/xattr.c:441)

  vfs_getxattr (fs/xattr.c:474)

  do_getxattr (fs/xattr.c:800)

  path_getxattrat (fs/xattr.c:868)

  dosyscall64 (arch/x86/entry/syscall_64.c:94)

 The buggy address is located 80 bytes inside of

  allocated 84-byte region in cache kmalloc-96

Compute the size the record needs and require ef->size to cover it.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.1
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
C
H
U
-

Related Resources

No items found.

References

https://git.kernel.org/stable/c/077df8464cf24f8ffc82fb6efec2ae600686e699, https://git.kernel.org/stable/c/28a924c7e67e6d71abeb04860b61166fecb027fc, https://git.kernel.org/stable/c/aab1880058ac767d3ea9388a9a7221c776c22c44, https://git.kernel.org/stable/c/b27e68ad818a4ca2cef8f35f97e75d756714c818, https://git.kernel.org/stable/c/c22f91d82cb9a29d22bdffdce6c803467984ad0c, https://git.kernel.org/stable/c/c8a109c9e23a2c7fd548473dde728b2cb8188146, https://git.kernel.org/stable/c/d585ed08308909c7e6fefb4e8a258aeb29b19ff9, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89779.json, https://nvd.nist.gov/vuln/detail/CVE-2026-89779, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Severity

9.1

CVSS Score
0
10

Basic Information

Base CVSS
9.1
EPSS Probability
0.00697%
EPSS Percentile
0.51708%
Introduced Version
333feb7ba84f69f9b423422417aaac54fd9e7c84,000a9a72efa4a9df289bab9c9e8ba1639c72e0d6,0e8235d28f3a0e9eda9f02ff67ee566d5f42b66b,5.15.121,6.1.40,0,5.16.0,6.2.0,6.7.0,6.13.0
Fix Available
b27e68ad818a4ca2cef8f35f97e75d756714c818,28a924c7e67e6d71abeb04860b61166fecb027fc,c22f91d82cb9a29d22bdffdce6c803467984ad0c,5.15.221,6.1.188,6.12.110,6.18.52,7.2.6,6.12.111-1~deb12u1,6.12.111-1

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading