CVE-2025-38072
- 공개
- 2025년 6월 18일
- 수정
- 2026년 11월 6일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
libnvdimm/labels: Fix divide error in nd_label_data_init()
If a faulty CXL memory device returns a broken zero LSA size in its memory device information (Identify Memory Device (Opcode 4000h), CXL spec. 3.1, 8.2.9.9.1.1), a divide error occurs in the libnvdimm driver:
Oops: divide error: 0000 [#1] PREEMPT SMP NOPTI RIP: 0010:nd_label_data_init+0x10e/0x800 [libnvdimm]
Code and flow:
1) CXL Command 4000h returns LSA size = 0 2) config_size is assigned to zero LSA size (CXL pmem driver):
drivers/cxl/pmem.c: .config_size = mds->lsa_size,
3) max_xfer is set to zero (nvdimm driver):
drivers/nvdimm/label.c: max_xfer = min_t(size_t, ndd->nsarea.max_xfer, config_size);
4) A subsequent DIV_ROUND_UP() causes a division by zero:
drivers/nvdimm/label.c: /* Make our initial read size a multiple of max_xfer size */ drivers/nvdimm/label.c: read_size = min(DIV_ROUND_UP(read_size, max_xfer) * max_xfer, drivers/nvdimm/label.c- config_size);
Fix this by checking the config size parameter by extending an existing check.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| debian_linuxdebian | 이 버전만 | 취약 | = | 11.0 | 벤더 공지 확인 | |
| linux_kernellinux | 최초 버전 | ≤ | 취약 | < | 5.4.294 | 5.4.294이상 |
| 5.5 | ≤ | 취약 | < | 5.10.238 | 5.10.238이상 | |
| 5.11 | ≤ | 취약 | < | 5.15.185 | 5.15.185이상 | |
| 5.16 | ≤ | 취약 | < | 6.1.141 | 6.1.141이상 | |
| 6.2 | ≤ | 취약 | < | 6.6.93 | 6.6.93이상 | |
| 6.7 | ≤ | 취약 | < | 6.12.31 | 6.12.31이상 | |
| 6.13 | ≤ | 취약 | < | 6.14.9 | 6.14.9이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 10줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 이 버전만 | 취약 | = | 4.20 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 4.20 | — | |
| 5.4.294 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.10.238 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.185 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.141 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.93 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.31 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.14.9 | ≤ | 영향 없음 | ≤ | 6.14.* | — | |
| 6.15 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치8
- git.kernel.org/stable/c/1d1e1efad1cf049e888bf175a5c6be85d792620c
- git.kernel.org/stable/c/2bd4a938d2eda96ab7288b8fa5aae84a1de8c4ca
- git.kernel.org/stable/c/396c46d3f59a18ebcc500640e749f16e197d472b
- git.kernel.org/stable/c/db1aef51b8e66a77f76b1250b914589c31a0a0ed
- git.kernel.org/stable/c/e14347f647ca6d76fe1509b6703e340f2d5e2716