🇰🇷 한글 설명
Linux 커널의 RDMA/irdma 구성 요소에서 QP 생성 시 사용자 입력값에 의해 Null 포인터 역참조가 발생할 수 있는 취약점이 발견되었습니다. 사용자가 특정 필드(user_wqe_bufs)를 0으로 설정할 경우, 시스템이 유효하지 않은 메모리 주소에 접근하여 커널 패닉을 유발할 수 있습니다.
💡 쉬운 설명
특정 네트워크 기능을 사용할 때 잘못된 값을 입력하면 컴퓨터의 핵심 시스템(커널)이 갑자기 멈추거나 오류를 일으킬 수 있는 문제입니다. 공격자가 이 값을 조작하여 시스템을 강제로 중단시킬 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
RDMA/irdma: Prevent user-triggered null deref on QP create
Previously, the user QP creation path would only attempt to
populate iwqp->iwpbl if the user-provided req.user_wqe_bufs
field was non-zero. The problem is that iwqp->iwpbl is
unconditionally dereferenced later on in irdma_setup_virt_qp.
While there was a check for iwqp->iwpbl != NULL, this check
would only occur if req.user_wqe_bufs was non-zero. The end
result is that a user could send a zero user_wqe_bufs value
and trigger a null ptr deref.
Fix this by unconditionally calling irdma_get_pbl and bailing
if it fails, similar to the CQ and SRQ paths.
📍 영향받는 시스템
RDMA/irdma 드라이버를 사용하는 Linux 커널 시스템
⚔️ 공격 벡터
사용자가 QP 생성 요청 시 user_wqe_bufs 필드에 0을 전달하여 Null 포인터 역참조 유도
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 최신 보안 업데이트 버전인지 확인