🇰🇷 한글 설명
Linux 커널의 RDMA/siw 구성 요소에서 분할된 헤더 복사 시 남은 길이를 제대로 제한하지 않아 발생하는 취약점입니다. 이로 인해 수신 상태 정보가 덮어씌워지며, 이후 콜백 과정에서 음수 오프셋을 사용하게 되어 경계 외 쓰기(OOB Write)가 발생할 수 있습니다.
💡 쉬운 설명
데이터를 조각내어 받을 때 데이터의 끝을 제대로 확인하지 못해 메모리의 엉뚱한 곳에 데이터를 쓰는 오류입니다. 공격자가 이를 이용해 시스템의 중요한 정보를 망가뜨리거나 제어권을 탈취할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
RDMA/siw: Bound fragmented header copies by the remaining length
siw_get_hdr() can receive an extended DDP/RDMAP header across more than
one TCP callback. The first callback may receive most of the header,
while the next one still limits the copy to hdrlen - MIN_DDP_HDR instead
of the number of missing bytes. This makes the destination move past the
end of the header and overwrite the receive state, including
fpdu_part_rcvd. A later callback can then use a negative fpdu_part_rcvd
value as a copy offset, which creates an OOB write.
Use the number of header bytes already received when calculating the
next copy length.
📍 영향받는 시스템
Linux Kernel (RDMA/siw 모듈 사용 환경)
⚔️ 공격 벡터
조작된 RDMA/RDMAP 헤더를 전송하여 TCP 콜백 과정에서 메모리 오버플로우 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이상인지 확인