🇰🇷 한글 설명
Linux 커널의 OCFS2 파일 시스템 내 ocfs2_xattr_find_entry() 함수에서 memcmp 호출 전 경계 검사가 엄격하지 않아 발생하는 취약점입니다. 공격자가 조작된 이미지 파일을 사용하여 메모리 경계를 벗어나는 접근을 유도할 수 있습니다.
💡 쉬운 설명
파일 시스템이 데이터를 읽을 때 정해진 범위를 넘어서는 잘못된 메모리 영역을 확인하려 할 때 발생하는 문제입니다. 악의적으로 만들어진 파일을 사용하면 시스템에 문제를 일으킬 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ocfs2: strict bound check before memcmp in ocfs2_xattr_find_entry()
xattr in ocfs2 maybe 'non-indexed', which saved with additional space
requested. It's better to check if the memory is out of bound before
memcmp, although this possibility mainly comes from crafted poisonous
images.
📍 영향받는 시스템
OCFS2 파일 시스템을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
조작된(Poisonous) OCFS2 이미지 파일을 시스템에 마운트하거나 로드함
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인