EnvMap GitHub

CVE-2026-143126

ntfs: check the file name against the key length of an index entry

EPSS 0.19%Received

Description

In the Linux kernel, the following vulnerability has been resolved: ntfs: check the file name against the key length of an index entry ntfs_index_entry_inconsistent() checks that the file name of a $FILE_NAME key fits in the index entry. It does not check that the name fits in the key, which is what key_length describes. Code that works on the key alone relies on that. ntfs_readdir() copies key_length bytes of the key of the next entry to resume the enumeration, and later uses the copy to search the index. If file_name_length is larger than the key holds, the name comparison reads past the copy: BUG: KASAN: slab-out-of-bounds in ntfs_file_compare_values+0x2d1/0x4b0 Read of size 2 at addr ffff88800a4ef2ce by task init/1 ntfs_file_compare_values ntfs_collate ntfs_ie_lookup ntfs_index_lookup ntfs_readdir iterate_dir Allocated by task 1: kmemdup_noprof ntfs_readdir The buggy address is located 0 bytes to the right of allocated 78-byte region Two bytes of an image from mkntfs are enough: in an entry whose name has six characters (key_length 78), change file_name_length from 6 to 7, so the key claims 80 bytes. The entry itself is 96 bytes, so the existing check lets it pass. The next readdir of the directory reads the extra bytes. Check the name against key_length, and check that the key is large enough to hold file_name_length in the first place.

In the words of the organisation that published it (Linux).

Severity

  • 7.7 High · CVSS 3.1 from 416baaa9-dc9f-4396-8d5f-8c081fb06d67 · CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Affected

  • Linux: from 0a8ac0c1fa0b99a5b29002bc7f232ed7eafddef0 before 6077c2da2f77b98fd55aa43f351; from 0a8ac0c1fa0b99a5b29002bc7f232ed7eafddef0 before 5e7143476219eac7cab7bdd341d; 7.1

as the publisher (Linux) lists them.

Likelihood of exploitation

FIRST's EPSS gives a 0.19% chance of exploitation in the next 30 days, higher than 9% of all CVEs (as of 4 December 2026).

References

Record

Published10:17 UTC, 3 December 2026
Last changed04:17 UTC, 4 December 2026
NVD statusReceived
Published byLinux

CVE-2026-143126 on NVD · on CVE.org · Security Briefing

Follow it

Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.

How to read it

EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.