CVE-2025-21887
- 공개
- 2025년 3월 28일
- 수정
- 2026년 11월 10일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
ovl: fix UAF in ovl_dentry_update_reval by moving dput() in ovl_link_up
The issue was caused by dput(upper) being called before ovl_dentry_update_reval(), while upper->d_flags was still accessed in ovl_dentry_remote().
Move dput(upper) after its last use to prevent use-after-free.
BUG: KASAN: slab-use-after-free in ovl_dentry_remote fs/overlayfs/util.c:162 [inline] BUG: KASAN: slab-use-after-free in ovl_dentry_update_reval+0xd2/0xf0 fs/overlayfs/util.c:167
Call Trace: <TASK> __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114 print_address_description mm/kasan/report.c:377 [inline] print_report+0xc3/0x620 mm/kasan/report.c:488 kasan_report+0xd9/0x110 mm/kasan/report.c:601 ovl_dentry_remote fs/overlayfs/util.c:162 [inline] ovl_dentry_update_reval+0xd2/0xf0 fs/overlayfs/util.c:167 ovl_link_up fs/overlayfs/copy_up.c:610 [inline] ovl_copy_up_one+0x2105/0x3490 fs/overlayfs/copy_up.c:1170 ovl_copy_up_flags+0x18d/0x200 fs/overlayfs/copy_up.c:1223 ovl_rename+0x39e/0x18c0 fs/overlayfs/dir.c:1136 vfs_rename+0xf84/0x20a0 fs/namei.c:4893 ... </TASK>
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 5.10.188 | ≤ | 취약 | < | 5.11 | 5.11이상 |
| 5.15.121 | ≤ | 취약 | < | 5.15.179 | 5.15.179이상 | |
| 6.1.39 | ≤ | 취약 | < | 6.1.130 | 6.1.130이상 | |
| 6.3.13 | ≤ | 취약 | < | 6.4 | 6.4이상 | |
| 6.4.4 | ≤ | 취약 | < | 6.6.81 | 6.6.81이상 | |
| 6.7 | ≤ | 취약 | < | 6.12.18 | 6.12.18이상 | |
| 6.13 | ≤ | 취약 | < | 6.13.6 | 6.13.6이상 | |
| 이 버전만 | 취약 | = | 6.14 rc1 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.14 rc2 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.14 rc3 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.14 rc4 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 14줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 5.10.188 | ≤ | 취약 | < | 5.10.247 | 5.10.247이상 |
| 5.15.121 | ≤ | 취약 | < | 5.15.179 | 5.15.179이상 | |
| 6.1.39 | ≤ | 취약 | < | 6.1.130 | 6.1.130이상 | |
| 6.3.13 | ≤ | 취약 | < | 6.4 | 6.4이상 | |
| 6.4.4 | ≤ | 취약 | < | 6.5 | 6.5이상 | |
| 이 버전만 | 취약 | = | 6.5 | 벤더 공지 확인 | ||
| 최초 버전 | ≤ | 영향 없음 | < | 6.5 | — | |
| 5.10.247 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.179 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.130 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.81 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.18 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.13.6 | ≤ | 영향 없음 | ≤ | 6.13.* | — | |
| 6.14 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치6
- git.kernel.org/stable/c/3594aad97e7be2557ca9fa9c931b206b604028c8
- git.kernel.org/stable/c/4b49d939b5a79117f939b77cc67efae2694d9799
- git.kernel.org/stable/c/60b4b5c1277fc491da9e1e7abab307bfa39c2db7
- git.kernel.org/stable/c/64455c8051c3aedc71abb7ec8d47c80301f99f00
- git.kernel.org/stable/c/a7c41830ffcd17b2177a95a9b99b270302090c35