Skip to content
High 7.8

Linux カーネルのMIPSでhugetlbのメモリ配置が不正になり、システムが不安定になる脆弱性

CVE-2026-138970 First seen on SecPulse

Summary

MIPS版のLinuxカーネルで、hugetlbファイルへのmmapが不適切なアドレスに配置され、メモリ破壊やマシンチェックが起きるおそれがあります。影響を受けるのは6.13.0以降6.18.63未満と、6.19.0以降7.3.4未満です。修正版は6.18.63と7.3.4で、ベンダーの提供する更新を適用してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

MIPS版のLinuxカーネルで、hugetlbファイルへのmmapが不適切なアドレスに配置され、メモリ破壊やマシンチェックが起きるおそれがあります。影響を受けるのは6.13.0以降6.18.63未満と、6.19.0以降7.3.4未満です。修正版は6.18.63と7.3.4で、ベンダーの提供する更新を適用してください。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 6.13.0, < 6.18.63→ 6.18.63
≥ 6.19.0, < 7.3.4→ 7.3.4

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details