{"id":"CVE-2026-99814","summary":"fs/ntfs3: validate $SDH entry size in ntfs_insert_security","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: validate $SDH entry size in ntfs_insert_security\n\nntfs_insert_security() walks the $Secure::$SDH index and reads\ne-\u003esec_hdr.size for every entry returned by indx_find()/indx_find_sort().\nThose only guarantee the NTFS_DE envelope (e-\u003esize), so a crafted $SDH\nentry shorter than a full NTFS_DE_SDH at the tail of an index buffer makes\nthe read of e-\u003esec_hdr.size run past the allocation. Triggerable by an\nunprivileged setxattr(2) on a crafted NTFS image.\n\n  BUG: KASAN: slab-out-of-bounds in ntfs_insert_security (fs/ntfs3/fsntfs.c:2148)\n  Read of size 4 at addr ffff88800fa1de00 by task exploit/142\n   ntfs_insert_security (fs/ntfs3/fsntfs.c:2148)\n   ntfs_setxattr (fs/ntfs3/xattr.c:947)\n   __vfs_setxattr (fs/xattr.c:223)\n   __vfs_setxattr_noperm (fs/xattr.c:257)\n   vfs_setxattr (fs/xattr.c:344)\n   filename_setxattr (fs/xattr.c:690)\n   path_setxattrat (fs/xattr.c:734)\n   __x64_sys_setxattr (fs/xattr.c:764)\n   [...]\n  The buggy address is located 0 bytes to the right of\n   allocated 512-byte region [ffff88800fa1dc00, ffff88800fa1de00)\n\nStop the scan when an entry is too small to hold a SECURITY_HDR.","modified":"2026-11-30T09:00:31.225761027Z","published":"2026-11-30T07:52:17.882Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99814.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/490a45af61b15d7332a65da8ba9f083be8e9a026"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4dcebebc651bb2e6af064d464e0b357c77a8800f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5b76487f94dacc2884135ce9a7bda61ce7ffa209"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6ae7bbe6fa26979ebb9cdfe0045aa386ed0c7c9c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b2e32ac588a0b8a4587220272ef23fcb02525d70"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f737853873c851ad05b872aa5fb72073bb13abba"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f846664707c9e9d6845a2c3b0d106e6b4808cd2e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99814.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99814"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"82cae269cfa953032fbb8980a7d554d60fb00b17"},{"fixed":"490a45af61b15d7332a65da8ba9f083be8e9a026"},{"fixed":"b2e32ac588a0b8a4587220272ef23fcb02525d70"},{"fixed":"f737853873c851ad05b872aa5fb72073bb13abba"},{"fixed":"6ae7bbe6fa26979ebb9cdfe0045aa386ed0c7c9c"},{"fixed":"f846664707c9e9d6845a2c3b0d106e6b4808cd2e"},{"fixed":"4dcebebc651bb2e6af064d464e0b357c77a8800f"},{"fixed":"5b76487f94dacc2884135ce9a7bda61ce7ffa209"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99814.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99814.json"}}],"schema_version":"1.9.2"}