CVE-2025-23150
- 공개
- 2025년 5월 1일
- 수정
- 2026년 7월 30일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
ext4: fix off-by-one error in do_split
Syzkaller detected a use-after-free issue in ext4_insert_dentry that was caused by out-of-bounds access due to incorrect splitting in do_split.
BUG: KASAN: use-after-free in ext4_insert_dentry+0x36a/0x6d0 fs/ext4/namei.c:2109 Write of size 251 at addr ffff888074572f14 by task syz-executor335/5847
CPU: 0 UID: 0 PID: 5847 Comm: syz-executor335 Not tainted 6.12.0-rc6-syzkaller-00318-ga9cda7c0ffed #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Call Trace: <TASK> __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:377 [inline] print_report+0x169/0x550 mm/kasan/report.c:488 kasan_report+0x143/0x180 mm/kasan/report.c:601 kasan_check_range+0x282/0x290 mm/kasan/generic.c:189 __asan_memcpy+0x40/0x70 mm/kasan/shadow.c:106 ext4_insert_dentry+0x36a/0x6d0 fs/ext4/namei.c:2109 add_dirent_to_buf+0x3d9/0x750 fs/ext4/namei.c:2154 make_indexed_dir+0xf98/0x1600 fs/ext4/namei.c:2351 ext4_add_entry+0x222a/0x25d0 fs/ext4/namei.c:2455 ext4_add_nondir+0x8d/0x290 fs/ext4/namei.c:2796 ext4_symlink+0x920/0xb50 fs/ext4/namei.c:3431 vfs_symlink+0x137/0x2e0 fs/namei.c:4615 do_symlinkat+0x222/0x3a0 fs/namei.c:4641 __do_sys_symlink fs/namei.c:4662 [inline] __se_sys_symlink fs/namei.c:4660 [inline] __x64_sys_symlink+0x7a/0x90 fs/namei.c:4660 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f </TASK>
The following loop is located right above 'if' statement.
for (i = count-1; i >= 0; i--) { /* is more than half of this entry in 2nd half of the block? */ if (size + map[i].size/2 > blocksize/2) break; size += map[i].size; move++; }
'i' in this case could go down to -1, in which case sum of active entries wouldn't exceed half the block size, but previous behaviour would also do split in half if sum would exceed at the very last block, which in case of having too many long name files in a single block could lead to out-of-bounds access and following use-after-free.
Found by Linux Verification Center (linuxtesting.org) with Syzkaller.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| debian_linuxdebian | 이 버전만 | 취약 | = | 11.0 | 벤더 공지 확인 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 18줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 5.4.61 | ≤ | 취약 | < | 5.4.293 | 5.4.293이상 |
| 4.4.234 | ≤ | 취약 | < | 4.5 | 4.5이상 | |
| 4.9.234 | ≤ | 취약 | < | 4.10 | 4.10이상 | |
| 4.14.195 | ≤ | 취약 | < | 4.15 | 4.15이상 | |
| 4.19.142 | ≤ | 취약 | < | 4.20 | 4.20이상 | |
| 5.7.18 | ≤ | 취약 | < | 5.8 | 5.8이상 | |
| 5.8.4 | ≤ | 취약 | < | 5.9 | 5.9이상 | |
| 이 버전만 | 취약 | = | 5.9 | 벤더 공지 확인 | ||
| 최초 버전 | ≤ | 영향 없음 | < | 5.9 | — | |
| 5.4.293 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.10.237 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.181 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.1.135 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.88 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.24 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.13.12 | ≤ | 영향 없음 | ≤ | 6.13.* | — | |
| 6.14.3 | ≤ | 영향 없음 | ≤ | 6.14.* | — | |
| 6.15 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치9
- git.kernel.org/stable/c/16d9067f00e3a7d1df7c3aa9c20d214923d27e10
- git.kernel.org/stable/c/17df39f455f1289319d4d09e4826aa46852ffd17
- git.kernel.org/stable/c/2883e9e74f73f9265e5f8d1aaaa89034b308e433
- git.kernel.org/stable/c/2eeb1085bf7bd5c7ba796ca4119925fa5d336a3f
- git.kernel.org/stable/c/35d0aa6db9d93307085871ceab8a729594a98162