CVE-2025-38277
- 공개
- 2025년 7월 10일
- 수정
- 2026년 6월 17일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
mtd: nand: ecc-mxic: Fix use of uninitialized variable ret
If ctx->steps is zero, the loop processing ECC steps is skipped, and the variable ret remains uninitialized. It is later checked and returned, which leads to undefined behavior and may cause unpredictable results in user space or kernel crashes.
This scenario can be triggered in edge cases such as misconfigured geometry, ECC engine misuse, or if ctx->steps is not validated after initialization.
Initialize ret to zero before the loop to ensure correct and safe behavior regardless of the ctx->steps value.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| debian_linuxdebian | 이 버전만 | 취약 | = | 11.0 | 벤더 공지 확인 | |
| linux_kernellinux | 5.18 | ≤ | 취약 | < | 6.1.142 | 6.1.142이상 |
| 6.2 | ≤ | 취약 | < | 6.6.94 | 6.6.94이상 | |
| 6.7 | ≤ | 취약 | < | 6.12.34 | 6.12.34이상 | |
| 6.13 | ≤ | 취약 | < | 6.15.3 | 6.15.3이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 7줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 5.18 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 5.18 | — | |
| 6.1.142 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.94 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.34 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.15.3 | ≤ | 영향 없음 | ≤ | 6.15.* | — | |
| 6.16 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치5
- git.kernel.org/stable/c/49482f4a39620f6afedcd3f6aa9e0d558b6a460b
- git.kernel.org/stable/c/4d9d6e4be09472aa72953caca3dbefdc27846170
- git.kernel.org/stable/c/7a23cc510ecaabab4f6df7e9d910d16e279b72ad
- git.kernel.org/stable/c/a0d9d9b5a4634e146ae41cb25667322e5c7d74d2
- git.kernel.org/stable/c/d95846350aac72303036a70c4cdc69ae314aa26d