🇰🇷 한글 설명
리눅스 커널의 xprtrdma 구성 요소에서 cwnd(혼잡 윈도우) 업데이트 순서가 잘못되어 발생하는 취약점입니다. 재연결 시 응답 핸들러가 수신 준비(Receive WR)를 완료하기 전에 cwnd를 먼저 열어버려, RNR(Receiver Not Ready) 오류가 발생하고 연결이 즉시 끊어지는 레이스 컨디션 문제가 있습니다.
💡 쉬운 설명
데이터를 받을 준비가 되기도 전에 데이터를 보내라고 명령을 내려서 통신 연결이 바로 끊어지는 문제입니다. 이로 인해 네트워크 연결이 불안정해지거나 서비스가 중단될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
xprtrdma: Fix cwnd update ordering
After a reconnect, the reply handler is opening the cwnd (and thus
enabling more RPC Calls to be sent) /before/ rpcrdma_post_recvs()
can post enough Receive WRs to receive their replies. This causes an
RNR and the new connection is lost immediately.
The race is most clearly exposed when KASAN and disconnect injection
are enabled. This slows down rpcrdma_rep_create() enough to allow
the send side to post a bunch of RPC Calls before the Receive
completion handler can invoke ib_post_recv().
📍 영향받는 시스템
xprtrdma 모듈을 사용하는 Linux Kernel (KASAN 및 특정 네트워크 환경에서 취약성 증폭)
⚔️ 공격 벡터
네트워크 재연결 과정에서 발생하는 레이스 컨디션을 이용한 서비스 거부(DoS) 유도
🛡️ 대응 방법
xprtrdma의 cwnd 업데이트 순서가 수정된 최신 리눅스 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 보안 업데이트 버전인지 확인