🇰🇷 한글 설명
Linux 커널의 RDMA/mana 드라이버에서 오류 처리 과정 중 WQ 테이블을 해제하는 로직에 결함이 발견되었습니다. 오류 발생 시 인덱스 감소가 중복되어 실행되거나 특정 상황에서 객체 해제가 누락되는 문제가 포함되어 있습니다.
💡 쉬운 설명
컴퓨터의 통신 부품을 관리하는 프로그램에서 오류가 났을 때, 뒷정리를 제대로 하지 못하는 버그가 있습니다. 이로 인해 시스템 자원이 낭비되거나 예기치 않은 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
RDMA/mana: Fix mana_destroy_wq_obj() cleanup in mana_ib_create_qp_rss()
Sashiko points out there are two bugs here in the error unwind flow, both
related to how the WQ table is unwound.
First there is a double i-- on the first failure path due to the while loop
having a i--, remove it.
Second if mana_ib_install_cq_cb() fails then mana_create_wq_obj() is not
undone due to the above i--.
📍 영향받는 시스템
RDMA/mana 드라이버를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
로컬 시스템에서 특정 RDMA 네트워크 설정 시 오류를 유도하여 자원 누수 유발
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인합니다.