🇰🇷 한글 설명
리눅스 커널의 md 모듈 내 md_wakeup_thread 함수에서 RCU 보호 메커니즘이 잘못 구현되었습니다. RCU 포인터를 rcu_read_lock() 호출 전에 직접 전달함으로써 보호 기능이 무력화되었고, 이로 인해 Use-After-Free(UAF) 취약점이 발생할 수 있습니다.
💡 쉬운 설명
데이터를 안전하게 보호하기 위한 잠금 장치를 사용하기 전에 이미 데이터를 꺼내 써버리는 실수가 발견되었습니다. 이로 인해 시스템이 이미 삭제된 메모리에 접근하려다 오류가 발생하거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
md: fix rcu protection in md_wakeup_thread
We attempted to use RCU to protect the pointer 'thread', but directly
passed the value when calling md_wakeup_thread(). This means that the
RCU pointer has been acquired before rcu_read_lock(), which renders
rcu_read_lock() ineffective and could lead to a use-after-free.
📍 영향받는 시스템
RCU 보호 메커니즘이 잘못 적용된 특정 버전의 Linux Kernel (md 모듈 사용 시)
⚔️ 공격 벡터
커널 메모리 관리 오류를 이용한 Use-After-Free 공격을 통해 시스템 권한 탈취 또는 서비스 거부(DoS) 유발
🛡️ 대응 방법
해당 취약점이 수정된 최신 리눅스 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 최신 보안 업데이트 버전인지 확인