From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 465322F6903 for ; Wed, 24 Dec 2025 12:28:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766579309; cv=none; b=aCj5bO/fdp9XQddjg3bljtaphObmBzHhAl4ghaR7lRemeMPc/+1Hwa6D7RmslZjEFQ8g2Bi3iGYRwSDMgpEL1Az7mAArN1c8zhcZRGhFbpIQCyyv3J3Xoo5OIxtfVbxBnci7k2uJvjv/a/exTDL3p7uiaSerEsb+ItjCLUXaWZ8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766579309; c=relaxed/simple; bh=NZf2Gvl26QO1EMJQczQxiVOugDZa6LLC2th28h+dQ3k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GInG15Br9Rx3AIvUi0cgRjWwNshJ05ZbIj7y9+Gxu3SnPy5uk2b7T/k4lRK2iNTqg5QOzjLyVTblIpceUQLFL/bOg4fHdtwSY2ZnVGTgHdrl7nYLTMP3Auks8zrBULPHEZqIIkIFU6tdwbjvYWuo3Ea+sgOGpb6YzfCGoxOwIgs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=VSNozyd9; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="VSNozyd9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C69D9C4CEFB; Wed, 24 Dec 2025 12:28:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766579309; bh=NZf2Gvl26QO1EMJQczQxiVOugDZa6LLC2th28h+dQ3k=; h=From:To:Cc:Subject:Date:Reply-To:From; b=VSNozyd9llNN/eyFUowi89iNgmrMfOC9n0hIt1/m5zmPWJGGPxfeNfa7qFM+K7YJe +HtyFRiRpO/l++P56h+tDPs/A26o+eVEMkNZoxT17vQabPHJZHhE2wdUG/bQ0Dc8rY hgzva1wOIeh5LQ8a3tWGE3P7k0Zv+fPOkRCFZ9Ow= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54063: fs/ntfs3: Fix OOB read in indx_insert_into_buffer Date: Wed, 24 Dec 2025 13:26:56 +0100 Message-ID: <2025122429-CVE-2023-54063-e78c@gregkh> X-Mailer: git-send-email 2.52.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=3258; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xj4hMhuElyJOBtkKaI7E3UFHstyntF83AJrzOv3oEPY=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnet78ysxSe1b/o7cYiLFC3rbfknb1Tzl6p+4lCeR9E+ pfoTArtiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIn0HGGYp2MwtV4kwUhyieQk jo1xF+4z3NQ0ZpjvutazXnnjiuNnBU4KT6neadWvo94MAA== 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 OOB read in indx_insert_into_buffer Syzbot reported a OOB read bug: BUG: KASAN: slab-out-of-bounds in indx_insert_into_buffer+0xaa3/0x13b0 fs/ntfs3/index.c:1755 Read of size 17168 at addr ffff8880255e06c0 by task syz-executor308/3630 Call Trace: memmove+0x25/0x60 mm/kasan/shadow.c:54 indx_insert_into_buffer+0xaa3/0x13b0 fs/ntfs3/index.c:1755 indx_insert_entry+0x446/0x6b0 fs/ntfs3/index.c:1863 ntfs_create_inode+0x1d3f/0x35c0 fs/ntfs3/inode.c:1548 ntfs_create+0x3e/0x60 fs/ntfs3/namei.c:100 lookup_open fs/namei.c:3413 [inline] If the member struct INDEX_BUFFER *index of struct indx_node is incorrect, that is, the value of __le32 used is greater than the value of __le32 total in struct INDEX_HDR. Therefore, OOB read occurs when memmove is called in indx_insert_into_buffer(). Fix this by adding a check in hdr_find_e(). The Linux kernel CVE team has assigned CVE-2023-54063 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit 82cae269cfa953032fbb8980a7d554d60fb00b17 and fixed in 5.15.111 with commit cd7e1d67924081717c5c96ead758a1a77867689a Issue introduced in 5.15 with commit 82cae269cfa953032fbb8980a7d554d60fb00b17 and fixed in 6.1.28 with commit 17048287ac79abd33b275ac3b5738285d406481b Issue introduced in 5.15 with commit 82cae269cfa953032fbb8980a7d554d60fb00b17 and fixed in 6.2.15 with commit a7e5dba10ba1402dd6c2f961a70320770865c4a5 Issue introduced in 5.15 with commit 82cae269cfa953032fbb8980a7d554d60fb00b17 and fixed in 6.3.2 with commit 4bf3b564e27a518f158a83d5e1a50064ed6136a0 Issue introduced in 5.15 with commit 82cae269cfa953032fbb8980a7d554d60fb00b17 and fixed in 6.4 with commit b8c44949044e5f7f864525fdffe8e95135ce9ce5 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-2023-54063 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/cd7e1d67924081717c5c96ead758a1a77867689a https://git.kernel.org/stable/c/17048287ac79abd33b275ac3b5738285d406481b https://git.kernel.org/stable/c/a7e5dba10ba1402dd6c2f961a70320770865c4a5 https://git.kernel.org/stable/c/4bf3b564e27a518f158a83d5e1a50064ed6136a0 https://git.kernel.org/stable/c/b8c44949044e5f7f864525fdffe8e95135ce9ce5