🇰🇷 한글 설명
Linux 커널의 ext4 파일 시스템에서 ext4_fc_replay_scan() 함수 호출 시 경계 외 읽기(Out-of-bound read)가 발생할 수 있는 취약점입니다. 손상된 파일 시스템 이미지를 마운트할 때 태그 길이가 데이터 길이보다 짧을 경우 메모리의 잘못된 영역을 참조하게 됩니다.
💡 쉬운 설명
파일 시스템이 깨진 상태로 컴퓨터에 연결될 때, 시스템이 데이터를 읽는 과정에서 허용되지 않은 메모리 영역을 건드리는 문제입니다. 이로 인해 시스템 정보가 유출되거나 프로그램이 갑자기 종료될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ext4: fix potential out of bound read in ext4_fc_replay_scan()
For scan loop must ensure that at least EXT4_FC_TAG_BASE_LEN space. If remain
space less than EXT4_FC_TAG_BASE_LEN which will lead to out of bound read
when mounting corrupt file system image.
ADD_RANGE/HEAD/TAIL is needed to add extra check when do journal scan, as this
three tags will read data during scan, tag length couldn't less than data length
which will read.
📍 영향받는 시스템
ext4 파일 시스템을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
공격자가 조작된(손상된) ext4 파일 시스템 이미지를 시스템에 마운트하도록 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인