CVE-2026-138969
MIPS: mm: do not write a huge TLB entry when the probe misses
Check your servers for CVE-2026-138969
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-138969 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.0% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from fd062c847a8cea2821347d7e18165dfa658f7dce, before 2783340d1f2403fe970eafee590b8ce13a36b8cb affected from fd062c847a8cea2821347d7e18165dfa658f7dce, before 41e3406fb6bdacb76fe3de8e71c1ea0e56c76e8e affected from fd062c847a8cea2821347d7e18165dfa658f7dce, before 926d99c2299b655f452b07ca946255ce6d5abaad affected from fd062c847a8cea2821347d7e18165dfa658f7dce, before dd799bae4c1898dd3ee810ade13c6ba4b0974aaa affected from fd062c847a8cea2821347d7e18165dfa658f7dce, before bc977f434e9e7d0ce7f065ff18eba71e73e5f854 affected from fd062c847a8cea2821347d7e18165dfa658f7dce, before 6407390b5aa1303536508c37a054696bdd30598f affected from fd062c847a8cea2821347d7e18165dfa658f7dce, before 0a75547e19098e276f9fec563ceaee694b9610fe affected from fd062c847a8cea2821347d7e18165dfa658f7dce, before 0cb17268887e1df5c425ea052f5146b42d126323
Other versions: unaffected
|
| Linux |
affected 2.6.31 unaffected before 2.6.31 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.63 up to and including 6.18.* unaffected from 7.3.4 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-138969 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-138969
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-138969
trivy image --scanners vuln IMAGE | grep CVE-2026-138969
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/2783340d1f2403fe970eafee590b8ce13a36b8cb git.kernel.org
- https://git.kernel.org/stable/c/41e3406fb6bdacb76fe3de8e71c1ea0e56c76e8e git.kernel.org
- https://git.kernel.org/stable/c/926d99c2299b655f452b07ca946255ce6d5abaad git.kernel.org
- https://git.kernel.org/stable/c/dd799bae4c1898dd3ee810ade13c6ba4b0974aaa git.kernel.org
- https://git.kernel.org/stable/c/bc977f434e9e7d0ce7f065ff18eba71e73e5f854 git.kernel.org
- https://git.kernel.org/stable/c/6407390b5aa1303536508c37a054696bdd30598f git.kernel.org
- https://git.kernel.org/stable/c/0a75547e19098e276f9fec563ceaee694b9610fe git.kernel.org
- https://git.kernel.org/stable/c/0cb17268887e1df5c425ea052f5146b42d126323 git.kernel.org
Source: the record CVE-2026-138969 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse