FKIE_CVE-2026-139262

Vulnerability from fkie_nvd - Published: 2026-11-30 14:18 - Updated: 2026-11-30 14:18
Severity
Summary
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.
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/ntfs/lcnalloc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "52df8c5fb224ce77c01a6045ed6038e0605296a2",
              "status": "affected",
              "version": "11ccc9107dc460de28af90fac1f42404d9802735",
              "versionType": "git"
            },
            {
              "lessThan": "18d4d2a3ce756af690a620a5199616ce2611c2c9",
              "status": "affected",
              "version": "11ccc9107dc460de28af90fac1f42404d9802735",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/ntfs/lcnalloc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "7.1"
            },
            {
              "lessThan": "7.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: restart the zone search when the allocation hint fails\n\nWhen ntfs_cluster_alloc() is given a start_lcn, it first tries the\nclusters from there on.  If that does not satisfy the request, it moves\non to the zone\u0027s current position, but keeps the pass, the zone_end and\nthe has_guess state it had.  That loses free clusters in two ways.  If\nthe search had already moved on to pass 2, whose range ends at the hint,\nit scans only from the zone position to the hint and misses every free\ncluster between the start of the zone and the zone position.  If no\ncluster had been tested yet, has_guess is still set, so the cluster at\nthe zone position is tried as if it had been the hint, and when that\ncluster is in use the rest of the bitmap buffer is skipped.\n\nBoth happen when the hint lies at or past the end of the volume, which\nntfs_attr_map_cluster() produces when it extrapolates from the last\nallocated run across a hole.  The allocator then finds nothing, shrinks\nthe MFT zone to nothing trying to satisfy the request, and fails with\n-ENOSPC.\n\nTo reproduce on a 128 MiB volume with 4 KiB clusters, extend two files\nin turn by one cluster at a time, alternating between fallocate(),\nwrite() past EOF and truncate() up, so that the runs of each file are\nseparated by holes.  When the volume is full, truncate both files back\nto 1 MiB and start again.  During the second round a one-cluster\nfallocate() fails with ENOSPC while 40 MiB is free.\n\nStart the zone over as if no hint had been given.  A contiguous request\ncan get there with the run from the hint already allocated, when that\nrun reached the end of a bitmap buffer or of the zone.  Return that run\ninstead, as when a cluster in use ends it; going on at the zone position\ngives the request a second run that its caller does not expect.  That\ncould happen before this patch too, whenever the cluster at the zone\nposition was free.  ntfs_attr_map_cluster() reports and zeroes only the\nfirst run, so after a fallocate() of 20 clusters over a hole, with the\nhint 4 clusters before the end of the volume, 16 of them read back the\ndata of a deleted file."
    }
  ],
  "id": "CVE-2026-139262",
  "lastModified": "2026-11-30T14:18:48.843",
  "metrics": {},
  "published": "2026-11-30T14:18:48.843",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/18d4d2a3ce756af690a620a5199616ce2611c2c9"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/52df8c5fb224ce77c01a6045ed6038e0605296a2"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.