GHSA-FF6G-CP6Q-HPHG

Vulnerability from github – Published: 2026-11-30 15:32 – Updated: 2026-12-01 06:31
VLAI
Details

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

mm/page_vma_mapped: continue past nonmatching huge PMDs

A PTE-mapped large folio can straddle PMD boundaries after an unaligned mremap(). If the first part is discarded and replaced with an unrelated huge PMD, page_vma_mapped_walk() stops instead of looking for the rest of the folio in subsequent PMDs.

This also affects migration entries. A walk that stops at an unrelated huge PMD can leave migration PTEs behind when migration or an anonymous folio split restores the mappings. Those entries do not hold mapping references and can outlive the source folio.

This issue can lead to memory corruption and I have a reproducer for it.

Skip the current PMD rather than ending the walk on a flag or PFN mismatch. Do the same if the PMD became nonpresent before the locked recheck. Release the PMD lock, clear the per-PMD state and advance with step_forward(), so the existing range limit controls termination. This covers present, migration and device-private huge PMDs while preserving the matching-PMD and split-to-PTE paths.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-99915"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-11-30T14:20:27Z",
    "severity": "HIGH"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/page_vma_mapped: continue past nonmatching huge PMDs\n\nA PTE-mapped large folio can straddle PMD boundaries after an unaligned\nmremap().  If the first part is discarded and replaced with an unrelated\nhuge PMD, page_vma_mapped_walk() stops instead of looking for the rest of\nthe folio in subsequent PMDs.\n\nThis also affects migration entries.  A walk that stops at an unrelated\nhuge PMD can leave migration PTEs behind when migration or an anonymous\nfolio split restores the mappings.  Those entries do not hold mapping\nreferences and can outlive the source folio.\n\nThis issue can lead to memory corruption and I have a reproducer for\nit.\n\nSkip the current PMD rather than ending the walk on a flag or PFN\nmismatch.  Do the same if the PMD became nonpresent before the locked\nrecheck.  Release the PMD lock, clear the per-PMD state and advance with\nstep_forward(), so the existing range limit controls termination.  This\ncovers present, migration and device-private huge PMDs while preserving\nthe matching-PMD and split-to-PTE paths.",
  "id": "GHSA-ff6g-cp6q-hphg",
  "modified": "2026-12-01T06:31:32Z",
  "published": "2026-11-30T15:32:49Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99915"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/110caa7cbaf675b4be0916bfad2bb0026523ee8b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1a2993227e8a27fc4cdea305bbdae82d290bc885"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/208c01e3b948911a03f3c00ebfb02d4669f5ff23"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/59daa39e6fe891b9eecc56aaf0383487ef5eb046"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d067e7b3728c0fb28e5b45a48922a00075c5ca1c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f028a65cd51ff84d8d6afcd816a97e74411cadf3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f2714035b51a34bce50309af4d96ec26ef371fe3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fc1028780177b972fc55ade3fb480792c64e8b29"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}



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.