CVE-2026-143126

Not scored yetLast modified Dec 3, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143127In the Linux kernel, the following vulnerability has been resolved: NFSv4: Prevent indefinite waits for out-of-order OPEN stateids When prCVE-2026-143128In the Linux kernel, the following vulnerability has been resolved: net: wait for in-flight device unregistrations before netns dismantle CVE-2026-143129In the Linux kernel, the following vulnerability has been resolved: net/sched: act_ife: require a full Ethernet header on egress This is aCVE-2026-143135.3PeproDev WooCommerce Receipt Uploader (PeproDev WooCommerce Receipt Uploader WordPress plugin through 2.8.0 slug: pepro-bacs-receipt-upload-CVE-2026-143130In the Linux kernel, the following vulnerability has been resolved: net/sched: act_ife: encode configured zero metadata values Reported byCVE-2026-143131In the Linux kernel, the following vulnerability has been resolved: net/sched: sch_teql: reject qdiscs from another network namespace RepoCVE-2026-143132In the Linux kernel, the following vulnerability has been resolved: netfs: don't hang a read whose retry is abandoned When ->prepare_read(CVE-2026-143133In the Linux kernel, the following vulnerability has been resolved: netfs: preserve prepare_write errno on reissue prepare_write() may calCVE-2026-143134In the Linux kernel, the following vulnerability has been resolved: netfilter: xt_recent: do not call remove_proc_entry() under recent_lockCVE-2026-143135In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_dup: preserve guard across NFQUEUE reinjection NFQUEUE cCVE-2026-143136In the Linux kernel, the following vulnerability has been resolved: net: gro: invalidate frag0 after a pull Since commit bd56a29c7a4e ("neCVE-2026-143137In the Linux kernel, the following vulnerability has been resolved: net: gro: do not undo remote checksum offload on merged packets skb_gr
CVE-2026-143126: Unscored | Vulnix