🇰🇷 한글 설명
Linux 커널의 ext4 파일 시스템에서 fast commit replay 과정 중 블록 해제 실패 시 버디 시스템을 재생성하지 못하는 취약점이 발견되었습니다. 이로 인해 이미 해제된 블록이 다시 해제된 것으로 표시되어 버디 비트맵이 손상될 수 있습니다.
💡 쉬운 설명
파일 시스템이 데이터를 정리하는 과정에서 오류가 발생하면 저장 공간을 관리하는 지도가 망가질 수 있습니다. 이로 인해 데이터가 엉뚱한 곳에 저장되거나 파일 시스템이 깨질 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ext4: regenerate buddy after block freeing failed if under fc replay
This mostly reverts commit 6bd97bf273bd ("ext4: remove redundant
mb_regenerate_buddy()") and reintroduces mb_regenerate_buddy(). Based on
code in mb_free_blocks(), fast commit replay can end up marking as free
blocks that are already marked as such. This causes corruption of the
buddy bitmap so we need to regenerate it in that case.
📍 영향받는 시스템
ext4 파일 시스템을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
로컬 시스템에서 파일 시스템의 fast commit replay 기능을 유발하여 데이터 손상을 일으킴
🛡️ 대응 방법
ext4 버그가 수정된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인