🇰🇷 한글 설명
Linux 커널의 ocfs2 파일 시스템에서 ocfs2_read_inode_block_full() 함수 호출 시 make_bad_inode()를 사용하는 취약점이 해결되었습니다. 디렉토리 inode를 처리하는 과정에서 inode 타입을 일반 파일(S_IFREG)로 잘못 변경하여 VFS(가상 파일 시스템) 계층에 혼란을 주고 시스템 오류를 유발할 수 있는 문제가 있었습니다.
💡 쉬운 설명
파일 시스템이 폴더를 읽는 과정에서 실수로 폴더를 일반 파일로 착각하여 시스템이 혼란에 빠지는 버그입니다. 이로 인해 시스템이 예상치 못한 동작을 하거나 멈출 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ocfs2: do not use make_bad_inode() in ocfs2_read_inode_block_full()
This reverts commit 58b6fcd2ab34 ("ocfs2: mark inode bad upon validation
failure during read").
Since 'make_bad_inode()' resets inode type to S_IFREG, doing this for
directory inode during active VFS lookup is likely to confuse the latter,
including VFS_BUG_ON_INODE() triggered in this case.
📍 영향받는 시스템
ocfs2 파일 시스템을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
로컬 공격자가 조작된 파일 시스템 구조를 통해 VFS 계층의 논리적 오류를 유발
🛡️ 대응 방법
해당 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인