🇰🇷 한글 설명
Linux 커널의 RDMA/hfi1 드라이버에서 sdma_txinit_ahg() 함수의 오류 반환 값을 set_txreq_header_ahg()가 무시하는 취약점이 발견되었습니다. 이로 인해 초기화 실패 시에도 요청 처리가 계속되어 시스템 불안정이나 예기치 않은 동작을 유발할 수 있습니다.
💡 쉬운 설명
데이터 전송을 준비하는 과정에서 오류가 발생했는데도 시스템이 이를 무시하고 계속 진행하려고 시도하는 문제입니다. 이로 인해 시스템이 멈추거나 잘못된 동작을 할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
RDMA/hfi1: Propagate sdma_txinit_ahg() errors
set_txreq_header_ahg() ignores the return value of sdma_txinit_ahg().
If sdma_txinit_ahg() fails, it returns before initializing tx->txreq.
However, set_txreq_header_ahg() ignores the error and returns the AHG
change count, causing the caller to continue processing the request as
though initialization had succeeded.
Propagate sdma_txinit_ahg() failures to the caller and abort request
processing when initialization fails.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
📍 영향받는 시스템
RDMA/hfi1 드라이버를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
로컬 공격자가 특수하게 조작된 RDMA 요청을 통해 오류를 유도하여 시스템 불안정 유발
🛡️ 대응 방법
sdma_txinit_ahg()의 오류를 호출자에게 전달하고 초기화 실패 시 요청 처리를 중단하도록 커널 패치 적용
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 해당 취약점이 수정된 최신 패치 버전인지 확인