🇰🇷 한글 설명
Linux 커널의 RDMA/erdma 드라이버에서 객체 파괴 명령이 실패할 경우, 관련 리소스를 완전히 해제하지 못하고 누수시키는 취약점이 발견되었습니다. 명령 타임아웃 발생 시 명령 큐가 영구적으로 비활성화되어 리소스가 도달 불가능한 상태로 남게 됩니다.
💡 쉬운 설명
컴퓨터의 특정 하드웨어 기능을 끌 때, 오류가 발생하면 메모리 자원을 제대로 정리하지 못하고 계속 점유하는 문제가 있습니다. 이로 인해 시스템 자원이 낭비되어 성능 저하나 시스템 불안정을 초래할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
RDMA/erdma: complete object teardown when the destroy command fails
erdma_destroy_qp(), erdma_destroy_cq(), erdma_dereg_mr(), and
erdma_destroy_ah() returned early when erdma_post_cmd_wait() failed,
leaking the queue buffers, MTTs, doorbells and the STAG, QPN, CQN and AHN
identifiers. A command timeout clears ERDMA_CMDQ_STATE_OK_BIT and
permanently disables the command queue, so no retry can succeed; the RDMA
core keeps the object after a failed destructor and forced uverbs cleanup
then nulls the pointers, making the resources unreachable.
Warn on failure but release every software-owned resource and return
success, since during terminal destruction the hardware command result is
only diagnostic.
📍 영향받는 시스템
Linux kernel (erdma driver 포함 버전)
⚔️ 공격 벡터
하드웨어 명령 타임아웃을 유도하여 시스템 리소스 누수 유발
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 최신 패치 버전인지 확인