🇰🇷 한글 설명
Linux 커널의 OCFS2 파일 시스템에서 오류 발생 시 예약된 작업(dqi_sync_work)을 취소하지 않고 메모리를 해제하여 발생하는 취약점입니다. 이로 인해 활성 상태인 객체를 해제하려는 시도가 발생하여 시스템 경고나 불안정성을 초래할 수 있습니다.
💡 쉬운 설명
컴퓨터가 작업을 처리하던 중 오류가 났을 때, 아직 끝나지 않은 작업을 제대로 정리하지 않고 메모리를 비워버리는 문제입니다. 이로 인해 시스템이 혼란을 겪거나 예기치 않은 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ocfs2: cancel dqi_sync_work before freeing oinfo
ocfs2_global_read_info() will initialize and schedule dqi_sync_work at the
end, if error occurs after successfully reading global quota, it will
trigger the following warning with CONFIG_DEBUG_OBJECTS_* enabled:
ODEBUG: free active (active state 0) object: 00000000d8b0ce28 object type: timer_list hint: qsync_work_fn+0x0/0x16c
This reports that there is an active delayed work when freeing oinfo in
error handling, so cancel dqi_sync_work first. BTW, return status instead
of -1 when .read_file_info fails.
📍 영향받는 시스템
OCFS2 파일 시스템을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
로컬 공격자가 파일 시스템의 할당량(quota) 읽기 과정에서 오류를 유도하여 시스템 불안정성을 유발할 수 있음
🛡️ 대응 방법
해당 취약점이 수정된 최신 Linux 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 OCFS2 관련 패치가 적용된 최신 버전인지 확인