🇰🇷 한글 설명
Linux 커널의 JFS 파일 시스템에서 dbNextAG() 및 diAlloc() 함수 내 경계 검사 미흡으로 인한 Out-of-bounds 취약점이 발견되었습니다. 오염된 파일 시스템 이미지를 사용할 경우, 할당 그룹(AG)의 수가 최대 허용치를 초과하여 메모리 경계를 벗어나는 접근이 발생할 수 있습니다.
💡 쉬운 설명
파일 시스템의 데이터가 조작된 경우, 컴퓨터가 정해진 메모리 범위를 벗어나 잘못된 곳을 읽거나 쓰는 오류가 발생할 수 있습니다. 이로 인해 시스템이 멈추거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
jfs: fix out-of-bounds in dbNextAG() and diAlloc()
In dbNextAG() , there is no check for the case where bmp->db_numag is
greater or same than MAXAG due to a polluted image, which causes an
out-of-bounds. Therefore, a bounds check should be added in dbMount().
And in dbNextAG(), a check for the case where agpref is greater than
bmp->db_numag should be added, so an out-of-bounds exception should be
prevented.
Additionally, a check for the case where agno is greater or same than
MAXAG should be added in diAlloc() to prevent out-of-bounds.
📍 영향받는 시스템
JFS(Journaled File System)를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
조작된(polluted) JFS 파일 시스템 이미지를 시스템에 마운트하여 발생
🛡️ 대응 방법
JFS 관련 경계 검사 로직이 포함된 최신 Linux 커널로 업데이트
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 취약점이 해결된 최신 패치 버전인지 확인합니다.