🇰🇷 한글 설명
Linux kernel ext4 파일시스템에서 INLINE_DATA_FL 플래그는 설정되어 있으나 system.data 확장 속성이 누락된 경우 BUG_ON이 트리거되어 커널 패닉이 발생하는 문제를 수정. 이제 파일시스템 손상 오류로 안전하게 처리되도록 변경.
💡 쉬운 설명
Linux 커널의 파일 관리 기능에서 손상된 파일 메타데이터를 만날 때 시스템을 강제 종료하던 문제를 해결. 이제 안전하게 오류를 보고하고 시스템이 계속 작동하도록 개선.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ext4: do not BUG when INLINE_DATA_FL lacks system.data xattr
A syzbot fuzzed image triggered a BUG_ON in ext4_update_inline_data()
when an inode had the INLINE_DATA_FL flag set but was missing the
system.data extended attribute.
Since this can happen due to a maiciouly fuzzed file system, we
shouldn't BUG, but rather, report it as a corrupted file system.
Add similar replacements of BUG_ON with EXT4_ERROR_INODE() ii
ext4_create_inline_data() and ext4_inline_data_truncate().
📍 영향받는 시스템
ext4 파일시스템을 사용하는 모든 Linux kernel 버전 (일반적으로 5.15 이상)
⚔️ 공격 벡터
악의적으로 조작된 파일시스템 이미지를 마운트하거나 손상된 ext4 파일시스템에 접근하여 커널 패닉 유발 (DoS)
🛡️ 대응 방법
Linux kernel을 최신 버전으로 업데이트 (해당 패치가 포함된 버전)
🔧 검증 코드
커널 버전과 최근 ext4 관련 로그를 확인. 패치된 커널 실행 중이면 INLINE_DATA 관련 오류가 BUG_ON 대신 정상적인 오류 메시지로 표시될 것.
uname -r && dmesg | grep -i 'ext4\|inline_data' | tail -5