🇰🇷 한글 설명
Linux 커널의 xprtrdma 구성 요소에서 RDMA 응답의 크레딧 값을 검증하지 않아 발생하는 취약점입니다. 공격자가 조작된 응답을 보내면 시스템이 과도한 리소스를 할당하게 되어 메모리 고갈이나 서비스 거부 상태를 유발할 수 있습니다.
💡 쉬운 설명
네트워크를 통해 들어오는 잘못된 정보를 제대로 검사하지 않아 컴퓨터의 메모리를 과도하게 사용하게 만드는 문제입니다. 이를 통해 시스템이 느려지거나 멈추게 할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
xprtrdma: Sanitize the reply credit grant after parsing
The out_norqst exit in rpcrdma_reply_handler() branches away before
the credit clamp, so a reply that matches no pending request reaches
out_post carrying the raw credit value parsed from the wire.
rpcrdma_post_recvs() does not bound its @needed argument: the refill
loop allocates and chains Receive WRs until the count is satisfied or
allocation fails. A peer that sends a well-formed reply carrying an
unknown XID and an inflated credit grant therefore drives rep
allocation and Receive posting past re_max_requests on every such
reply.
Move the clamp to immediately after the credit field is parsed,
ahead of the first branch that can reach out_post, so every later
consumer sees a sanitized value. The cwnd update stays on the
matched-request path.
📍 영향받는 시스템
Linux kernel (xprtrdma 모듈 사용 환경)
⚔️ 공격 벡터
조작된 XID와 과도한 크레딧 값을 포함한 RDMA 응답 패킷 전송
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이상인지 확인