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 405803B0AED for ; Thu, 17 Sep 2026 16:16:15 +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=1789661776; cv=none; b=PMXgGjA8+8OVwCFVapSdAg89gnKWquzQCZ4GHKzlguomCYU/R7Y0C6AEW0C38yIKnCHSz6C9F2TTcCLheRlauZWPizCEWa+Bk7V2PVqQ8Y3bE+4bWgkUNMxoK6dbT5pcAINfyBdDbNf3M9vzE9FDcFHpXnXUAS2QdUrgtW504AA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789661776; c=relaxed/simple; bh=dBEZtwFbcJIFFIdl9Y1TYArtJoeISEgl1+991SdDSmY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=aRK+e7CZv9MrnAD0O2usScJHQg4mF50jqxnZuLIPssTfIFLZ1d+0+/cbeyYOfRnvHHlCpHRu4I5n6D1wM5Jrw2pldMTSxQGRn4ZMb8lW1+GNSFJYxfVLC5KX+a+enFNq9IWglsM97i/XKB/OqSTP7CuNevrT+gUM9g4vy00aGIQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zhSz8Jq6; 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="zhSz8Jq6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7AB561F000FF; Thu, 17 Sep 2026 16:16:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789661775; bh=Nfvfdps6wsycw676CBKMQyy/rMwyCjQDsumqWNhQhCo=; h=From:To:Cc:Subject:Date:Reply-To; b=zhSz8Jq6dXLDRfLl13J+4mMjmZv8c8BWN7Mr9K8r0vbxjaQh7HL3pDUzirSZN2E1d /DUVtBixjTaltMnxpOUVFBt9UElq9UfN0avfpsNaTuXVqfYMEe9Brer5B7Ty72l44Z zPguZZ/0bAibXC+c6IxO+Q0s/S810V61f+snTbrw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90133: ntfs: Fix index_root heap OOB write in ntfs_ir_to_ib() Date: Thu, 17 Sep 2026 17:09:23 +0100 Message-ID: <2026091720-CVE-2026-90133-6041@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=3421; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=WlylRnY/7exJ10GDPTExXuM+kMTF451ewO6TLdxyuj0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBErYJzL8Nim5e0+F+eMhKeP5cy6GeQp0b5x9Z8309 uksW+endsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEGrUZ5le99/n42S+pWPPN lZmCwRt02PqvrmWYpy/x+Nu7mHTX98zPgpOPnpnyrXCvDQA= 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: ntfs: Fix index_root heap OOB write in ntfs_ir_to_ib() ntfs_ir_to_ib copies all entries from index_root into a freshly allocated index_block_size-byte buffer without verifying that the entries fit in the available space. The entries in index_root may be larger than the usable entry space in the index block. This can cause OOB writes past the end of the allocation. The validator ntfs_index_root_inconsistent() checks that entries are self-consistent within the IR value, but never cross-checks them against index_block_size. There is no bounds check in ntfs_ir_to_ib() before the memcpy. Fixing this at the sink in ntfs_ir_to_ib() since ntfs_index_root_inconsistent() validates the logical consistency of index_root as a structure and a root with large entries is a structurally valid root. The bug is a size conflict of ntfs_ir_to_ib(). Also, the validator is called once per inode load in ntfs_read_locked_inode() while ntfs_ir_to_ib() is only called during a reparent, a check there adds no overhead to the common path. Moreover, even a future call path that bypasses the validator would still be protected. With NULL as first parameter of ntfs_error(), the volume error flag is never set by this call, so the device name will be absent from the error message. In any case, that the caller, ntfs_ir_reparent(), prints an error message that includes the device name on NULL returns. I think this is the best solution available without adding 'struct super_block *sb' as a parameter to ntfs_ir_to_ib(). This heap out-of-bounds write is triggered by a crafted filesystem image, which is not in the kernel threat model, anyway, fixing memory errors would be nice to keep things secure. The Linux kernel CVE team has assigned CVE-2026-90133 to this issue. Affected and fixed versions =========================== Issue introduced in 7.1 with commit 0a8ac0c1fa0b99a5b29002bc7f232ed7eafddef0 and fixed in 7.2.6 with commit 825dec5120933e90c54e30e31ccfa6c3449043a8 Issue introduced in 7.1 with commit 0a8ac0c1fa0b99a5b29002bc7f232ed7eafddef0 and fixed in 7.3-rc1 with commit dc09bf79b76f9a7157e225f449655f3f62f96c9c 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-90133 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/ntfs/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/825dec5120933e90c54e30e31ccfa6c3449043a8 https://git.kernel.org/stable/c/dc09bf79b76f9a7157e225f449655f3f62f96c9c