🇰🇷 한글 설명
Linux 커널의 dm_blk_report_zones 함수가 잠금 없이 dm_suspended_md를 호출하여 장치 상태 확인 시 경쟁 조건이 발생할 수 있습니다. 이 취약점은 장치 정지 상태 테스트 후 장치가 즉시 정지될 수 있게 하여 데이터 무결성을 해칠 수 있습니다.
💡 쉬운 설명
디스크 관리 기능이 장치 상태를 확인할 때 잠금 처리를 제대로 하지 않아 오류가 발생할 수 있습니다. 이로 인해 시스템이 예상치 못하게 멈추거나 데이터가 손상될 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
dm: fix unlocked test for dm_suspended_md
The function dm_blk_report_zones tests if the device is suspended with
the "dm_suspended_md" call. However, this function is called without
holding any locks, so the device may be suspended just after it.
Move the call to dm_suspended_md after dm_get_live_table, so that the
device can't be suspended after the suspended state was tested.
📍 영향받는 시스템
Linux kernel (dm_suspended_md 관련 코드 포함)
⚔️ 공격 벡터
로컬 또는 원격에서 dm_blk_report_zones 함수를 호출하여 경쟁 조건을 유발
🛡️ 대응 방법
Linux 커널을 최신 안정 버전으로 업데이트하여 패치 적용
🔧 검증 코드
출력된 커널 버전이 알려진 취약한 버전인지 확인하고, 필요시 패치된 버전으로 업그레이드