Skip to content
Heist/ feed
Unrated

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

Type: advisorySource: Official CVE List1 source record

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)

Announced Source revision 1
Original source ↗

CVE-2026-89785

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-89785

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "82cae269cfa953032fbb8980a7d554d60fb00b17",
        "lessThan": "eb80003744e32a7366a523015e4acfe0a2ac7d88",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "82cae269cfa953032fbb8980a7d554d60fb00b17",
        "lessThan": "bd631e2005290a55c8edda87363bc0d594c01705",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "82cae269cfa953032fbb8980a7d554d60fb00b17",
        "lessThan": "94fce1d3e74fe011e21f17490ba58491709fd7e5",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "82cae269cfa953032fbb8980a7d554d60fb00b17",
        "lessThan": "66c074eab6f966fbe48a0fc4b3a45b2a2e2df527",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "82cae269cfa953032fbb8980a7d554d60fb00b17",
        "lessThan": "64bb6000bfbdf241a6dd578199acd90321a4243e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "82cae269cfa953032fbb8980a7d554d60fb00b17",
        "lessThan": "72caafbc95c5dca8266a942b8e96ad81d8d9adc7",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "82cae269cfa953032fbb8980a7d554d60fb00b17",
        "lessThan": "2064bc663f89e61b8681c1fb9d1ce445de72063d",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "fs/ntfs3/fsntfs.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.15"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.15",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.15.221",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.188",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.157",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.110",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.52",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.6",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/ntfs3/fsntfs.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-89785

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#36255 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement