🇰🇷 한글 설명
Linux 커널의 RDMA irdma 드라이버에서, irdma_create_qp 함수가 ib_copy_to_udata 실패 시 irdma_destroy_qp를 호출하는데, 이때 아직 초기화되지 않은 free_qp completion을 대기하려 해 문제가 발생합니다. 해당 completion을 ib_copy_to_udata 호출 이전에 초기화하도록 수정되었습니다.
💡 쉬운 설명
고성능 네트워크 장치(RDMA)를 제어하는 리눅스 커널 드라이버에서 오류 처리 과정 중 초기화되지 않은 값을 사용하는 결함입니다. 이로 인해 특정 실패 상황에서 시스템이 비정상 동작하거나 불안정해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
RDMA/irdma: Initialize free_qp completion before using it
In irdma_create_qp, if ib_copy_to_udata fails, it will call
irdma_destroy_qp to clean up which will attempt to wait on
the free_qp completion, which is not initialized yet. Fix this
by initializing the completion before the ib_copy_to_udata call.
📍 영향받는 시스템
수정 이전의 Linux 커널 (irdma 드라이버를 사용하는 Intel RDMA 장치 환경)
⚔️ 공격 벡터
로컬 사용자가 QP 생성 중 사용자 공간 복사(ib_copy_to_udata)가 실패하는 상황을 유도하여 비정상 경로를 실행시키는 방식으로 악용될 수 있으며, 주로 서비스 거부(시스템 불안정) 영향이 예상됩니다.
🛡️ 대응 방법
배포판 제공 보안 업데이트 또는 해당 수정이 포함된 Linux 커널 버전으로 업그레이드하고 재부팅하십시오.
🔧 검증 코드
출력된 커널 버전이 수정 패치가 포함된 배포판 업데이트 버전 이상인지 확인하고, irdma 모듈이 로드되지 않았다면 이 취약점의 직접적인 영향 대상이 아닙니다.
uname -r; lsmod 2>/dev/null | grep -E '^irdma'