{"id":"CVE-2026-99814","aliases":["CVE-2026-99814"],"related":[],"kind":"vulnerability","state":"published","title":"fs/ntfs3: validate $SDH entry size in ntfs_insert_security","summary":"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->sec_hdr.size for every entry returned by indx_find()/indx_find_sort().\nThose only guarantee the NTFS_DE envelope (e->size), so a crafted $SDH\nentry shorter than a full NTFS_DE_SDH at the tail of an index buffer makes\nthe read of e->sec_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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->sec_hdr.size for every entry returned by indx_find()/indx_find_sort().\nThose only guarantee the NTFS_DE envelope (e->size), so a crafted $SDH\nentry shorter than a full NTFS_DE_SDH at the tail of an index buffer makes\nthe read of e->sec_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.","source":"cvelist"}],"published":"2026-11-30T07:52:17.882Z","modified":"2026-11-30T08:18:02.123Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"82cae269cfa953032fbb8980a7d554d60fb00b17","fixed":"490a45af61b15d7332a65da8ba9f083be8e9a026","status":"affected"},{"type":"git","introduced":"82cae269cfa953032fbb8980a7d554d60fb00b17","fixed":"b2e32ac588a0b8a4587220272ef23fcb02525d70","status":"affected"},{"type":"git","introduced":"82cae269cfa953032fbb8980a7d554d60fb00b17","fixed":"f737853873c851ad05b872aa5fb72073bb13abba","status":"affected"},{"type":"git","introduced":"82cae269cfa953032fbb8980a7d554d60fb00b17","fixed":"6ae7bbe6fa26979ebb9cdfe0045aa386ed0c7c9c","status":"affected"},{"type":"git","introduced":"82cae269cfa953032fbb8980a7d554d60fb00b17","fixed":"f846664707c9e9d6845a2c3b0d106e6b4808cd2e","status":"affected"},{"type":"git","introduced":"82cae269cfa953032fbb8980a7d554d60fb00b17","fixed":"4dcebebc651bb2e6af064d464e0b357c77a8800f","status":"affected"},{"type":"git","introduced":"82cae269cfa953032fbb8980a7d554d60fb00b17","fixed":"5b76487f94dacc2884135ce9a7bda61ce7ffa209","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/490a45af61b15d7332a65da8ba9f083be8e9a026","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b2e32ac588a0b8a4587220272ef23fcb02525d70","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f737853873c851ad05b872aa5fb72073bb13abba","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6ae7bbe6fa26979ebb9cdfe0045aa386ed0c7c9c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f846664707c9e9d6845a2c3b0d106e6b4808cd2e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4dcebebc651bb2e6af064d464e0b357c77a8800f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5b76487f94dacc2884135ce9a7bda61ce7ffa209","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99814","url":"https://www.cve.org/CVERecord?id=CVE-2026-99814","licence":"CVE Terms of Use","modified":"2026-11-30T07:52:17.882Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99814","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99814","licence":"Public domain","modified":"2026-11-30T08:18:02.123Z"}],"updatedAt":"2026-11-30T08:32:36.255Z","epss":{"score":0.00284,"percentile":0.22464,"date":"2026-12-01T12:00:22.000Z"}}