🇰🇷 한글 설명
Linux 커널의 exfat 파일 시스템에서 디렉터리 엔트리에 대한 경계 외 접근(Out-of-bounds access) 취약점이 발견되었습니다. 파일 시스템 손상으로 인해 디렉터리 크기가 클러스터 크기보다 크고 시작 클러스터가 유효하지 않은 경우, 잘못된 메모리 위치에 접근하여 추가적인 파일 시스템 손상을 유발할 수 있습니다.
💡 쉬운 설명
파일 시스템이 고장 난 상태에서 특정 폴더를 읽으려고 할 때, 컴퓨터가 허용되지 않은 메모리 영역을 건드려 데이터가 더 망가질 수 있는 문제입니다. 이를 방지하기 위해 잘못된 위치를 참조하지 않도록 검사하는 기능이 추가되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
exfat: fix out-of-bounds access of directory entries
In the case of the directory size is greater than or equal to
the cluster size, if start_clu becomes an EOF cluster(an invalid
cluster) due to file system corruption, then the directory entry
where ei->hint_femp.eidx hint is outside the directory, resulting
in an out-of-bounds access, which may cause further file system
corruption.
This commit adds a check for start_clu, if it is an invalid cluster,
the file or directory will be treated as empty.
📍 영향받는 시스템
exfat 파일 시스템을 사용하는 Linux 커널 기반 시스템
⚔️ 공격 벡터
손상된 exfat 파일 시스템(USB, SD 카드 등)을 시스템에 연결하여 디렉터리 엔트리에 접근할 때 발생
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.