CVE-2026-89779

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

9.1 critical EPSS 0.70%

Published 16 Sep 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-89779

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-89779 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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, ntfs_read_ea() 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. ntfs_get_ea() 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 ntfs_get_ea (fs/ntfs3/xattr.c:302) Read of size 65535 at addr ffff888100794550 by task exploit __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:441) vfs_getxattr (fs/xattr.c:474) do_getxattr (fs/xattr.c:800) path_getxattrat (fs/xattr.c:868) do_syscall_64 (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.

Severity (CVSS)

9.1 critical CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.70%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 54.3% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 333feb7ba84f69f9b423422417aaac54fd9e7c84, before b27e68ad818a4ca2cef8f35f97e75d756714c818
affected from 000a9a72efa4a9df289bab9c9e8ba1639c72e0d6, before 28a924c7e67e6d71abeb04860b61166fecb027fc
affected from 0e8235d28f3a0e9eda9f02ff67ee566d5f42b66b, before d585ed08308909c7e6fefb4e8a258aeb29b19ff9
affected from 0e8235d28f3a0e9eda9f02ff67ee566d5f42b66b, before 077df8464cf24f8ffc82fb6efec2ae600686e699
affected from 0e8235d28f3a0e9eda9f02ff67ee566d5f42b66b, before aab1880058ac767d3ea9388a9a7221c776c22c44
affected from 0e8235d28f3a0e9eda9f02ff67ee566d5f42b66b, before c8a109c9e23a2c7fd548473dde728b2cb8188146
affected from 0e8235d28f3a0e9eda9f02ff67ee566d5f42b66b, before c22f91d82cb9a29d22bdffdce6c803467984ad0c
affected from 5.15.121, before 5.15.221
affected from 6.1.40, before 6.1.188
Other versions: unaffected
Linux
affected 6.2
unaffected before 6.2
unaffected from 5.15.221 up to and including 5.15.*
unaffected from 6.1.188 up to and including 6.1.*
unaffected from 6.6.157 up to and including 6.6.*
unaffected from 6.12.110 up to and including 6.12.*
unaffected from 6.18.52 up to and including 6.18.*
unaffected from 7.2.6 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-89779 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89779

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-89779
trivy image --scanners vuln IMAGE | grep CVE-2026-89779

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-89779 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.