CVE-2026-139265 (GCVE-0-2026-139265)

Vulnerability from cvelistv5 – Published: 2026-11-30 13:33 – Updated: 2026-12-01 05:42
VLAI
Title
ntfs: fix runlist marker allocation and count
Summary
In the Linux kernel, the following vulnerability has been resolved: ntfs: fix runlist marker allocation and count The marker path can append an unmapped element and an ENOENT terminator after the merge helpers have already computed the resulting runlist count. In that case, allocating ds + 2 elements leaves no room for the terminator at ds + 2. The path also increments new_rl_count even though the merge helper already accounted for the final runlist size, causing a later merge to start past the terminator. Allocate space through ds + 2, and derive new_rl_count from the final terminator index instead of incrementing the count a second time. A crafted NTFS image can reach this path through a normal read after the image has been mounted and trigger out-of-bounds kernel heap accesses.
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 8585 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 11ccc9107dc460de28af90fac1f42404d9802735 , < 8d20b7a996ff57c998c7093a0d5b203a477fd0a4 (git)
Affected: 11ccc9107dc460de28af90fac1f42404d9802735 , < c1bd2f1c22c2fa8c5f0f51f82afad23f2dd1bcf1 (git)
guessed Create a notification for this product.
Linux Linux Affected: 7.1
Unaffected: 0 , < 7.1 (semver)
Unaffected: 7.3.6 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/ntfs/runlist.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "8d20b7a996ff57c998c7093a0d5b203a477fd0a4",
              "status": "affected",
              "version": "11ccc9107dc460de28af90fac1f42404d9802735",
              "versionType": "git"
            },
            {
              "lessThan": "c1bd2f1c22c2fa8c5f0f51f82afad23f2dd1bcf1",
              "status": "affected",
              "version": "11ccc9107dc460de28af90fac1f42404d9802735",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/ntfs/runlist.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"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.6",
                  "versionStartIncluding": "7.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "7.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nntfs: fix runlist marker allocation and count\n\nThe marker path can append an unmapped element and an ENOENT\nterminator after the merge helpers have already computed the resulting\nrunlist count. In that case, allocating ds + 2 elements leaves no room\nfor the terminator at ds + 2. The path also increments new_rl_count even\nthough the merge helper already accounted for the final runlist size,\ncausing a later merge to start past the terminator.\n\nAllocate space through ds + 2, and derive new_rl_count from the final\nterminator index instead of incrementing the count a second time.\n\nA crafted NTFS image can reach this path through a normal read after the\nimage has been mounted and trigger out-of-bounds kernel heap accesses."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The malformed input is a crafted NTFS image\u0027s attribute-list extents and mapping pairs (lowest_vcn/highest_vcn, run lengths). read() reaches ntfs_runlists_merge() via ntfs_read_iomap_begin_non_resident() -\u003e ntfs_attr_vcn_to_rl() -\u003e ntfs_map_runlist_nolock() -\u003e ntfs_mapping_pairs_decompress(). The bytes come off local block media, not a network protocol.\nAC:L - The image author picks the extent layout, so the marker path runs deterministically on an ordinary read of the file. The author also chooses the runlist size, which picks the slab bucket: at 4 or 8 elements the kvzalloc((ds+2)*24) buffer exactly fills kmalloc-96/192, so the extra element lands in the next object. No race or uncontrollable state is needed; heap grooming is ordinary attacker work.\nPR:N - Triggering needs no account on the target beyond getting the image mounted. ntfs_fs_type is FS_REQUIRES_DEV|FS_ALLOW_IDMAP with no FS_USERNS_MOUNT, so an unprivileged user cannot mount it via user namespaces. The privileged mount is the victim\u0027s action and is scored under UI:R rather than PR.\nUI:R - A victim or automounter must mount the attacker-supplied NTFS image (read-only is enough) and something must read the crafted multi-extent attribute; that mount is the required user interaction.\nS:U - The corruption stays inside the kernel\u0027s own heap and the mounting host\u0027s security authority; no guest/host, IOMMU or sandbox boundary is crossed.\nC:H - Pre-fix ntfs_runlists_merge() adds 2 or 1 to *new_rl_count after the merge helper already set it, so ni-\u003erunlist.count overstates the array. Later __ntfs_attr_find_vcn_nolock() reads rl[count-2] and ntfs_rl_realloc() memcpy()s count*24 bytes past the allocation, an unbounded heap OOB read whose data is then used as runlist elements.\nI:H - The marker branch does ntfs_rl_realloc_nofail(drl, ds, ds + 2), then writes the ENOENT terminator at drl[ds+2], a 24-byte heap overflow whose leading vcn (marker_vcn) comes from the image. The inflated count also makes later merges\u0027 ntfs_rl_mm()/ntfs_rl_mc() move elements beyond the buffer. Both are OOB heap writes usable for corrupting adjacent objects.\nA:H - The overflow into the next slab object and the out-of-bounds runlist walks from the inflated count corrupt kernel heap metadata or neighbouring objects, giving a KASAN report or an oops/panic when the corrupted object or runlist is next used."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-01T05:42:04.642Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/8d20b7a996ff57c998c7093a0d5b203a477fd0a4"
        },
        {
          "url": "https://git.kernel.org/stable/c/c1bd2f1c22c2fa8c5f0f51f82afad23f2dd1bcf1"
        }
      ],
      "title": "ntfs: fix runlist marker allocation and count",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-139265",
    "datePublished": "2026-11-30T13:33:08.874Z",
    "dateReserved": "2026-11-30T13:22:15.923Z",
    "dateUpdated": "2026-12-01T05:42:04.642Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-139265",
      "date": "2026-12-04",
      "epss": "0.00185",
      "percentile": "0.08418"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "fs/ntfs/runlist.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "8d20b7a996ff57c998c7093a0d5b203a477fd0a4",
                    "status": "affected",
                    "version": "11ccc9107dc460de28af90fac1f42404d9802735",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "c1bd2f1c22c2fa8c5f0f51f82afad23f2dd1bcf1",
                    "status": "affected",
                    "version": "11ccc9107dc460de28af90fac1f42404d9802735",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "fs/ntfs/runlist.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: fix runlist marker allocation and count\n\nThe marker path can append an unmapped element and an ENOENT\nterminator after the merge helpers have already computed the resulting\nrunlist count. In that case, allocating ds + 2 elements leaves no room\nfor the terminator at ds + 2. The path also increments new_rl_count even\nthough the merge helper already accounted for the final runlist size,\ncausing a later merge to start past the terminator.\n\nAllocate space through ds + 2, and derive new_rl_count from the final\nterminator index instead of incrementing the count a second time.\n\nA crafted NTFS image can reach this path through a normal read after the\nimage has been mounted and trigger out-of-bounds kernel heap accesses."
          }
        ],
        "id": "CVE-2026-139265",
        "lastModified": "2026-12-01T06:17:40.687",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-30T14:18:49.167",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/8d20b7a996ff57c998c7093a0d5b203a477fd0a4"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/c1bd2f1c22c2fa8c5f0f51f82afad23f2dd1bcf1"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-12-01T08:31:34+00:00",
      "cve": "CVE-2026-139265",
      "id": "CVE-2026-139265",
      "initial_release_date": "2026-11-30T13:33:08.874000+00:00",
      "product_status:known_not_affected": "280",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: denial of service via crafted NTFS image",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-139265.json",
      "version": "3"
    }
  }
}



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.