CVE-2026-143124

Not scored yetLast modified Dec 3, 2026

Description

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

ntfs: open the index allocation before reading or writing an index block

ntfs_ib_write() and ntfs_ib_read() use icx->ia_ni without checking it. ntfs_ir_reparent() only opens the index allocation through ntfs_ia_add() when the root is a small index. For a root that is already marked as a large index it calls ntfs_ib_write() directly.

The lookup does not open the index allocation either when it ends in the root. If the last entry of the root has no child node, ia_ni is still NULL when the root has to be moved into an index block, and the write dereferences it:

Oops: general protection fault, KASAN: null-ptr-deref in range [0x0000000000000128-0x000000000000012f] RIP: 0010:ntfs_inode_attr_pwrite+0x52/0x1600 ntfs_ir_make_space ntfs_ie_add ntfs_index_add_filename __ntfs_link ntfs_link vfs_link

A single byte of an image from mkntfs is enough. In a directory that has one empty index block, clear INDEX_ENTRY_NODE (flags 3 -> 2) of the last entry of the $INDEX_ROOT and link() a file into the directory.

Commit 9365c4a1357e ("ntfs: fix NULL dereference on index allocation open failure") covers the case where ntfs_ia_open() fails in the lookup. Here it was never tried. Open the index allocation on demand in both helpers and fail with -EIO if that does not work.

ntfs_ia_open() also succeeds for a directory that has no $INDEX_ALLOCATION attribute. The inode it returns is then an empty resident stub that does not describe an index allocation, so reject that case too.

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-143125In the Linux kernel, the following vulnerability has been resolved: ntfs: do not read an index block outside $INDEX_ALLOCATION A directoryCVE-2026-143126In the Linux kernel, the following vulnerability has been resolved: ntfs: check the file name against the key length of an index entry ntfCVE-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 c
CVE-2026-143124: Unscored | Vulnix