CVE-2026-99814

fs/ntfs3: validate $SDH entry size in ntfs_insert_security

Published Nov 30, 2026 CVSS n/a EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The kernel NTFS3 code walks the $Secure::$SDH index and reads e->sec_hdr.size for each entry returned by indx_find()/indx_find_sort(). Because these functions only guarantee the size of a standard NTFS_DE record and do not check for a full NTFS_DE_SDH structure, a crafted $SDH entry that is smaller than the expected size can cause a read past the allocated buffer. This out‑of‑bounds read is triggerable via an unprivileged setxattr(2) call on a malicious NTFS image and can allow a local user to obtain kernel memory contents or crash the system, leading to information disclosure or denial of service. The flaw is a classic instance of improper input validation leading to memory corruption.

Affected Systems

The flaw exists in the Linux kernel’s NTFS3 filesystem module, affecting all builds that include the ntfs3 module. No specific kernel release versions are listed; the issue would be present in any kernel that ships the affected code without the fix.

Risk and Exploitability

The CVSS or EPSS scores are not published, and the vulnerability is not listed in the CISA KEV catalog, indicating no publicly documented exploitation. The attack requires a local user ability to set an extended attribute on an NTFS image and a kernel that has the ntfs3 module loaded. Because the vector is local and the exploitation surface is small, the likelihood is moderate, but the potential impact is sufficient to justify prompt attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that includes the patched ntfs3 module.
  • If the kernel cannot be updated immediately, remove or unload the ntfs3 module from the running system to eliminate the attack surface.
  • Restrict unprivileged setxattr operations on NTFS images, for example by enforcing file‑system‑level permissions or disabling extended‑attribute support for NTFS volumes.

Generated by OpenCVE AI on November 30, 2026 at 15:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-20
Type Values Removed Values Added
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.
Title fs/ntfs3: validate $SDH entry size in ntfs_insert_security
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 7:52 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Nov 30, 2026, 8:18 AM
Modified
Nov 30, 2026, 8:18 AM