🇰🇷 한글 설명
Linux 커널의 EROFS 파일시스템에서 메타데이터 압축 활성화 시 조작된 이미지가 잘못된 조기 반환을 유발하여 folio 참조가 누수되는 취약점입니다. 시스템 충돌이나 심각한 문제를 직접 유발하지는 않으나 메모리 누수로 인한 DoS 가능성이 있습니다.
💡 쉬운 설명
특수하게 조작된 압축 파일을 EROFS 파일시스템으로 마운트할 때 메모리 누수가 발생할 수 있습니다. 장시간 운영 시 메모리가 누적되어 시스템 성능 저하를 초래할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
erofs: fix incorrect early exits for invalid metabox-enabled images
Crafted EROFS images with metadata compression enabled can trigger
incorrect early returns, leading to folio reference leaks.
However, this does not cause system crashes or other severe issues.
📍 영향받는 시스템
Linux 커널 (특히 EROFS 파일시스템이 활성화된 경우)
⚔️ 공격 벡터
조작된 EROFS 이미지 파일을 시스템에 마운트하여 메모리 누수 유발
🛡️ 대응 방법
Linux 커널을 최신 패치 버전으로 업데이트하여 EROFS 메타데이터 처리 로직 수정
🔧 검증 코드
커널 버전 확인 후 EROFS 관련 패치 적용 여부는 커널 컴파일 옵션(CONFIG_EROFS) 확인으로 검증
uname -r | grep -E '^[0-9]+\.[0-9]+' && find /sys/kernel/config -name 'erofs' 2>/dev/null | head -1