CVE-2026-138970

HighCVSS 7.8/10Last modified Dec 1, 2026

Description

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.

Metrics

CVSS 3.1 7.8/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Dec 1, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-138971In the Linux kernel, the following vulnerability has been resolved: peci: npcm: Initialize state before requesting IRQ The PECI interrupt CVE-2026-138972In the Linux kernel, the following vulnerability has been resolved: peci: aspeed: Initialize state before requesting IRQ The PECI interrupCVE-2026-138973In the Linux kernel, the following vulnerability has been resolved: dcache: report a Tasks-RCU quiescent state in dentry_kill() I am constCVE-2026-138974In the Linux kernel, the following vulnerability has been resolved: mtd: maps: l440gx: Fix double put of the PM device in init_l440gx() ThCVE-2026-138975In the Linux kernel, the following vulnerability has been resolved: mtd: maps: l440gx: Fix double put of the ISA bridge in init_l440gx() iCVE-2026-138976In the Linux kernel, the following vulnerability has been resolved: fuse: don't drop destination page cache on a zero byte copy reply __fuCVE-2026-138977In the Linux kernel, the following vulnerability has been resolved: fuse: don't shorten the folio descriptor at LLONG_MAX fuse_send_readpaCVE-2026-138978In the Linux kernel, the following vulnerability has been resolved: regulator: core: Fix coupled regulators reference leak on removal of_pCVE-2026-138979In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: ptdump: Check the page tables aren't freed when accessing CVE-2026-138988.8Use after free in Cast Receiver in Google Chrome prior to 150.0.7871.47 allowed a remote attacker to execute arbitrary code inside a sandboxCVE-2026-138980In the Linux kernel, the following vulnerability has been resolved: clk: mvebu: ap-cpu-clk: Assign .num before accessing .hws Commit f316cCVE-2026-138981In the Linux kernel, the following vulnerability has been resolved: ASoC: rt712-sdca-dmic: fix drvdata type in the gain controls rt712_sdc
CVE-2026-138970: High severity, CVSS 7.8 | Vulnix