From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796025161; b=FJIwWZUrmORgQxskiVONo0CY8W6VwVRNQwyQ+WMJ+npxkO6fzvzhwZvMqiOpRywxyoFK ZBtH9MHC6OrceuBhjHic8EiR7GtQnmZpVTs0AOke5A5xQAWWLVoSKPWTngKg4tzQzh1nf NBCJ6uPwBO/Y1vNdwp9SjsZByxQ136Ppaqodp/eWpid8iMWs7FxYbFFALl5k0n4CMNVZ8 BMoOuRdUoq9uitSC2yMbxQsX2pQV8Eaqz2Ud6sk/MYQmkVK/WgEug2x+X1oTRKZjblLgR Z2pHAKaJS6aiDk+6IZWswBSy2Q9N2wTDCB6LJ/v+bZIQ4uJC5QoO2v8eyrIgMsx07zQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796025161; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=hYc1X0ToS9qipbaZK56OwFOnNDUL3xxyMZhXRXyBr6o=; b=16Zu7cK5tygdpMbMxT/SqRGG1pOMLJt+q1qV66slYa6+M83HQ4DW08hCsntU/HQwZbZP HKuCfqn2m656TDqwW58ynEWdY7Y8Bq2fVNSjOV5BN+64EOqAmCDrWk4J+dY8AhGO9QjKg akVuFk313JCippIWIjI1KdbhMdfwV55uKFSokyaEJv4P8Bf8T033cMqJeVyHAi9FvMUMp DOctirfkl8zl9bN3hcD1+z6YSoGzqsqzn1pZPlBnx35JcfgP6dJnwiXfelBGaqY/bgQ4g Dn5FQV4KIrBWxySVNea338vDi9ein3Kj5rRsEIugVToevEl1PAT4mTIAtXOAz+GD3cQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=qVuDXbLL; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 90983606A325 for ; Mon, 30 Nov 2026 07:52:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=qVuDXbLL Received: by smtp.kernel.org (Postfix) with ESMTPSA id 532831F00897; Mon, 30 Nov 2026 07:52:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796025160; bh=hYc1X0ToS9qipbaZK56OwFOnNDUL3xxyMZhXRXyBr6o=; h=From:To:Cc:Subject:Date:Reply-To; b=qVuDXbLLznhTj0G0ZR6LOAGSQ8bU4DkLMTULkKRC0+Wtui70k3QyFfOClQmrffPiA XVN9i7R3ciSLug1nfqfva6ojnu7g79UWzkV+GvyquGiQ7kmTu8eK+qOgIc63NPIJcx CPNql2NbhrYRsfLCGcBwNbWB/JZvqulxleDOofbY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99814: fs/ntfs3: validate $SDH entry size in ntfs_insert_security Date: Mon, 30 Nov 2026 08:52:28 +0100 Message-ID: <2026113028-CVE-2026-99814-e81f@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3985; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/chIJKMWz9/AdLZebv1hge7VhDFMniNqDoZn61B6H3c=; b=owGbwMvMwCRo6H6F97bub03G02pJDNm82jYzd+gZ2E9cpnPE1G/RGQ/eiD8LM16UbQqdNStl/ 1T7R6arO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi+3cxzDOPNfvZvvGCrUrX nL7jDGY1C+ojXRnmh8YLKm3LYt2gM0Pd7Yhw/jXbi0syAA== 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: validate $SDH entry size in ntfs_insert_security ntfs_insert_security() walks the $Secure::$SDH index and reads e->sec_hdr.size for every entry returned by indx_find()/indx_find_sort(). Those only guarantee the NTFS_DE envelope (e->size), so a crafted $SDH entry shorter than a full NTFS_DE_SDH at the tail of an index buffer makes the read of e->sec_hdr.size run past the allocation. Triggerable by an unprivileged setxattr(2) on a crafted NTFS image. BUG: KASAN: slab-out-of-bounds in ntfs_insert_security (fs/ntfs3/fsntfs.c:2148) Read of size 4 at addr ffff88800fa1de00 by task exploit/142 ntfs_insert_security (fs/ntfs3/fsntfs.c:2148) ntfs_setxattr (fs/ntfs3/xattr.c:947) __vfs_setxattr (fs/xattr.c:223) __vfs_setxattr_noperm (fs/xattr.c:257) vfs_setxattr (fs/xattr.c:344) filename_setxattr (fs/xattr.c:690) path_setxattrat (fs/xattr.c:734) __x64_sys_setxattr (fs/xattr.c:764) [...] The buggy address is located 0 bytes to the right of allocated 512-byte region [ffff88800fa1dc00, ffff88800fa1de00) Stop the scan when an entry is too small to hold a SECURITY_HDR. The Linux kernel CVE team has assigned CVE-2026-99814 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit 82cae269cfa953032fbb8980a7d554d60fb00b17 and fixed in 5.15.226 with commit 490a45af61b15d7332a65da8ba9f083be8e9a026 Issue introduced in 5.15 with commit 82cae269cfa953032fbb8980a7d554d60fb00b17 and fixed in 6.1.193 with commit b2e32ac588a0b8a4587220272ef23fcb02525d70 Issue introduced in 5.15 with commit 82cae269cfa953032fbb8980a7d554d60fb00b17 and fixed in 6.6.163 with commit f737853873c851ad05b872aa5fb72073bb13abba Issue introduced in 5.15 with commit 82cae269cfa953032fbb8980a7d554d60fb00b17 and fixed in 6.12.119 with commit 6ae7bbe6fa26979ebb9cdfe0045aa386ed0c7c9c Issue introduced in 5.15 with commit 82cae269cfa953032fbb8980a7d554d60fb00b17 and fixed in 6.18.65 with commit f846664707c9e9d6845a2c3b0d106e6b4808cd2e Issue introduced in 5.15 with commit 82cae269cfa953032fbb8980a7d554d60fb00b17 and fixed in 7.3.6 with commit 4dcebebc651bb2e6af064d464e0b357c77a8800f Issue introduced in 5.15 with commit 82cae269cfa953032fbb8980a7d554d60fb00b17 and fixed in 7.4-rc1 with commit 5b76487f94dacc2884135ce9a7bda61ce7ffa209 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-99814 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/fsntfs.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/490a45af61b15d7332a65da8ba9f083be8e9a026 https://git.kernel.org/stable/c/b2e32ac588a0b8a4587220272ef23fcb02525d70 https://git.kernel.org/stable/c/f737853873c851ad05b872aa5fb72073bb13abba https://git.kernel.org/stable/c/6ae7bbe6fa26979ebb9cdfe0045aa386ed0c7c9c https://git.kernel.org/stable/c/f846664707c9e9d6845a2c3b0d106e6b4808cd2e https://git.kernel.org/stable/c/4dcebebc651bb2e6af064d464e0b357c77a8800f https://git.kernel.org/stable/c/5b76487f94dacc2884135ce9a7bda61ce7ffa209