🇰🇷 한글 설명
Linux 커널의 JFS 파일 시스템 내 dbFindLeaf 함수에서 배열 인덱스 범위 초과 취약점이 발견되었습니다. dmtree_t를 검색하는 과정에서 적절한 검증 없이 배열 요소에 접근하여 발생하며, 이를 해결하기 위해 트리 유형을 확인하는 로직이 추가되었습니다.
💡 쉬운 설명
컴퓨터의 파일 저장 방식 중 하나인 JFS에서 데이터를 찾을 때, 정해진 범위를 벗어난 잘못된 위치를 참조하는 오류가 있습니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
jfs: fix array-index-out-of-bounds in dbFindLeaf
Currently while searching for dmtree_t for sufficient free blocks there
is an array out of bounds while getting element in tp->dm_stree. To add
the required check for out of bound we first need to determine the type
of dmtree. Thus added an extra parameter to dbFindLeaf so that the type
of tree can be determined and the required check can be applied.
📍 영향받는 시스템
JFS(Journaled File System)를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
조작된 파일 시스템 구조를 통해 커널 메모리의 배열 인덱스 범위를 벗어나도록 유도
🛡️ 대응 방법
JFS 취약점이 수정된 최신 Linux 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 보안 업데이트 버전인지 확인