{"id":"CVE-2026-89785","state":"PUBLISHED","title":"fs/ntfs3: fix out-of-bounds read of INDEX_ROOT in reparse/objid init","description":"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)","publishedAt":"2026-09-16T08:48:23.084Z","updatedAt":"2026-10-19T08:52:38.323Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"eb80003744e32a7366a523015e4acfe0a2ac7d88","versionType":"git"},{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"bd631e2005290a55c8edda87363bc0d594c01705","versionType":"git"},{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"94fce1d3e74fe011e21f17490ba58491709fd7e5","versionType":"git"},{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"66c074eab6f966fbe48a0fc4b3a45b2a2e2df527","versionType":"git"},{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"64bb6000bfbdf241a6dd578199acd90321a4243e","versionType":"git"},{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"72caafbc95c5dca8266a942b8e96ad81d8d9adc7","versionType":"git"},{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"2064bc663f89e61b8681c1fb9d1ce445de72063d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/fsntfs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"5.15.221","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.188","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.110","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/fsntfs.c"]}],"references":["https://git.kernel.org/stable/c/eb80003744e32a7366a523015e4acfe0a2ac7d88","https://git.kernel.org/stable/c/bd631e2005290a55c8edda87363bc0d594c01705","https://git.kernel.org/stable/c/94fce1d3e74fe011e21f17490ba58491709fd7e5","https://git.kernel.org/stable/c/66c074eab6f966fbe48a0fc4b3a45b2a2e2df527","https://git.kernel.org/stable/c/64bb6000bfbdf241a6dd578199acd90321a4243e","https://git.kernel.org/stable/c/72caafbc95c5dca8266a942b8e96ad81d8d9adc7","https://git.kernel.org/stable/c/2064bc663f89e61b8681c1fb9d1ce445de72063d"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:26.108Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/89xxx/CVE-2026-89785.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-89785","state":"PUBLISHED","datePublished":"2026-09-16T08:48:23.084Z","dateUpdated":"2026-10-19T08:52:38.323Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-11T19:38:34.766Z"},"containers":{"cna":{"title":"fs/ntfs3: fix out-of-bounds read of INDEX_ROOT in reparse/objid init","descriptions":[{"lang":"en","value":"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)"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"eb80003744e32a7366a523015e4acfe0a2ac7d88","versionType":"git"},{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"bd631e2005290a55c8edda87363bc0d594c01705","versionType":"git"},{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"94fce1d3e74fe011e21f17490ba58491709fd7e5","versionType":"git"},{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"66c074eab6f966fbe48a0fc4b3a45b2a2e2df527","versionType":"git"},{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"64bb6000bfbdf241a6dd578199acd90321a4243e","versionType":"git"},{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"72caafbc95c5dca8266a942b8e96ad81d8d9adc7","versionType":"git"},{"version":"82cae269cfa953032fbb8980a7d554d60fb00b17","status":"affected","lessThan":"2064bc663f89e61b8681c1fb9d1ce445de72063d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/fsntfs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"5.15.221","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.188","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.110","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.52","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.6","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/fsntfs.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/eb80003744e32a7366a523015e4acfe0a2ac7d88"},{"url":"https://git.kernel.org/stable/c/bd631e2005290a55c8edda87363bc0d594c01705"},{"url":"https://git.kernel.org/stable/c/94fce1d3e74fe011e21f17490ba58491709fd7e5"},{"url":"https://git.kernel.org/stable/c/66c074eab6f966fbe48a0fc4b3a45b2a2e2df527"},{"url":"https://git.kernel.org/stable/c/64bb6000bfbdf241a6dd578199acd90321a4243e"},{"url":"https://git.kernel.org/stable/c/72caafbc95c5dca8266a942b8e96ad81d8d9adc7"},{"url":"https://git.kernel.org/stable/c/2064bc663f89e61b8681c1fb9d1ce445de72063d"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T08:52:38.323Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"5.15.221"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.1.188"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.6.157"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.12.110"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.18.52"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.2.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}