PT-2026-163011

CVE-2026-138970

·

Published

2026-11-30

·

Updated

2026-12-01

Description by

CVSS 3.1
7.8
High
MetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
🚨 CVE-2026-138970 In the Linux kernel, the following vulnerability has been resolved:
MIPS: mm: align hugetlb mappings in arch get unmapped area()
Since hugetlb mappings were made to go through the architecture's arch get unmapped area{, topdown}(), every architecture that implements those has to align hugetlb files itself. The generic implementation and loongarch do it with huge page mask align(); MIPS was left out.
A non-MAP FIXED mmap() of a hugetlbfs file therefore returns an address that is only SHMLBA aligned, and the kernel then installs 2 MB PMDs for a VMA that starts in the middle of a PMD. The consequences on an Octeon (CN63XX) board running a process that links libhugetlbfs with HUGETLB ELFMAP=R and HUGETLB MORECORE=yes, all within a minute of start: the neighbouring 4 KB page table is clobbered, the TLB ends up with overlapping entries ("Caught Machine Check exception - caused by multiple matching entries in the TLB"), process exit trips BUG ON(start & ~huge page mask(h)) in unmap hugepage range(), and freed pages leak into unrelated kernel structures (oopses in the irq maple tree, in pte offset map, ...).
Do what loongarch does in commit 3109d5ff484b ("LoongArch: Set hugetlb mmap base address aligned with pmd size"): when the file is a hugetlb file, use its page mask as the search alignment instead of the cache colour mask.
🎖@cveNotify
Exploitability
Fix
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾