🇰🇷 한글 설명
Linux 커널의 HFS 파일 시스템에서 CNID(파일/폴더 개수) 체크 시 BUG_ON을 사용하여 시스템을 중단시키던 취약점이 해결되었습니다. 손상된 MDB(Master Directory Block)로 인해 발생하던 커널 패닉 문제를 적절한 에러 처리 방식으로 교체하여 안정성을 높였습니다.
💡 쉬운 설명
파일 시스템 정보가 잘못되었을 때 컴퓨터가 갑자기 멈추거나 꺼지는 현상을 방지하는 수정 사항입니다. 데이터가 손상되어도 시스템이 중단되지 않고 오류 메시지만 띄우도록 개선되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
hfs: Replace BUG_ON with error handling for CNID count checks
In a06ec283e125 next_id, folder_count, and file_count in the super block
info were expanded to 64 bits, and BUG_ONs were added to detect
overflow. This triggered an error reported by syzbot: if the MDB is
corrupted, the BUG_ON is triggered. This patch replaces this mechanism
with proper error handling and resolves the syzbot reported bug.
Singed-off-by: Jori Koolstra <
[email protected]>
📍 영향받는 시스템
HFS 파일 시스템을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
손상된 HFS 파일 시스템(MDB)을 마운트하여 커널 패닉 유도
🛡️ 대응 방법
최신 보안 패치가 적용된 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 이후 버전인지 확인