🇰🇷 한글 설명
리눅스 커널의 md/dm-raid 구성 요소에서 md_reap_sync_thread() 함수를 reconfig_mutex 뮤텍스 없이 직접 호출하여 발생하는 취약점입니다. 이로 인해 보호된 필드가 안전하지 않게 변경될 수 있으며, 뮤텍스를 직접 획득할 경우 데드락(교착 상태)이 발생할 위험이 있습니다.
💡 쉬운 설명
리눅스 운영체제의 저장 장치 관리 기능에서 데이터 보호를 위한 잠금 장치를 제대로 사용하지 않아 시스템이 멈추거나 오류가 발생할 수 있는 문제입니다. 이를 해결하기 위해 안전한 종료 방식을 사용하도록 수정되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
md/dm-raid: don't call md_reap_sync_thread() directly
Currently md_reap_sync_thread() is called from raid_message() directly
without holding 'reconfig_mutex', this is definitely unsafe because
md_reap_sync_thread() can change many fields that is protected by
'reconfig_mutex'.
However, hold 'reconfig_mutex' here is still problematic because this
will cause deadlock, for example, commit 130443d60b1b ("md: refactor
idle/frozen_sync_thread() to fix deadlock").
Fix this problem by using stop_sync_thread() to unregister sync_thread,
like md/raid did.
📍 영향받는 시스템
md/dm-raid 모듈을 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
로컬 권한을 가진 공격자가 RAID 구성 변경을 유도하여 시스템 데드락 또는 커널 불안정성을 유발할 수 있음
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.