🇰🇷 한글 설명
Linux 커널의 RDMA/siw 구성 요소에서 엔드포인트와 소켓의 연관 관계 처리 오류로 인해 Use-After-Free 취약점이 발생합니다. 잘못된 MPA 요청을 처리하는 과정에서 엔드포인트가 조기에 해제되어 메모리 오류를 유발할 수 있습니다.
💡 쉬운 설명
네트워크 연결을 설정할 때 조작된 데이터를 보내면 컴퓨터 메모리가 잘못된 방식으로 사용되어 시스템이 충돌하거나 해킹될 수 있는 문제입니다. 연결을 끊는 과정에서 이미 사라진 메모리 주소를 다시 참조하려고 할 때 발생합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
RDMA/siw: Fix endpoint/socket association handling
Disassociating a socket from an endpoint via siw_socket_disassoc() may
release the last reference on that endpoint and free it. Therefore, don't
clear the endpoints socket pointer after calling that function, but
within.
This fixes a:
BUG: KASAN: slab-use-after-free in siw_cm_work_handler (drivers/infiniband/sw/siw/siw_cm.c:1053 drivers/infiniband/sw/siw/siw_cm.c:1075)
which occurred after processing a malformed MPA request during connection
establishment, causing the new endpoint to be closed.
📍 영향받는 시스템
RDMA/siw 드라이버를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
연결 설정 단계에서 조작된(malformed) MPA 요청을 전송
🛡️ 대응 방법
해당 취약점이 수정된 최신 Linux 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 패치 버전 이후인지 확인