CVE-2025-39870
- 공개
- 2025년 9월 23일
- 수정
- 2026년 10월 20일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
dmaengine: idxd: Fix double free in idxd_setup_wqs()
The clean up in idxd_setup_wqs() has had a couple bugs because the error handling is a bit subtle. It's simpler to just re-write it in a cleaner way. The issues here are:
1) If "idxd->max_wqs" is <= 0 then we call put_device(conf_dev) when "conf_dev" hasn't been initialized. 2) If kzalloc_node() fails then again "conf_dev" is invalid. It's either uninitialized or it points to the "conf_dev" from the previous iteration so it leads to a double free.
It's better to free partial loop iterations within the loop and then the unwinding at the end can handle whole loop iterations. I also renamed the labels to describe what the goto does and not where the goto was located.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| debian_linuxdebian | 이 버전만 | 취약 | = | 11.0 | 벤더 공지 확인 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 11줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 6.1.140 | ≤ | 취약 | < | 6.1.153 | 6.1.153이상 |
| 6.6.92 | ≤ | 취약 | < | 6.6.107 | 6.6.107이상 | |
| 6.12.30 | ≤ | 취약 | < | 6.12.48 | 6.12.48이상 | |
| 6.14.8 | ≤ | 취약 | < | 6.15 | 6.15이상 | |
| 이 버전만 | 취약 | = | 6.15 | 벤더 공지 확인 | ||
| 최초 버전 | ≤ | 영향 없음 | < | 6.15 | — | |
| 6.1.153 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.107 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.48 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.16.8 | ≤ | 영향 없음 | ≤ | 6.16.* | — | |
| 6.17 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치5
- git.kernel.org/stable/c/25e6146c2812487a88f619d5ff6efbdcd5b2bc31
- git.kernel.org/stable/c/39aaa337449e71a41d4813be0226a722827ba606
- git.kernel.org/stable/c/9f0e225635475b2285b966271d5e82cba74295b1
- git.kernel.org/stable/c/df82c7901513fd0fc738052a8e6a330d92cc8ec9
- git.kernel.org/stable/c/ec5430d090d0b6ace8fefa290fc37e88930017d2