{"id":"CVE-2026-143125","state":"PUBLISHED","title":"ntfs: do not read an index block outside $INDEX_ALLOCATION","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: do not read an index block outside $INDEX_ALLOCATION\n\nA directory whose $INDEX_ROOT has a child node but whose\n$INDEX_ALLOCATION is missing or damaged gets an empty index inode from\nntfs_read_locked_index_inode(): size 0 and not non-resident.\nntfs_lookup_inode_by_name() still follows the child node and reads a\nfolio from that inode while it holds the mft record lock of the\ndirectory.\n\nSince the resident iomap read started to take base_ni->mrec_lock, that\nread waits for a lock the caller already holds:\n\n  INFO: task init:1 is blocked on a mutex likely owned by task init:1.\n   __mutex_lock\n   __ntfs_read_iomap_begin\n   ntfs_read_iomap_next\n   iomap_read_folio\n   ntfs_read_folio\n   ntfs_lookup_inode_by_name\n   ntfs_lookup\n\nThe task never returns, and neither does anything else that needs the\ndirectory's mft record.\n\nIt takes one corrupted byte on an image from mkntfs: change the first\nbyte of the type of the $INDEX_ALLOCATION attribute header of a\ndirectory with index blocks from 0xa0 to 0x00. The first lookup in that\ndirectory hangs.\n\nCheck that the index inode is non-resident and that the vcn lies inside\nit before every index block read, and fail with -EIO otherwise. This\nalso rejects a negative vcn, which was only checked on later descents.","publishedAt":"2026-12-03T09:19:35.382Z","updatedAt":"2026-12-03T09:19:35.382Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d9e00c457d4ab8ab59c6e4b8554c921260e4e16c","status":"affected","lessThan":"6186ed82a82036a592b2f4415ed9d6445cfbbca1","versionType":"git"},{"version":"d9e00c457d4ab8ab59c6e4b8554c921260e4e16c","status":"affected","lessThan":"0ea30dd6eeabc09235d5c2cdb98ca4e0d593963f","versionType":"git"},{"version":"0400e0d50eb3be19c98323faa322b652e4ae3f99","status":"affected","versionType":"git"},{"version":"7.2.6","status":"affected","lessThan":"7.3","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs/dir.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.3","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs/dir.c"]}],"references":["https://git.kernel.org/stable/c/6186ed82a82036a592b2f4415ed9d6445cfbbca1","https://git.kernel.org/stable/c/0ea30dd6eeabc09235d5c2cdb98ca4e0d593963f"],"weaknesses":[],"ingestedAt":"2026-12-03T09:40:06.136Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143125.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143125","state":"PUBLISHED","datePublished":"2026-12-03T09:19:35.382Z","dateUpdated":"2026-12-03T09:19:35.382Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.351Z"},"containers":{"cna":{"title":"ntfs: do not read an index block outside $INDEX_ALLOCATION","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: do not read an index block outside $INDEX_ALLOCATION\n\nA directory whose $INDEX_ROOT has a child node but whose\n$INDEX_ALLOCATION is missing or damaged gets an empty index inode from\nntfs_read_locked_index_inode(): size 0 and not non-resident.\nntfs_lookup_inode_by_name() still follows the child node and reads a\nfolio from that inode while it holds the mft record lock of the\ndirectory.\n\nSince the resident iomap read started to take base_ni->mrec_lock, that\nread waits for a lock the caller already holds:\n\n  INFO: task init:1 is blocked on a mutex likely owned by task init:1.\n   __mutex_lock\n   __ntfs_read_iomap_begin\n   ntfs_read_iomap_next\n   iomap_read_folio\n   ntfs_read_folio\n   ntfs_lookup_inode_by_name\n   ntfs_lookup\n\nThe task never returns, and neither does anything else that needs the\ndirectory's mft record.\n\nIt takes one corrupted byte on an image from mkntfs: change the first\nbyte of the type of the $INDEX_ALLOCATION attribute header of a\ndirectory with index blocks from 0xa0 to 0x00. The first lookup in that\ndirectory hangs.\n\nCheck that the index inode is non-resident and that the vcn lies inside\nit before every index block read, and fail with -EIO otherwise. This\nalso rejects a negative vcn, which was only checked on later descents."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d9e00c457d4ab8ab59c6e4b8554c921260e4e16c","status":"affected","lessThan":"6186ed82a82036a592b2f4415ed9d6445cfbbca1","versionType":"git"},{"version":"d9e00c457d4ab8ab59c6e4b8554c921260e4e16c","status":"affected","lessThan":"0ea30dd6eeabc09235d5c2cdb98ca4e0d593963f","versionType":"git"},{"version":"0400e0d50eb3be19c98323faa322b652e4ae3f99","status":"affected","versionType":"git"},{"version":"7.2.6","status":"affected","lessThan":"7.3","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs/dir.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.3","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs/dir.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/6186ed82a82036a592b2f4415ed9d6445cfbbca1"},{"url":"https://git.kernel.org/stable/c/0ea30dd6eeabc09235d5c2cdb98ca4e0d593963f"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:19:35.382Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.3","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.3","versionEndExcluding":"7.4-rc3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.2.6"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}