CVE-2025-38445
- 공개
- 2025년 7월 26일
- 수정
- 2026년 11월 6일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
md/raid1: Fix stack memory use after return in raid1_reshape
In the raid1_reshape function, newpool is allocated on the stack and assigned to conf->r1bio_pool. This results in conf->r1bio_pool.wait.head pointing to a stack address. Accessing this address later can lead to a kernel panic.
Example access path:
raid1_reshape() { // newpool is on the stack mempool_t newpool, oldpool; // initialize newpool.wait.head to stack address mempool_init(&newpool, ...); conf->r1bio_pool = newpool; }
raid1_read_request() or raid1_write_request() { alloc_r1bio() { mempool_alloc() { // if pool->alloc fails remove_element() { --pool->curr_nr; } } } }
mempool_free() { if (pool->curr_nr < pool->min_nr) { // pool->wait.head is a stack address // wake_up() will try to access this invalid address // which leads to a kernel panic return; wake_up(&pool->wait); } }
Fix: reinit conf->r1bio_pool.wait after assigning newpool.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| debian_linuxdebian | 이 버전만 | 취약 | = | 11.0 | 벤더 공지 확인 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 10줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 4.18 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 4.18 | — | |
| 5.4.296 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.10.240 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.189 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.146 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.99 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.39 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.15.7 | ≤ | 영향 없음 | ≤ | 6.15.* | — | |
| 6.16 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치8
- git.kernel.org/stable/c/12b00ec99624f8da8c325f2dd6e807df26df0025
- git.kernel.org/stable/c/48da050b4f54ed639b66278d0ae6f4107b2c4e2d
- git.kernel.org/stable/c/5f35e48b76655e45522df338876dfef88dafcc71
- git.kernel.org/stable/c/61fd5e93006cf82ec8ee5c115ab5cf4bbd104bdb
- git.kernel.org/stable/c/776e6186dc9ecbdb8a1b706e989166c8a99bbf64