Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4CF2E346AE3 for ; Sat, 15 Aug 2026 06:15:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774550; cv=none; b=Q17qiquWcp8r3ZZqxRgNnmJ0VYYWE+fA3SjnMktYsg054wJMMs9P4yP127bO2SFs6fZR/BxFwjigpeP0vieGvIy+PGqS3N4piH3h5jbP1FhJMSknch64d0+Q5NjAiDNmrMwVsf6dGS3CsCSESmDQbbI8twHTTrpkpB7DFu8p5Wo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774550; c=relaxed/simple; bh=Xee/d1q/Fw1+SPP9AsfsXDRaWnNWBNK8x5ZdyCkUC7E=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lSjqfUpdGIxqr21Y0K6LWPRZ9PdUtst8JGlhOyivcDNjs5f3L6Z9g5rh9hRnaz38Wvv9n8L5MLC1p5og1ieGoNC1ieGWz2fqOCIhRj3hA5u5X7OdTT6E/TpxJ4ZxRGIWqXKDAnv2PDEpd56WB2A5UxRf9wYZEsn0/8/4258w5EM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ntX9SORp; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ntX9SORp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 495591F00A3A; Sat, 15 Aug 2026 06:15:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774548; bh=2w1krIjH9c61pZcc+/+3cz3yvXvdXotqHFrS3sGn0iI=; h=From:To:Cc:Subject:Date:Reply-To; b=ntX9SORpl6i4nJ3CGusL8hJquQDp0jSaS1IW491pNy8ZoQyofdRxhjiOV1fI988xh Hlp1ULHln72ayi/ew82EtDYaB0Liy0sXJSjDY4MF5XsWGFOARfpjL6zQtXGGoBWC8W piJLMKKjL1pHPcPrCnDyVBVW5E7iNa6IVpKgeZBM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72192: ntfs3: bound to_move in indx_insert_into_root before hdr_insert_head Date: Sat, 15 Aug 2026 15:04:31 +0900 Message-ID: <2026081542-CVE-2026-72192-e0b8@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4975; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=tcNFB151cnWy5WeuvC9lSDgMQn3Qnpgc9myB76/C6wE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDMcKdSXCjOrjW2Mft94J4rc71CTSon5ua6TdVaGcv M2NGxQ6YlkYBJkYZMUUWb5s4zm6v+KQopeh7WmYOaxMIEMYuDgFYCJP/jLMr2U2Ues1UFVmN3Dy c+9x4n2/VncJw/yiPI1Ew9Nv95jtjN63cbrhoi1i3akA X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: ntfs3: bound to_move in indx_insert_into_root before hdr_insert_head indx_insert_into_root() promotes a full resident $INDEX_ROOT into $INDEX_ALLOCATION and copies all non-last resident root entries into a newly allocated INDEX_BUFFER via hdr_insert_head(). The source byte count 'to_move' is summed from the on-disk resident entry sizes and is independent of the destination buffer size, which comes from root->index_block_size (via indx->index_bits). A crafted NTFS image that keeps a valid, full resident root but shrinks root->index_block_size down to 512 after the root has been populated makes hdr_insert_head() memcpy attacker-controlled resident entry bytes past the end of the kmalloc(1u << indx->index_bits) allocation returned by indx_new(). For a 512-byte destination and a resident root whose non-last entries total 560 bytes, the memcpy overruns by 120 bytes and a following memmove extends the highest written offset to 136 bytes past the allocation. The overflow bytes are a direct copy of on-disk entries (via kmemdup), so they are fully attacker-controlled. The write is reachable from unprivileged open(O_CREAT) on a mounted crafted NTFS image: a single sufficiently long create in a directory whose resident root is already full forces root promotion and triggers the copy. This is a controlled out-of-bounds write of 120-136 bytes past a kmalloc(index_block_size) allocation, with attacker-controlled content. It is a bounded adjacent-heap corruption primitive; it is not an arbitrary-address write. Successful exploitation into a named victim object depends on the surrounding slab layout. Reject the copy at the sink. The destination's INDEX_HDR already reports hdr_total (the payload capacity of the new buffer) and hdr_used (the bytes already consumed by the terminal END entry installed by indx_new()); require that to_move fits in the remaining payload before calling hdr_insert_head(). On mismatch, fail with -EINVAL and mark the filesystem as having a detected on-disk inconsistency, which is the same behaviour as the surrounding validation in this function. The Linux kernel CVE team has assigned CVE-2026-72192 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit 82cae269cfa953032fbb8980a7d554d60fb00b17 and fixed in 5.15.212 with commit 0af83b8155cc848e9f5d2c36e20a70d024214649 Issue introduced in 5.15 with commit 82cae269cfa953032fbb8980a7d554d60fb00b17 and fixed in 6.1.178 with commit cb3161deebcaf8d36d3115abf452c633f2180fc1 Issue introduced in 5.15 with commit 82cae269cfa953032fbb8980a7d554d60fb00b17 and fixed in 6.6.145 with commit 53c5f3b2da3774b41534728aba295c098c9efa19 Issue introduced in 5.15 with commit 82cae269cfa953032fbb8980a7d554d60fb00b17 and fixed in 6.12.97 with commit 194b00c99ba971fa7cf6acd747a36032c6de54eb Issue introduced in 5.15 with commit 82cae269cfa953032fbb8980a7d554d60fb00b17 and fixed in 6.18.40 with commit aaa1f956c0fc41089a4a534da7df91552a08a47c Issue introduced in 5.15 with commit 82cae269cfa953032fbb8980a7d554d60fb00b17 and fixed in 7.1.5 with commit d240f5f9d036b8180224954d9873f172b6be4dd8 Issue introduced in 5.15 with commit 82cae269cfa953032fbb8980a7d554d60fb00b17 and fixed in 7.2-rc1 with commit 9b6926ac9c970ae0b2c2fe6289b16e9aa10b6a67 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-72192 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: fs/ntfs3/index.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/0af83b8155cc848e9f5d2c36e20a70d024214649 https://git.kernel.org/stable/c/cb3161deebcaf8d36d3115abf452c633f2180fc1 https://git.kernel.org/stable/c/53c5f3b2da3774b41534728aba295c098c9efa19 https://git.kernel.org/stable/c/194b00c99ba971fa7cf6acd747a36032c6de54eb https://git.kernel.org/stable/c/aaa1f956c0fc41089a4a534da7df91552a08a47c https://git.kernel.org/stable/c/d240f5f9d036b8180224954d9873f172b6be4dd8 https://git.kernel.org/stable/c/9b6926ac9c970ae0b2c2fe6289b16e9aa10b6a67