CVE-2026-143414: ntfs3: bound index head insertions by buffer capacity
In the Linux kernel, the following vulnerability has been resolved:
ntfs3: bound index head insertions by buffer capacity
hdrinserthead() shifts the existing index entries by insbytes without checking that the resulting used size fits within hdr->total. A directory index root larger than the newly allocated index buffer can therefore make the memmove write beyond the buffer.
Reject insertions whose size would exceed the index header capacity and make both split callers unwind the new node when that happens.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.63 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Compensating control
In ntfs3, reject hdr_insert_head() insertions that exceed the index header capacity, verify the resulting used size fits within hdr->total, and make both split callers unwind the newly allocated node if the insertion fails.
Event History
Frequently Asked Questions
What systems are exposed to this issue?
Systems running the Linux kernel with the ntfs3 filesystem driver are exposed when they process an NTFS directory index root large enough to exceed the capacity of a newly allocated index buffer during an index-head insertion.
What does an attacker need to trigger the vulnerability?
The issue requires an NTFS filesystem containing a crafted directory index root that causes an insertion to shift entries beyond the index header's total buffer capacity. The provided data does not specify whether local access, filesystem mounting, or other prerequisites are required.
What happens when the vulnerable code path is reached?
hdr_insert_head() can call memmove with a size that writes beyond the allocated index buffer. This is an out-of-bounds buffer write in the ntfs3 directory-index handling path.
What is the mitigation if an update cannot be applied immediately?
The provided data identifies the ntfs3 driver as the affected component. Avoid processing untrusted NTFS filesystems with ntfs3 until the fix is available; no other workaround is specified.
How does the fix prevent the overflow?
The fix rejects index-head insertions when the resulting used size would exceed the index header capacity. It also makes both split callers unwind the newly created node if such an insertion is rejected.