Description
In the Linux kernel, the following vulnerability has been resolved:

ntfs3: fix out-of-bounds read in ntfs_dir_emit() and hdr_find_e()

The bounds check in ntfs_dir_emit() compares fname->name_len (a
character count) against e->size (a byte count) without accounting
for the 2-byte-per-character UTF-16LE encoding or the ATTR_FILE_NAME
header size:

if (fname->name_len + sizeof(struct NTFS_DE) > le16_to_cpu(e->size))

This computes: name_len + 16 > e_size

The correct check must account for the ATTR_FILE_NAME header (66 bytes
before the name) and the UTF-16LE character size (2 bytes each):

sizeof(NTFS_DE) + offsetof(ATTR_FILE_NAME, name) +
name_len * sizeof(short) > e_size

Which computes: 16 + 66 + name_len * 2 > e_size

The correct calculation already exists as fname_full_size() in ntfs.h
and is used in cmp_fnames(), namei.c, and fslog.c, but was not used
in the readdir path.

A crafted NTFS image with an index entry containing a small e->size
but large fname->name_len bypasses the current check, causing
ntfs_utf16_to_nls() to read past the entry boundary.

Additionally, add a key_size validation in hdr_find_e() to ensure the
declared key_size does not exceed the available entry data, preventing
comparison functions from reading past entry boundaries on the lookup
path.
Published: 2026-09-24
Score: 7.1 High
EPSS: n/a
KEV: No
Impact: Information Disclosure
Action: Apply Patch
AI Analysis

Impact

An improper bounds check in the Linux kernel NTFS driver compares the name length in UTF-16LE characters to the size of a directory entry in bytes, ignoring the fact that each character consumes two bytes and that the entry contains a 66-byte ATTR_FILE_NAME header preceding the name. A crafted NTFS image that includes a directory entry whose byte size is smaller than the calculated size of the name causes ntfs_utf16_to_nls() to read memory beyond the end of the entry. This out-of-bounds read can expose data from adjacent memory locations and may result in a kernel crash if the corrupted data is subsequently used.

Affected Systems

The flaw resides in the default ntfs3 driver that ships with the Linux kernel. All Linux installations that use the ntfs3 module to mount or read NTFS volumes are potentially affected, regardless of kernel version, until the driver is updated to a version that includes the corrected size calculation and the additional key_size validation.

Risk and Exploitability

The vulnerability is local; an attacker must supply a specially crafted NTFS filesystem that the kernel parses. The out-of-bounds read allows the kernel to access memory beyond the bounds of the targeted entry, potentially revealing kernel memory contents and possibly leading to a denial of service. EPSS data is not available and the issue is not listed in the CISA KEV catalog. No CVSS score is provided, but the severity can be considered high because it involves kernel-level memory disclosure. Because the flaw is not delivered over a network and no code execution is described, the primary risk is information disclosure and service disruption.

Generated by OpenCVE AI on September 25, 2026 at 05:10 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that includes the ntfs3 bounds-check fix.
  • Before applying the update, ensure that no NTFS file systems are mounted or that mounting is stopped until the new kernel is in place.
  • Reboot the system after installing the updated kernel to activate the patched driver.

Generated by OpenCVE AI on September 25, 2026 at 05:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 25 Sep 2026 05:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Fri, 25 Sep 2026 05:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H'}


Thu, 24 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ntfs3: fix out-of-bounds read in ntfs_dir_emit() and hdr_find_e() The bounds check in ntfs_dir_emit() compares fname->name_len (a character count) against e->size (a byte count) without accounting for the 2-byte-per-character UTF-16LE encoding or the ATTR_FILE_NAME header size: if (fname->name_len + sizeof(struct NTFS_DE) > le16_to_cpu(e->size)) This computes: name_len + 16 > e_size The correct check must account for the ATTR_FILE_NAME header (66 bytes before the name) and the UTF-16LE character size (2 bytes each): sizeof(NTFS_DE) + offsetof(ATTR_FILE_NAME, name) + name_len * sizeof(short) > e_size Which computes: 16 + 66 + name_len * 2 > e_size The correct calculation already exists as fname_full_size() in ntfs.h and is used in cmp_fnames(), namei.c, and fslog.c, but was not used in the readdir path. A crafted NTFS image with an index entry containing a small e->size but large fname->name_len bypasses the current check, causing ntfs_utf16_to_nls() to read past the entry boundary. Additionally, add a key_size validation in hdr_find_e() to ensure the declared key_size does not exceed the available entry data, preventing comparison functions from reading past entry boundaries on the lookup path.
Title ntfs3: fix out-of-bounds read in ntfs_dir_emit() and hdr_find_e()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-25T05:10:35.086Z

Reserved: 2026-09-24T14:53:16.869Z

Link: CVE-2026-97437

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-24T17:17:21.810

Modified: 2026-09-25T05:17:05.433

Link: CVE-2026-97437

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T05:15:17Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer