🇰🇷 한글 설명
Linux 커널의 RDMA/siw 구성 요소에서 QP(Queue Pair) 파괴 시 모든 참조가 해제될 때까지 기다리지 않아 발생하는 Use-After-Free 취약점입니다. TCP 연결이 끊긴 후 지연된 핸들러가 이미 해제된 QP를 참조함으로써 시스템 오류나 보안 위협을 초래할 수 있습니다.
💡 쉬운 설명
컴퓨터가 이미 사용이 끝나서 삭제한 데이터를 실수로 다시 사용하려고 할 때 발생하는 오류입니다. 이로 인해 시스템이 멈추거나 해커가 악의적인 코드를 실행할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
RDMA/siw: Fix QP destroy to wait for all references dropped.
Delay QP destroy completion until all siw references to QP are
dropped. The calling RDMA core will free QP structure after
successful return from siw_qp_destroy() call, so siw must not
hold any remaining reference to the QP upon return.
A use-after-free was encountered in xfstest generic/460, while
testing NFSoRDMA. Here, after a TCP connection drop by peer,
the triggered siw_cm_work_handler got delayed until after
QP destroy call, referencing a QP which has already freed.
📍 영향받는 시스템
RDMA/siw 모듈을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
네트워크 연결을 강제로 끊어 특정 타이밍에 메모리 참조 오류를 유도하는 방식
🛡️ 대응 방법
RDMA/siw 관련 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인