FKIE_CVE-2026-138969

Vulnerability from fkie_nvd - Published: 2026-11-30 14:17 - Updated: 2026-11-30 14:17
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved: MIPS: mm: do not write a huge TLB entry when the probe misses __update_tlb() probes for the 8K pair at the address it is given and, for a huge pmd, writes the huge entry with tlbwi at the probed index or with tlbwr when the probe misses. That works only if the caller passes the faulting address, so that the probe finds the 4K entry the refill handler loaded for the faulting page and the huge entry replaces it. update_mmu_cache_pmd() is not called that way. do_set_pmd() has always passed the huge-aligned address, and since commit ebcfc63d6bca ("mm: abstract THP allocation") the anonymous THP fault path does too (map_anon_folio_pmd()). The probe then misses the stale 4K entry, which sits at the faulting page somewhere else in the 2 MB range, tlbwr adds a huge entry next to it, and the TLB holds two entries matching the faulting address. Octeon raises "Machine Check exception - caused by multiple matching entries in the TLB" on the next refill of that page; a process on a CN63XX board died this way within a second of start, on the first anonymous THP of its bss. Skip the write when the probe misses. The refill and TLBL/TLBS handlers probe the faulting address themselves and rewrite the stale entry with the huge one (they also set the software young bit), so the entry is installed on the next access at the cost of one exception.
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "arch/mips/mm/tlb-r4k.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "2783340d1f2403fe970eafee590b8ce13a36b8cb",
              "status": "affected",
              "version": "fd062c847a8cea2821347d7e18165dfa658f7dce",
              "versionType": "git"
            },
            {
              "lessThan": "41e3406fb6bdacb76fe3de8e71c1ea0e56c76e8e",
              "status": "affected",
              "version": "fd062c847a8cea2821347d7e18165dfa658f7dce",
              "versionType": "git"
            },
            {
              "lessThan": "926d99c2299b655f452b07ca946255ce6d5abaad",
              "status": "affected",
              "version": "fd062c847a8cea2821347d7e18165dfa658f7dce",
              "versionType": "git"
            },
            {
              "lessThan": "dd799bae4c1898dd3ee810ade13c6ba4b0974aaa",
              "status": "affected",
              "version": "fd062c847a8cea2821347d7e18165dfa658f7dce",
              "versionType": "git"
            },
            {
              "lessThan": "bc977f434e9e7d0ce7f065ff18eba71e73e5f854",
              "status": "affected",
              "version": "fd062c847a8cea2821347d7e18165dfa658f7dce",
              "versionType": "git"
            },
            {
              "lessThan": "6407390b5aa1303536508c37a054696bdd30598f",
              "status": "affected",
              "version": "fd062c847a8cea2821347d7e18165dfa658f7dce",
              "versionType": "git"
            },
            {
              "lessThan": "0a75547e19098e276f9fec563ceaee694b9610fe",
              "status": "affected",
              "version": "fd062c847a8cea2821347d7e18165dfa658f7dce",
              "versionType": "git"
            },
            {
              "lessThan": "0cb17268887e1df5c425ea052f5146b42d126323",
              "status": "affected",
              "version": "fd062c847a8cea2821347d7e18165dfa658f7dce",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "arch/mips/mm/tlb-r4k.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.31"
            },
            {
              "lessThan": "2.6.31",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.275",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.226",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.193",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.63",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.4",
              "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\nMIPS: mm: do not write a huge TLB entry when the probe misses\n\n__update_tlb() probes for the 8K pair at the address it is given and,\nfor a huge pmd, writes the huge entry with tlbwi at the probed index or\nwith tlbwr when the probe misses. That works only if the caller passes\nthe faulting address, so that the probe finds the 4K entry the refill\nhandler loaded for the faulting page and the huge entry replaces it.\n\nupdate_mmu_cache_pmd() is not called that way. do_set_pmd() has always\npassed the huge-aligned address, and since commit ebcfc63d6bca (\"mm:\nabstract THP allocation\") the anonymous THP fault path does too\n(map_anon_folio_pmd()). The probe then misses the stale 4K entry, which\nsits at the faulting page somewhere else in the 2 MB range, tlbwr adds\na huge entry next to it, and the TLB holds two entries matching the\nfaulting address. Octeon raises \"Machine Check exception - caused by\nmultiple matching entries in the TLB\" on the next refill of that page;\na process on a CN63XX board died this way within a second of start, on\nthe first anonymous THP of its bss.\n\nSkip the write when the probe misses. The refill and TLBL/TLBS handlers\nprobe the faulting address themselves and rewrite the stale entry with\nthe huge one (they also set the software young bit), so the entry is\ninstalled on the next access at the cost of one exception."
    }
  ],
  "id": "CVE-2026-138969",
  "lastModified": "2026-11-30T14:17:58.757",
  "metrics": {},
  "published": "2026-11-30T14:17:58.757",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/0a75547e19098e276f9fec563ceaee694b9610fe"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/0cb17268887e1df5c425ea052f5146b42d126323"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/2783340d1f2403fe970eafee590b8ce13a36b8cb"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/41e3406fb6bdacb76fe3de8e71c1ea0e56c76e8e"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/6407390b5aa1303536508c37a054696bdd30598f"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/926d99c2299b655f452b07ca946255ce6d5abaad"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/bc977f434e9e7d0ce7f065ff18eba71e73e5f854"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/dd799bae4c1898dd3ee810ade13c6ba4b0974aaa"
    }
  ],
  "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.