CVE-2026-89785

fs/ntfs3: fix out-of-bounds read of INDEX_ROOT in reparse/objid init

No CVSS score yet EPSS 0.21%

Published 16 Sep 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-89785

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-89785 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: fix out-of-bounds read of INDEX_ROOT in reparse/objid init

ntfs_reparse_init() and ntfs_objid_init() parse the index root of the $Extend/$Reparse and $Extend/$ObjId metafiles (the INDEX_ROOT attributes named $R and $O). They read its type and rule fields through resident_data(), which does not check that the resident attribute is large enough to hold them.

mi_enum_attr() accepts a resident attribute with data_off == asize and data_size == 0. For such an attribute placed last in its MFT record, resident_data() returns a pointer to the end of the record_size buffer, so reading root->type / root->rule reads past the allocation.

Use resident_data_ex(attr, sizeof(struct INDEX_ROOT)) and bail out when it returns NULL, as ntfs_security_init() already does for $SDH / $SII.

The attribute is only parsed while mounting a crafted image, so this needs CAP_SYS_ADMIN.

BUG: KASAN: slab-out-of-bounds in ntfs_reparse_init (fs/ntfs3/fsntfs.c:2306) Read of size 4 at addr ffff88801219dc00 by task mount ntfs_reparse_init (fs/ntfs3/fsntfs.c:2306) ntfs_fill_super (fs/ntfs3/super.c:1604) get_tree_bdev_flags (fs/super.c:1703) vfs_get_tree (fs/super.c:1758) path_mount (fs/namespace.c:4131) __x64_sys_mount (fs/namespace.c:4360)

Exploitation

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

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 82cae269cfa953032fbb8980a7d554d60fb00b17, before eb80003744e32a7366a523015e4acfe0a2ac7d88
affected from 82cae269cfa953032fbb8980a7d554d60fb00b17, before bd631e2005290a55c8edda87363bc0d594c01705
affected from 82cae269cfa953032fbb8980a7d554d60fb00b17, before 94fce1d3e74fe011e21f17490ba58491709fd7e5
affected from 82cae269cfa953032fbb8980a7d554d60fb00b17, before 66c074eab6f966fbe48a0fc4b3a45b2a2e2df527
affected from 82cae269cfa953032fbb8980a7d554d60fb00b17, before 64bb6000bfbdf241a6dd578199acd90321a4243e
affected from 82cae269cfa953032fbb8980a7d554d60fb00b17, before 72caafbc95c5dca8266a942b8e96ad81d8d9adc7
affected from 82cae269cfa953032fbb8980a7d554d60fb00b17, before 2064bc663f89e61b8681c1fb9d1ce445de72063d
Other versions: unaffected
Linux
affected 5.15
unaffected before 5.15
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-89785 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89785

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-89785
trivy image --scanners vuln IMAGE | grep CVE-2026-89785

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-89785 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.