CVE-2025-37818
- 공개
- 2025년 5월 8일
- 수정
- 2026년 6월 17일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
LoongArch: Return NULL from huge_pte_offset() for invalid PMD
LoongArch's huge_pte_offset() currently returns a pointer to a PMD slot even if the underlying entry points to invalid_pte_table (indicating no mapping). Callers like smaps_hugetlb_range() fetch this invalid entry value (the address of invalid_pte_table) via this pointer.
The generic is_swap_pte() check then incorrectly identifies this address as a swap entry on LoongArch, because it satisfies the "!pte_present() && !pte_none()" conditions. This misinterpretation, combined with a coincidental match by is_migration_entry() on the address bits, leads to kernel crashes in pfn_swap_entry_to_page().
Fix this at the architecture level by modifying huge_pte_offset() to check the PMD entry's content using pmd_none() before returning. If the entry is invalid (i.e., it points to invalid_pte_table), return NULL instead of the pointer to the slot.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| debian_linuxdebian | 이 버전만 | 취약 | = | 11.0 | 벤더 공지 확인 | |
| linux_kernellinux | 5.19 | ≤ | 취약 | < | 6.1.136 | 6.1.136이상 |
| 6.2 | ≤ | 취약 | < | 6.6.89 | 6.6.89이상 | |
| 6.7 | ≤ | 취약 | < | 6.12.26 | 6.12.26이상 | |
| 6.13 | ≤ | 취약 | < | 6.14.5 | 6.14.5이상 | |
| 이 버전만 | 취약 | = | 6.15 rc1 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.15 rc2 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.15 rc3 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 7줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 5.19 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 5.19 | — | |
| 6.1.136 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.89 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.26 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.14.5 | ≤ | 영향 없음 | ≤ | 6.14.* | — | |
| 6.15 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치5
- git.kernel.org/stable/c/2ca9380b12711afe95b3589bd82b59623b3c96b3
- git.kernel.org/stable/c/34256805720993e37adf6127371a1265aea8376a
- git.kernel.org/stable/c/51424fd171cee6a33f01f7c66b8eb23ac42289d4
- git.kernel.org/stable/c/b49f085cd671addbda4802d6b9382513f7dd0f30
- git.kernel.org/stable/c/bd51834d1cf65a2c801295d230c220aeebf87a73