🇰🇷 한글 설명
Linux 커널의 GFS2 파일 시스템에서 gfs2_log_flush 함수 실행 시 NULL 포인터 역참조가 발생할 수 있는 취약점입니다. 언마운트 과정에서 glock 작업과 경합이 발생할 경우 시스템이 충돌할 수 있습니다.
💡 쉬운 설명
컴퓨터가 파일을 정리하고 종료하는 과정에서 특정 데이터가 비어있는 상태를 제대로 확인하지 못해 발생하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 재부팅될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
gfs2: Fix NULL pointer dereference in gfs2_log_flush
In gfs2_jindex_free(), set sdp->sd_jdesc to NULL under the log flush
lock to provide exclusion against gfs2_log_flush().
In gfs2_log_flush(), check if sdp->sd_jdesc is non-NULL before
dereferencing it. Otherwise, we could run into a NULL pointer
dereference when outstanding glock work races with an unmount
(glock_work_func -> run_queue -> do_xmote -> inode_go_sync ->
gfs2_log_flush).
📍 영향받는 시스템
GFS2 파일 시스템을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
로컬 시스템에서 파일 시스템 언마운트 및 특정 glock 작업 유도를 통한 경합 조건 발생
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 최신 패치 버전인지 확인하십시오.