🇰🇷 한글 설명
리눅스 커널의 RDMA(Remote Direct Memory Access) 구성 요소 중 rxe_queue_cleanup 함수에서 Use-After-Free(UAF) 취약점이 발견되었습니다. rxe_qp_from_init()의 오류 처리 과정에서 이미 해제된 큐 포인터를 다시 참조하여 메모리 오류를 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터 메모리 관리 과정에서 이미 사용이 끝난 공간을 다시 사용하려고 시도할 때 발생하는 오류입니다. 이로 인해 시스템이 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
RDMA: Fix use-after-free in rxe_queue_cleanup
On error handling path in rxe_qp_from_init() qp->sq.queue is freed and
then rxe_create_qp() will drop last reference to this object. qp clean up
function will try to free this queue one time and it causes UAF bug.
Fix it by zeroing queue pointer after freeing queue in rxe_qp_from_init().
📍 영향받는 시스템
RDMA(rxe) 기능을 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
특정 오류 상황을 유도하여 메모리 해제 후 재참조를 일으키는 로컬 또는 네트워크 공격
🛡️ 대응 방법
rxe_qp_from_init() 함수 내에서 큐 해제 후 포인터를 0으로 초기화하는 최신 리눅스 커널 패치 적용
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 최신 보안 패치 버전인지 확인