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

fs/ntfs3: validate lcns_follow in log_replay conversion

log_replay() converts DIR_PAGE_ENTRY_32 records into DIR_PAGE_ENTRY
records when replaying version 0 restart tables.

During this conversion, the memmove() length is derived directly from
the on-disk lcns_follow field:

memmove(&dp->vcn, &dp0->vcn_low,
2 * sizeof(u64) +
le32_to_cpu(dp->lcns_follow) * sizeof(u64));

check_rstbl() validates restart table structure, but does not constrain
per-entry lcns_follow values relative to the entry size. A malformed
filesystem image can provide an oversized lcns_follow value, causing
the conversion memmove() to access memory beyond the bounds of the
allocated restart table buffer.

The same field is later used to bound iteration over page_lcns[],
so validating lcns_follow during conversion also prevents downstream
out-of-bounds access from the same malformed metadata.

Compute the maximum valid lcns_follow from the already-validated
restart table entry size and reject entries that exceed this bound.
Reuse the existing t16/t32 scratch variables already declared in
log_replay() to avoid introducing new declarations.

[almaz.alexandrovich@paragon-software.com: fixed the conflicts]
Published: 2026-07-27
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

During NTFS restart-table replay the kernel copies directory entries by using a length derived from the on-disk lcns_follow field. The field is not checked against the size of the entry, so a malformed NTFS image can supply an oversized value, causing the memmove to read or write beyond the allocated restart‑table buffer. This out‑of‑bounds memory corruption can crash the kernel or, if attacker-supplied data overwrites privileged control structures, provide a path to privilege escalation.

Affected Systems

The flaw exists in the Linux kernel's ntfs3 filesystem driver. All Linux distributions ship the stock kernel with this driver, so any system running a kernel before the commit that introduced the new lcns_follow bounds check is potentially vulnerable. No specific version range is given, but all kernels dated before the patch are at risk.

Risk and Exploitability

The CVSS score of 7.8 indicates high severity, while the EPSS < 1% suggests the likelihood of exploitation is low but not zero. The CVE is not listed in CISA KEV. Based on the description, the likely attack vector involves an attacker creating a malicious NTFS image, mounting it, and triggering the log_replay routine. Successful exploitation could trigger a kernel crash or enable code execution in privileged context.

Generated by OpenCVE AI on August 5, 2026 at 00:10 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the lcns_follow bounds check (the commit 159f694d and later releases)
  • If kernel upgrade is not immediately possible, prevent mounting of untrusted NTFS volumes by disabling ntfs3 support (e.g., add "install ntfs3 /bin/false" to /etc/modprobe.d/disable-ntfs.conf or use the kernel parameter "disable_ntfs"), or restrict mount access to trusted users only
  • Consider applying the patch manually by cherry‑picking the relevant commit into your kernel source and rebuilding, then rebooting into the patched kernel

Generated by OpenCVE AI on August 5, 2026 at 00:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4720-1 linux security update
Debian DLA Debian DLA DLA-4723-1 linux-6.1 security update
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
Debian DSA Debian DSA DSA-6405-1 linux security update
History

Thu, 30 Jul 2026 06:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


Wed, 29 Jul 2026 12:15:00 +0000


Mon, 27 Jul 2026 07:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: validate lcns_follow in log_replay conversion log_replay() converts DIR_PAGE_ENTRY_32 records into DIR_PAGE_ENTRY records when replaying version 0 restart tables. During this conversion, the memmove() length is derived directly from the on-disk lcns_follow field: memmove(&dp->vcn, &dp0->vcn_low, 2 * sizeof(u64) + le32_to_cpu(dp->lcns_follow) * sizeof(u64)); check_rstbl() validates restart table structure, but does not constrain per-entry lcns_follow values relative to the entry size. A malformed filesystem image can provide an oversized lcns_follow value, causing the conversion memmove() to access memory beyond the bounds of the allocated restart table buffer. The same field is later used to bound iteration over page_lcns[], so validating lcns_follow during conversion also prevents downstream out-of-bounds access from the same malformed metadata. Compute the maximum valid lcns_follow from the already-validated restart table entry size and reject entries that exceed this bound. Reuse the existing t16/t32 scratch variables already declared in log_replay() to avoid introducing new declarations. [almaz.alexandrovich@paragon-software.com: fixed the conflicts]
Title fs/ntfs3: validate lcns_follow in log_replay conversion
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-08-05T12:42:43.156Z

Reserved: 2026-07-19T15:36:31.795Z

Link: CVE-2026-64533

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-07-27T08:16:22.510

Modified: 2026-07-30T06:25:57.223

Link: CVE-2026-64533

cve-icon Redhat

Severity :

Publid Date: 2026-07-27T00:00:00Z

Links: CVE-2026-64533 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T00:15:04Z

Weaknesses