CVE-2026-139262

Not scored yetLast modified Nov 30, 2026

Description

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

ntfs: restart the zone search when the allocation hint fails

When ntfs_cluster_alloc() is given a start_lcn, it first tries the clusters from there on. If that does not satisfy the request, it moves on to the zone's current position, but keeps the pass, the zone_end and the has_guess state it had. That loses free clusters in two ways. If the search had already moved on to pass 2, whose range ends at the hint, it scans only from the zone position to the hint and misses every free cluster between the start of the zone and the zone position. If no cluster had been tested yet, has_guess is still set, so the cluster at the zone position is tried as if it had been the hint, and when that cluster is in use the rest of the bitmap buffer is skipped.

Both happen when the hint lies at or past the end of the volume, which ntfs_attr_map_cluster() produces when it extrapolates from the last allocated run across a hole. The allocator then finds nothing, shrinks the MFT zone to nothing trying to satisfy the request, and fails with -ENOSPC.

To reproduce on a 128 MiB volume with 4 KiB clusters, extend two files in turn by one cluster at a time, alternating between fallocate(), write() past EOF and truncate() up, so that the runs of each file are separated by holes. When the volume is full, truncate both files back to 1 MiB and start again. During the second round a one-cluster fallocate() fails with ENOSPC while 40 MiB is free.

Start the zone over as if no hint had been given. A contiguous request can get there with the run from the hint already allocated, when that run reached the end of a bitmap buffer or of the zone. Return that run instead, as when a cluster in use ends it; going on at the zone position gives the request a second run that its caller does not expect. That could happen before this patch too, whenever the cluster at the zone position was free. ntfs_attr_map_cluster() reports and zeroes only the first run, so after a fallocate() of 20 clusters over a hole, with the hint 4 clusters before the end of the volume, 16 of them read back the data of a deleted file.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139263In the Linux kernel, the following vulnerability has been resolved: ntfs: avoid misclassifying directory reparse points Windows directory CVE-2026-139264In the Linux kernel, the following vulnerability has been resolved: ntfs: wait for the bitmap scan before MFT bitmap extension If MFT bitmCVE-2026-1392657.8In the Linux kernel, the following vulnerability has been resolved: ntfs: fix runlist marker allocation and count The marker path can appeCVE-2026-139266In the Linux kernel, the following vulnerability has been resolved: ntfs: fix FITRIM bitmap indexing for large pages The LCN bitmap has onCVE-2026-139267In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Validate priority in STEERING_ANCHOR_CREATE handler In MLX5CVE-2026-139268In the Linux kernel, the following vulnerability has been resolved: net/sched: act_api: reject duplicate actions in a batch tca_action_gd(CVE-2026-139269In the Linux kernel, the following vulnerability has been resolved: bpf: Fix arena race between page free and alloc leading to incoherency CVE-2026-139277.8Insufficient validation of untrusted input in UI in Google Chrome on Android prior to 150.0.7871.47 allowed a local attacker to perform privCVE-2026-139270In the Linux kernel, the following vulnerability has been resolved: cgroup/cpuset: Properly disabling partition when partition state switchCVE-2026-139271In the Linux kernel, the following vulnerability has been resolved: block, bfq: initialize active lists for all actuators Commit 2d31c684aCVE-2026-139272In the Linux kernel, the following vulnerability has been resolved: ALSA: aloop: Keep the timer source alive until card release The timer_CVE-2026-1392737.0In the Linux kernel, the following vulnerability has been resolved: ALSA: aloop: Keep shared timer callbacks alive through close The share
CVE-2026-139262: Unscored | Vulnix