🇰🇷 한글 설명
Linux 커널의 XFS 파일 시스템에서 자기 참조 디렉토리를 삭제할 때 발생하는 취약점입니다. 디렉토리 트리 복구 과정에서 동일한 inode에 대해 중복 잠금(double-lock)을 시도하여 시스템 오류를 유발할 수 있는 문제를 해결했습니다.
💡 쉬운 설명
폴더가 자기 자신을 가리키는 특수한 오류 상황에서, 컴퓨터가 같은 폴더를 두 번 잠그려다 멈추거나 충돌하는 문제를 고쳤습니다. 이로 인해 발생할 수 있는 파일 시스템의 불안정성을 방지합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
xfs: don't double-lock when deleting a self-referential directory
LOLLM notices that the dirtree scrubber can detect a directory that
refers to itself. In this case, it's not correct for the directory tree
repair code to try to iolock/ilock both sc->ip and dp, because they're
the same inode. Fix this by detecting that corner case and handling it
appropriately.
📍 영향받는 시스템
XFS 파일 시스템을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
자기 참조 디렉토리를 생성하여 파일 시스템 복구 프로세스를 트리거하는 방식
🛡️ 대응 방법
XFS 관련 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인