{"id":"CVE-2026-143125","summary":"ntfs: do not read an index block outside $INDEX_ALLOCATION","details":"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-\u003emrec_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.","modified":"2026-12-03T11:01:24.134059215Z","published":"2026-12-03T09:19:35.382Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143125.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0ea30dd6eeabc09235d5c2cdb98ca4e0d593963f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6186ed82a82036a592b2f4415ed9d6445cfbbca1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143125.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143125"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d9e00c457d4ab8ab59c6e4b8554c921260e4e16c"},{"fixed":"6186ed82a82036a592b2f4415ed9d6445cfbbca1"},{"fixed":"0ea30dd6eeabc09235d5c2cdb98ca4e0d593963f"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0400e0d50eb3be19c98323faa322b652e4ae3f99"}]}],"versions":["v7.2.15","v7.2.14","v7.2.13","v7.2.12","v7.2.11","v7.2.10","v7.2.9","v7.2.8","v7.2.7","v7.2.6"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143125.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.2.6"},{"fixed":"7.3"}]},{"type":"ECOSYSTEM","events":[{"introduced":"7.3.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143125.json"}}],"schema_version":"1.9.2"}