🇰🇷 한글 설명
Linux 커널의 XFS 파일 시스템에서 dquot(할당량) 복구 검증 오류가 발생하더라도 이를 무시하고 성공으로 처리하는 취약점이 발견되었습니다. 이로 인해 손상된 할당량 버퍼가 그대로 디스크에 기록되어 파일 시스템의 무결성이 훼손될 수 있습니다.
💡 쉬운 설명
파일 시스템을 복구하는 과정에서 오류가 발생했는데도 시스템이 이를 정상으로 착각하고 넘어가는 문제입니다. 이 때문에 깨진 데이터가 그대로 저장되어 나중에 파일 시스템이 망가질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
xfs: don't swallow dquot recovery verification errors
xlog_recover_dquot_commit_pass2() validates the recovered dquot with
xfs_dqblk_verify() and, on failure, sets error = -EFSCORRUPTED and jumps
to out_release. But out_release unconditionally returns 0, so the
corruption error is discarded: the caller xlog_recover_items_pass2()
sees success, log recovery proceeds as if the dquot were valid, and the
corrupt quota buffer can be written back to disk.
📍 영향받는 시스템
XFS 파일 시스템을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
로컬 공격자가 의도적으로 손상된 파일 시스템 로그를 생성하여 데이터 무결성을 파괴할 수 있음
🛡️ 대응 방법
XFS dquot 복구 오류를 올바르게 처리하도록 수정된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인