🇰🇷 한글 설명
Linux 커널의 svcrdma 구성 요소에서 전송 할당 실패 시 연결 요청을 적절히 거부하지 못하는 취약점이 발견되었습니다. 이로 인해 메모리 압박 상황에서 rdma_cm_id가 해제되지 않고 누수되며, 원격 피어가 연결 시도를 반복할 경우 자원 고갈을 유도할 수 있습니다.
💡 쉬운 설명
시스템의 메모리가 부족할 때 연결 요청이 실패하면, 사용하던 자원을 제대로 반납하지 않고 계속 쌓아두는 버그입니다. 공격자가 이 점을 이용해 계속 연결을 시도하면 시스템의 자원을 모두 써버리게 만들 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
svcrdma: Reject connection when transport allocation fails
handle_connect_req() returns without action when
svc_rdma_create_xprt() fails to allocate the new transport.
The CM core returns 0 for CONNECT_REQUEST events, so it does
not destroy the new rdma_cm_id. Each allocation failure under
memory pressure leaks one rdma_cm_id, and a remote peer driving
connection attempts can amplify this.
Reject the connection by returning a non-zero status from the
CM event handler, which tells the CM core to destroy the
orphaned cm_id.
📍 영향받는 시스템
Linux kernel (svcrdma 구성 요소가 포함된 버전)
⚔️ 공격 벡터
원격의 공격자가 지속적으로 RDMA 연결 요청을 보내 자원 누수를 유도하는 DoS(서비스 거부) 공격
🛡️ 대응 방법
svcrdma의 handle_connect_req() 함수가 전송 할당 실패 시 비정례 상태를 반환하도록 커널 패치 적용
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 해당 취약점이 수정된 패치 버전인지 확인합니다.