{"id":"CVE-2026-89785","aliases":["CVE-2026-89785"],"related":[],"kind":"vulnerability","state":"published","title":"fs/ntfs3: fix out-of-bounds read of INDEX_ROOT in reparse/objid init","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: fix out-of-bounds read of INDEX_ROOT in reparse/objid init\n\nntfs_reparse_init() and ntfs_objid_init() parse the index root of the\n$Extend/$Reparse and $Extend/$ObjId metafiles (the INDEX_ROOT attributes\nnamed $R and $O). They read its type and rule fields through\nresident_data(), which does not check that the resident attribute is\nlarge enough to hold them.\n\nmi_enum_attr() accepts a resident attribute with data_off == asize and\ndata_size == 0. For such an attribute placed last in its MFT record,\nresident_data() returns a pointer to the end of the record_size buffer,\nso reading root->type / root->rule reads past the allocation.\n\nUse resident_data_ex(attr, sizeof(struct INDEX_ROOT)) and bail out when\nit returns NULL, as ntfs_security_init() already does for $SDH / $SII.\n\nThe attribute is only parsed while mounting a crafted image, so this\nneeds CAP_SYS_ADMIN.\n\n BUG: KASAN: slab-out-of-bounds in ntfs_reparse_init (fs/ntfs3/fsntfs.c:2306)\n Read of size 4 at addr ffff88801219dc00 by task mount\n  ntfs_reparse_init (fs/ntfs3/fsntfs.c:2306)\n  ntfs_fill_super (fs/ntfs3/super.c:1604)\n  get_tree_bdev_flags (fs/super.c:1703)\n  vfs_get_tree (fs/super.c:1758)\n  path_mount (fs/namespace.c:4131)\n  __x64_sys_mount (fs/namespace.c:4360)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: fix out-of-bounds read of INDEX_ROOT in reparse/objid init\n\nntfs_reparse_init() and ntfs_objid_init() parse the index root of the\n$Extend/$Reparse and $Extend/$ObjId metafiles (the INDEX_ROOT attributes\nnamed $R and $O). They read its type and rule fields through\nresident_data(), which does not check that the resident attribute is\nlarge enough to hold them.\n\nmi_enum_attr() accepts a resident attribute with data_off == asize and\ndata_size == 0. For such an attribute placed last in its MFT record,\nresident_data() returns a pointer to the end of the record_size buffer,\nso reading root->type / root->rule reads past the allocation.\n\nUse resident_data_ex(attr, sizeof(struct INDEX_ROOT)) and bail out when\nit returns NULL, as ntfs_security_init() already does for $SDH / $SII.\n\nThe attribute is only parsed while mounting a crafted image, so this\nneeds CAP_SYS_ADMIN.\n\n BUG: KASAN: slab-out-of-bounds in ntfs_reparse_init (fs/ntfs3/fsntfs.c:2306)\n Read of size 4 at addr ffff88801219dc00 by task mount\n  ntfs_reparse_init (fs/ntfs3/fsntfs.c:2306)\n  ntfs_fill_super (fs/ntfs3/super.c:1604)\n  get_tree_bdev_flags (fs/super.c:1703)\n  vfs_get_tree (fs/super.c:1758)\n  path_mount (fs/namespace.c:4131)\n  __x64_sys_mount (fs/namespace.c:4360)","source":"cvelist"}],"published":"2026-09-16T08:48:23.084Z","modified":"2026-10-19T09:18:22.083Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"82cae269cfa953032fbb8980a7d554d60fb00b17","fixed":"eb80003744e32a7366a523015e4acfe0a2ac7d88","status":"affected"},{"type":"git","introduced":"82cae269cfa953032fbb8980a7d554d60fb00b17","fixed":"bd631e2005290a55c8edda87363bc0d594c01705","status":"affected"},{"type":"git","introduced":"82cae269cfa953032fbb8980a7d554d60fb00b17","fixed":"94fce1d3e74fe011e21f17490ba58491709fd7e5","status":"affected"},{"type":"git","introduced":"82cae269cfa953032fbb8980a7d554d60fb00b17","fixed":"66c074eab6f966fbe48a0fc4b3a45b2a2e2df527","status":"affected"},{"type":"git","introduced":"82cae269cfa953032fbb8980a7d554d60fb00b17","fixed":"64bb6000bfbdf241a6dd578199acd90321a4243e","status":"affected"},{"type":"git","introduced":"82cae269cfa953032fbb8980a7d554d60fb00b17","fixed":"72caafbc95c5dca8266a942b8e96ad81d8d9adc7","status":"affected"},{"type":"git","introduced":"82cae269cfa953032fbb8980a7d554d60fb00b17","fixed":"2064bc663f89e61b8681c1fb9d1ce445de72063d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","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/eb80003744e32a7366a523015e4acfe0a2ac7d88","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bd631e2005290a55c8edda87363bc0d594c01705","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/94fce1d3e74fe011e21f17490ba58491709fd7e5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/66c074eab6f966fbe48a0fc4b3a45b2a2e2df527","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/64bb6000bfbdf241a6dd578199acd90321a4243e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/72caafbc95c5dca8266a942b8e96ad81d8d9adc7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2064bc663f89e61b8681c1fb9d1ce445de72063d","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89785","url":"https://www.cve.org/CVERecord?id=CVE-2026-89785","licence":"CVE Terms of Use","modified":"2026-10-19T08:52:38.323Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89785","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89785","licence":"Public domain","modified":"2026-10-19T09:18:22.083Z"}],"updatedAt":"2026-11-25T22:59:38.924Z","epss":{"score":0.00211,"percentile":0.12089,"date":"2026-12-01T12:00:22.000Z"}}