CVE-2025-38300
- 공개
- 2025년 7월 10일
- 수정
- 2026년 6월 17일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
crypto: sun8i-ce-cipher - fix error handling in sun8i_ce_cipher_prepare()
Fix two DMA cleanup issues on the error path in sun8i_ce_cipher_prepare():
1] If dma_map_sg() fails for areq->dst, the device driver would try to free DMA memory it has not allocated in the first place. To fix this, on the "theend_sgs" error path, call dma unmap only if the corresponding dma map was successful.
2] If the dma_map_single() call for the IV fails, the device driver would try to free an invalid DMA memory address on the "theend_iv" path: ------------[ cut here ]------------ DMA-API: sun8i-ce 1904000.crypto: device driver tries to free an invalid DMA memory address WARNING: CPU: 2 PID: 69 at kernel/dma/debug.c:968 check_unmap+0x123c/0x1b90 Modules linked in: skcipher_example(O+) CPU: 2 UID: 0 PID: 69 Comm: 1904000.crypto- Tainted: G O 6.15.0-rc3+ #24 PREEMPT Tainted: [O]=OOT_MODULE Hardware name: OrangePi Zero2 (DT) pc : check_unmap+0x123c/0x1b90 lr : check_unmap+0x123c/0x1b90 ... Call trace: check_unmap+0x123c/0x1b90 (P) debug_dma_unmap_page+0xac/0xc0 dma_unmap_page_attrs+0x1f4/0x5fc sun8i_ce_cipher_do_one+0x1bd4/0x1f40 crypto_pump_work+0x334/0x6e0 kthread_worker_fn+0x21c/0x438 kthread+0x374/0x664 ret_from_fork+0x10/0x20 ---[ end trace 0000000000000000 ]---
To fix this, check for !dma_mapping_error() before calling dma_unmap_single() on the "theend_iv" path.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| debian_linuxdebian | 이 버전만 | 취약 | = | 11.0 | 벤더 공지 확인 | |
| linux_kernellinux | 5.5 | ≤ | 취약 | < | 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.5 | 벤더 공지 확인 | |
| 최초 버전 | ≤ | 영향 없음 | < | 5.5 | — | |
| 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/19d267d9fad00d94ad8477899e38ed7c11f33fb6
- git.kernel.org/stable/c/4051250e5db489f8ad65fc337e2677b9b568ac72
- git.kernel.org/stable/c/a0ac3f85b2e3ef529e852f252a70311f9029d5e6
- git.kernel.org/stable/c/c62b79c1c51303dbcb6edfa4de0ee176f4934c52
- git.kernel.org/stable/c/f31adc3e356f7350d4a4d68c98d3f60f2f6e26b3