# CVE-2026-138969

- Bağlantı: https://www.allsafe.com.tr/cve-2026-138969/
- Yayımlanma: 2026-11-30T17:17:58+03:00
- Yazar: Postmaster

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.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-138969)
