🇰🇷 한글 설명
Linux 커널 ext4 파일시스템에서, 조작된 이미지를 마운트할 때 저널 재생(replay) 후 s_journal_inum 값이 변경될 수 있습니다. 이 변경된 값은 ext4_get_journal()의 일부 검사를 우회하여 널 포인터 역참조를 유발할 수 있으며, 해당 변경은 무시하고 기존 journal_inum 값을 슈퍼블록에 다시 기록하도록 수정되었습니다.
💡 쉬운 설명
악의적으로 만든 ext4 디스크 이미지를 마운트하면 시스템이 잘못 동작할 수 있습니다. 이 취약점은 커널 패치로 해결되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ext4: update s_journal_inum if it changes after journal replay
When mounting a crafted ext4 image, s_journal_inum may change after journal
replay, which is obviously unreasonable because we have successfully loaded
and replayed the journal through the old s_journal_inum. And the new
s_journal_inum bypasses some of the checks in ext4_get_journal(), which
may trigger a null pointer dereference problem. So if s_journal_inum
changes after the journal replay, we ignore the change, and rewrite the
current journal_inum to the superblock.
📍 영향받는 시스템
패치 이전의 Linux 커널을 사용하는 ext4 파일시스템 지원 시스템 전반
⚔️ 공격 벡터
공격자가 조작된 ext4 이미지를 만들어 대상 시스템에 마운트하도록 유도 (로컬 또는 이동식 매체 필요)
🛡️ 대응 방법
배포판 제공 최신 Linux 커널 보안 업데이트를 적용하고 재부팅
🔧 검증 코드
출력된 커널 버전이 배포판의 보안 업데이트 적용 버전 이상인지 확인하고, 해당 패치가 포함된 버전인지 배포판 보안 공지로 대조