🇰🇷 한글 설명
Linux 커널 ext4 파일시스템의 extent tree 조정 함수에서 인덱스 포인터 범위를 검증하지 않아 발생하는 취약점이다. 손상된 extent 헤더를 통해 메모리 버퍼를 벗어난 slab-out-of-bounds 읽기가 가능하다. 패치는 p_idx를 EXT_LAST_INDEX()로 검증하여 범위 확인을 강화한다.
💡 쉬운 설명
Linux의 파일 저장 구조 관리 코드에서 메모리 경계 확인이 부족한 문제입니다. 악의적으로 조작된 파일시스템을 통해 보안되지 않은 메모리 정보에 접근할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ext4: validate p_idx bounds in ext4_ext_correct_indexes
ext4_ext_correct_indexes() walks up the extent tree correcting
index entries when the first extent in a leaf is modified. Before
accessing path[k].p_idx->ei_block, there is no validation that
p_idx falls within the valid range of index entries for that
level.
If the on-disk extent header contains a corrupted or crafted
eh_entries value, p_idx can point past the end of the allocated
buffer, causing a slab-out-of-bounds read.
Fix this by validating path[k].p_idx against EXT_LAST_INDEX() at
both access sites: before the while loop and inside it. Return
-EFSCORRUPTED if the index pointer is out of range, consistent
with how other bounds violations are handled in the ext4 extent
tree code.
📍 영향받는 시스템
Linux 커널 (모든 버전, ext4 파일시스템 사용하는 시스템)
⚔️ 공격 벡터
손상되거나 조작된 ext4 파일시스템 이미지 마운트 또는 로컬 권한을 통한 파일시스템 조작
🛡️ 대응 방법
Linux 커널을 CVE-2026-31449 패치가 포함된 최신 버전으로 업그레이드
🔧 검증 코드
현재 커널 버전을 확인한 후 배포판별 보안 공지에서 해당 버전이 패치되었는지 확인