🇰🇷 한글 설명
Linux 커널의 HFS 파일 시스템에서 hfs_bnode_read() 함수 호출 시 slab-out-of-bounds 취약점이 발견되었습니다. 이 취약점은 요청된 오프셋과 길이를 적절히 검증하지 않아 할당된 메모리 범위를 벗어난 접근을 허용하며, 시스템 충돌을 유발할 수 있습니다.
💡 쉬운 설명
파일을 읽거나 쓰는 과정에서 정해진 메모리 범위를 넘어서는 잘못된 명령이 전달될 수 있는 문제입니다. 이로 인해 컴퓨터 시스템이 갑자기 멈추거나 꺼지는 현상이 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
hfs: fix slab-out-of-bounds in hfs_bnode_read()
This patch introduces is_bnode_offset_valid() method that checks
the requested offset value. Also, it introduces
check_and_correct_requested_length() method that checks and
correct the requested length (if it is necessary). These methods
are used in hfs_bnode_read(), hfs_bnode_write(), hfs_bnode_clear(),
hfs_bnode_copy(), and hfs_bnode_move() with the goal to prevent
the access out of allocated memory and triggering the crash.
📍 영향받는 시스템
HFS 파일 시스템을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
조작된 HFS 파일 시스템 구조를 통해 메모리 경계를 벗어나는 읽기/쓰기 요청을 수행
🛡️ 대응 방법
HFS 관련 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 최신 보안 패치 버전인지 확인