CVE-2025-39817
- 공개
- 2025년 9월 16일
- 수정
- 2026년 10월 20일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
efivarfs: Fix slab-out-of-bounds in efivarfs_d_compare
Observed on kernel 6.6 (present on master as well):
BUG: KASAN: slab-out-of-bounds in memcmp+0x98/0xd0 Call trace: kasan_check_range+0xe8/0x190 __asan_loadN+0x1c/0x28 memcmp+0x98/0xd0 efivarfs_d_compare+0x68/0xd8 __d_lookup_rcu_op_compare+0x178/0x218 __d_lookup_rcu+0x1f8/0x228 d_alloc_parallel+0x150/0x648 lookup_open.isra.0+0x5f0/0x8d0 open_last_lookups+0x264/0x828 path_openat+0x130/0x3f8 do_filp_open+0x114/0x248 do_sys_openat2+0x340/0x3c0 __arm64_sys_openat+0x120/0x1a0
If dentry->d_name.len < EFI_VARIABLE_GUID_LEN , 'guid' can become negative, leadings to oob. The issue can be triggered by parallel lookups using invalid filename:
T1 T2 lookup_open ->lookup simple_lookup d_add // invalid dentry is added to hash list
lookup_open d_alloc_parallel __d_lookup_rcu __d_lookup_rcu_op_compare hlist_bl_for_each_entry_rcu // invalid dentry can be retrieved ->d_compare efivarfs_d_compare // oob
Fix it by checking 'guid' before cmp.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| debian_linuxdebian | 이 버전만 | 취약 | = | 11.0 | 벤더 공지 확인 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 11줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 3.8.2 | ≤ | 취약 | < | 3.9 | 3.9이상 |
| 이 버전만 | 취약 | = | 3.9 | 벤더 공지 확인 | ||
| 최초 버전 | ≤ | 영향 없음 | < | 3.9 | — | |
| 5.4.298 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.10.242 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.191 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.150 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.104 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.45 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.16.5 | ≤ | 영향 없음 | ≤ | 6.16.* | — | |
| 6.17 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치8
- git.kernel.org/stable/c/0f63fbabeaaaaaaf5b742a2f4c1b4590d50bf1f6
- git.kernel.org/stable/c/568e7761279b99c6daa3002290fd6d8047ddb6d2
- git.kernel.org/stable/c/71581a82f38e5a4d807d71fc1bb59aead80ccf95
- git.kernel.org/stable/c/794399019301944fd6d2e0d7a51b3327e26c410e
- git.kernel.org/stable/c/925599eba46045930b850a98ae594d2e3028ac40