CVE-2026-143125

Source
https://cve.org/CVERecord?id=CVE-2026-143125
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143125.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143125
Downstream
Published
2026-12-03T09:19:35Z
Modified
2026-12-03T11:01:24Z
Summary
ntfs: do not read an index block outside $INDEX_ALLOCATION
Details

In the Linux kernel, the following vulnerability has been resolved:

ntfs: do not read an index block outside $INDEX_ALLOCATION

A directory whose $INDEX_ROOT has a child node but whose $INDEX_ALLOCATION is missing or damaged gets an empty index inode from ntfs_read_locked_index_inode(): size 0 and not non-resident. ntfs_lookup_inode_by_name() still follows the child node and reads a folio from that inode while it holds the mft record lock of the directory.

Since the resident iomap read started to take base_ni->mrec_lock, that read waits for a lock the caller already holds:

INFO: task init:1 is blocked on a mutex likely owned by task init:1. __mutex_lock __ntfs_read_iomap_begin ntfs_read_iomap_next iomap_read_folio ntfs_read_folio ntfs_lookup_inode_by_name ntfs_lookup

The task never returns, and neither does anything else that needs the directory's mft record.

It takes one corrupted byte on an image from mkntfs: change the first byte of the type of the $INDEX_ALLOCATION attribute header of a directory with index blocks from 0xa0 to 0x00. The first lookup in that directory hangs.

Check that the index inode is non-resident and that the vcn lies inside it before every index block read, and fail with -EIO otherwise. This also rejects a negative vcn, which was only checked on later descents.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143125.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

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

Affected versions

v7.*
v7.2.10
v7.2.11
v7.2.12
v7.2.13
v7.2.14
v7.2.15
v7.2.6
v7.2.7
v7.2.8
v7.2.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143125.json"

Linux / Kernel

Package

Name
Kernel

Affected 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"