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 960623F413F for ; Wed, 27 May 2026 12:24:32 +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=1779884673; cv=none; b=S0gxG/js1oTe8Q5nx+w37ao5SX54KPbKh0MUUV0og8hRdoVImoWNa1H1UOZsXIdoU/gqT2afiZ4NS+OaF6uXO9M4BnHygDzDH0DgpB3v1koUbMkk0RmxALp9Lyjqf5RJZOaiLCJ2Ujr68VrMDkOrmqlJjnuXbYRAlwLAoVb6ceY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779884673; c=relaxed/simple; bh=zgsoViFs02NGU8NcSAS7OE4u9z1oXASUwRVwNCfiwZI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RXFXlrEz6Is9PHlRKhQ/eSAa3q7nCNWir070vP+Qgbm4N2bwGa/y4AKdlszRQO1L6VtS36bXO/mYigreeK6U6+zDOuUUL+Rz0bIDa2D8JVJib9VFimazvgWTmnCF/x7s392MQOPnYF+AI+I37nLP/XLX2faOykKdTwxaZh8JCQk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=bGr+cR6q; 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="bGr+cR6q" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E41601F00A3A; Wed, 27 May 2026 12:24:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779884672; bh=y0RXzU7veg6DaEEkrgOsc4EKkm0z9gc0y8XS/k3g+GE=; h=From:To:Cc:Subject:Date:Reply-To; b=bGr+cR6qHUVr2PxmTzbbrLk9Ftvm2FXli1WVu5uKvak4IyoUzuN8WIHCcGQ5SRp46 ztuKzDhSAOvF4mIK7mkto2pWtzjFRLHwOGJWMmBc0RVQuA9mi7ZW4K1nceZPUxkSuw brp67sXr3JkWaFsr6K36SnFSQTtiMsgB59zQs70k= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-45935: fs/ntfs3: Fix slab-out-of-bounds read in DeleteIndexEntryRoot Date: Wed, 27 May 2026 14:19:37 +0200 Message-ID: <2026052727-CVE-2026-45935-aea5@gregkh> X-Mailer: git-send-email 2.54.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=3687; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=nxJ0WaP2C/XFrpKVAf+d2gVT+dT2J4efryx6SbgsgvM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFliD0WeyT+KjK6zUfjUHXX+9ju+hxcCnqf4CP9Pt+Fg6 X8U906vI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACay4iLDgs6Q06FCM5cqx8hs bMpckT5J0SP0NMM8xaKzF/8/kazcv/hpad7Nx28/sVgxAQA= 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: fs/ntfs3: Fix slab-out-of-bounds read in DeleteIndexEntryRoot In the 'DeleteIndexEntryRoot' case of the 'do_action' function, the entry size ('esize') is retrieved from the log record without adequate bounds checking. Specifically, the code calculates the end of the entry ('e2') using: e2 = Add2Ptr(e1, esize); It then calculates the size for memmove using 'PtrOffset(e2, ...)', which subtracts the end pointer from the buffer limit. If 'esize' is maliciously large, 'e2' exceeds the used buffer size. This results in a negative offset which, when cast to size_t for memmove, interprets as a massive unsigned integer, leading to a heap buffer overflow. This commit adds a check to ensure that the entry size ('esize') strictly fits within the remaining used space of the index header before performing memory operations. The Linux kernel CVE team has assigned CVE-2026-45935 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit b46acd6a6a627d876898e1c84d3f84902264b445 and fixed in 5.15.202 with commit 36c03f7f177b34d51f1cf1d2304b1074607bf4b0 Issue introduced in 5.15 with commit b46acd6a6a627d876898e1c84d3f84902264b445 and fixed in 6.1.165 with commit b271c9cb85927210b1b799e55ee7f702d12b4336 Issue introduced in 5.15 with commit b46acd6a6a627d876898e1c84d3f84902264b445 and fixed in 6.6.128 with commit a584b9d1059b29e97e17c919274e9adfb846f2a0 Issue introduced in 5.15 with commit b46acd6a6a627d876898e1c84d3f84902264b445 and fixed in 6.12.75 with commit c065541b71b79874c83d418a9acd18ad5826339b Issue introduced in 5.15 with commit b46acd6a6a627d876898e1c84d3f84902264b445 and fixed in 6.18.14 with commit 78942172d5bff4d4afed8674abc09cc560ce44a0 Issue introduced in 5.15 with commit b46acd6a6a627d876898e1c84d3f84902264b445 and fixed in 6.19.4 with commit f3b437a4c3e022a1449658ae9f3dd34859894513 Issue introduced in 5.15 with commit b46acd6a6a627d876898e1c84d3f84902264b445 and fixed in 7.0 with commit b2bc7c44ed1779fc9eaab9a186db0f0d01439622 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-45935 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/fslog.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/36c03f7f177b34d51f1cf1d2304b1074607bf4b0 https://git.kernel.org/stable/c/b271c9cb85927210b1b799e55ee7f702d12b4336 https://git.kernel.org/stable/c/a584b9d1059b29e97e17c919274e9adfb846f2a0 https://git.kernel.org/stable/c/c065541b71b79874c83d418a9acd18ad5826339b https://git.kernel.org/stable/c/78942172d5bff4d4afed8674abc09cc560ce44a0 https://git.kernel.org/stable/c/f3b437a4c3e022a1449658ae9f3dd34859894513 https://git.kernel.org/stable/c/b2bc7c44ed1779fc9eaab9a186db0f0d01439622