CVE-2025-39871
- 공개
- 2025년 9월 23일
- 수정
- 2026년 11월 10일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
dmaengine: idxd: Remove improper idxd_free
The call to idxd_free() introduces a duplicate put_device() leading to a reference count underflow: refcount_t: underflow; use-after-free. WARNING: CPU: 15 PID: 4428 at lib/refcount.c:28 refcount_warn_saturate+0xbe/0x110 ... Call Trace: <TASK> idxd_remove+0xe4/0x120 [idxd] pci_device_remove+0x3f/0xb0 device_release_driver_internal+0x197/0x200 driver_detach+0x48/0x90 bus_remove_driver+0x74/0xf0 pci_unregister_driver+0x2e/0xb0 idxd_exit_module+0x34/0x7a0 [idxd] __do_sys_delete_module.constprop.0+0x183/0x280 do_syscall_64+0x54/0xd70 entry_SYSCALL_64_after_hwframe+0x76/0x7e
The idxd_unregister_devices() which is invoked at the very beginning of idxd_remove(), already takes care of the necessary put_device() through the following call path: idxd_unregister_devices() -> device_unregister() -> put_device()
In addition, when CONFIG_DEBUG_KOBJECT_RELEASE is enabled, put_device() may trigger asynchronous cleanup via schedule_delayed_work(). If idxd_free() is called immediately after, it can result in a use-after-free.
Remove the improper idxd_free() to avoid both the refcount underflow and potential memory corruption during module unload.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 6.1.140 | ≤ | 취약 | < | 6.2 | 6.2이상 |
| 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.1 | ≤ | 취약 | < | 6.16.8 | 6.16.8이상 | |
| 이 버전만 | 취약 | = | 6.15 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.15 rc7 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.17 rc1 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.17 rc2 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.17 rc3 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.17 rc4 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.17 rc5 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 11줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 6.1.140 | ≤ | 취약 | < | 6.1.160 | 6.1.160이상 |
| 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.160 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.107 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.48 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.16.8 | ≤ | 영향 없음 | ≤ | 6.16.* | — | |
| 6.17 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.