CVE-2026-139261

ntfs: do not give a contiguous cluster allocation a second run

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ntfs: do not give a contiguous cluster allocation a second run

ntfs_attr_map_cluster() asks ntfs_cluster_alloc() for contiguous
clusters and merges the whole result into the runlist, but reports only
its first run, so its callers zero only that run. Within a bitmap page
the allocator keeps such a request to one run, because a cluster in use
ends it. The zone search can also move on without testing the clusters
after the run, though: it skips a bitmap page that has no free clusters,
it goes from the end of the zone to the start of pass 2, and once every
zone has been searched it shrinks the MFT zone by half and goes on at
its new end. After each of these jumps the first cluster tested is
still taken as the next one of the run, and if it is free it starts a
second run elsewhere on the volume.

fallocate() over a hole then leaves the clusters of that second run
holding whatever they held before: on a nearly full volume, 16 of 20
fallocated clusters read back a deleted file's data, in each of the
three cases.

Delayed allocation gets a second run without punching any holes: filling
the same volume with write() reaches the last case when the MFT zone is
shrunk. The allocator then takes only the first run off the
dirty-cluster count, and after the fill statfs() reported no free space
while 939 clusters were still free, until the next mount.

Before setting the bit of a cluster for a contiguous request, check that
the cluster comes right after the run, and return the run as it is if
not; no bit has to be cleared. ntfs_attr_map_cluster() already handles
a short run, which a cluster in use produces in the same way: its
callers ask again for the rest.

Analysis

AI-generated

Technical impact

The kernel bug in the NTFS driver causes the allocator to return only the first contiguous run of clusters while allocating a second run elsewhere on the volume. Callers zero only the first run, leaving data from a previous allocation in the second run unreinitialized. When that sector is later accessed through fallocate() over a hole or via large writes, the leaked data can be read, exposing previously deleted file contents. This results in uncontrolled information disclosure from the filesystem to an attacker.

Affected Systems

This issue affects the NTFS file system driver within the Linux kernel. No specific kernel versions are listed in the supplied data, so any installation of the Linux kernel that includes the NTFS driver is potentially vulnerable until the patch is applied.

Risk and Exploitability

The CVSS score is not provided and the EPSS score is unavailable, indicating limited publicly known exploitation data. However, the vulnerability requires an attacker to write to an NTFS volume and then read the resulting data, a capability that local users typically possess. While no zero‑day exploits are documented, the potential for leaking deleted file contents presents a significant privacy risk, especially on multi‑user systems. The bug is not listed in CISA's KEV catalog and no workaround is available, making the update of the kernel the sole effective mitigation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the NTFS cluster allocation patch; the commit referenced in the advisory can be used to verify the fix.
  • If the NTFS driver is built as a separate module, rebuild and reinstall the module so the new kernel code is loaded.
  • After the kernel update, remount any NTFS filesystems to reset allocator state and prevent residual cluster usage from persisting.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-200
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ntfs: do not give a contiguous cluster allocation a second run ntfs_attr_map_cluster() asks ntfs_cluster_alloc() for contiguous clusters and merges the whole result into the runlist, but reports only its first run, so its callers zero only that run. Within a bitmap page the allocator keeps such a request to one run, because a cluster in use ends it. The zone search can also move on without testing the clusters after the run, though: it skips a bitmap page that has no free clusters, it goes from the end of the zone to the start of pass 2, and once every zone has been searched it shrinks the MFT zone by half and goes on at its new end. After each of these jumps the first cluster tested is still taken as the next one of the run, and if it is free it starts a second run elsewhere on the volume. fallocate() over a hole then leaves the clusters of that second run holding whatever they held before: on a nearly full volume, 16 of 20 fallocated clusters read back a deleted file's data, in each of the three cases. Delayed allocation gets a second run without punching any holes: filling the same volume with write() reaches the last case when the MFT zone is shrunk. The allocator then takes only the first run off the dirty-cluster count, and after the fill statfs() reported no free space while 939 clusters were still free, until the next mount. Before setting the bit of a cluster for a contiguous request, check that the cluster comes right after the run, and return the run as it is if not; no bit has to be cleared. ntfs_attr_map_cluster() already handles a short run, which a cluster in use produces in the same way: its callers ask again for the rest.
Title ntfs: do not give a contiguous cluster allocation a second run
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:33 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM