🇰🇷 한글 설명
Linux 커널의 RDMA/siw 구성 요소에서 즉각적인 작업 요청을 완료 큐로 플러시할 때 발생하는 취약점입니다. QP가 오류 상태일 때 잘못된 opcode 값이 설정되어 배열의 범위를 벗어난 메모리 접근(Out-of-bounds access)을 유발할 수 있습니다. 이는 악의적인 사용자가 메모리 매핑된 CQ에 정의되지 않은 값을 작성하여 시스템 오류를 일으킬 수 있는 가능성을 포함합니다.
💡 쉬운 설명
컴퓨터의 데이터 전송 통로에서 잘못된 명령어가 입력되어 시스템이 허용되지 않은 메모리 영역을 건드리는 문제입니다. 이로 인해 시스템이 멈추거나 보안상 취약한 상태가 될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
RDMA/siw: Fix immediate work request flush to completion queue
Correctly set send queue element opcode during immediate work request
flushing in post sendqueue operation, if the QP is in ERROR state.
An undefined ocode value results in out-of-bounds access to an array
for mapping the opcode between siw internal and RDMA core representation
in work completion generation. It resulted in a KASAN BUG report
of type 'global-out-of-bounds' during NFSoRDMA testing.
This patch further fixes a potential case of a malicious user which may
write undefined values for completion queue elements status or opcode,
if the CQ is memory mapped to user land. It avoids the same out-of-bounds
access to arrays for status and opcode mapping as described above.
📍 영향받는 시스템
RDMA/siw 모듈을 사용하는 Linux 커널 버전
⚔️ 공격 벡터
메모리 매핑된 완료 큐(CQ)에 정의되지 않은 상태나 opcode 값을 작성하여 경계 외 메모리 접근 유도
🛡️ 대응 방법
RDMA/siw 관련 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인