🇰🇷 한글 설명
Linux 커널의 RDMA/uverbs 구성 요소에서 특정 드라이버(mthca, irdma, siw)가 reg_mr 작업 시 UHW 데이터를 처리하지 못하는 취약점이 발견되었습니다. 악의적인 사용자 공간 프로세스가 유효하지 않은 udata를 전달할 경우, 해당 드라이버에서 NULL 포인터 참조로 인한 시스템 충돌(Crash)이 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 네트워크 통신을 돕는 특정 부품(드라이버)이 잘못된 명령을 받았을 때 시스템이 멈춰버릴 수 있는 문제입니다. 일반적인 상황에서는 발생하지 않지만, 해커가 특수한 명령을 보내면 컴퓨터를 강제로 종료시킬 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
RDMA/uverbs: Add UVERBS_ATTR_UHW to UVERBS_METHOD_REG_MR
The original commit missed that three drivers (mthca, irdma, siw) have UHW
data associated with reg_mr that cannot be passed through the ioctl. They
also assume that the udata cannot be NULL, so failing to pass a valid
udata can trigger a NULL udata crash in those drivers.
This never happens in real systems since in rdma-core ibv_cmd_reg_mr_ex()
does not accept a udata and those three drivers don't use it, however a
malicious userspace could trigger it.
📍 영향받는 시스템
Linux kernel (mthca, irdma, siw 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
악의적인 사용자 공간(Userspace)에서 조작된 ioctl 명령을 통해 NULL udata를 전달하는 방식
🛡️ 대응 방법
해당 취약점이 해결된 최신 버전의 Linux 커널로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 취약점이 패치된 최신 보안 업데이트 버전인지 확인하십시오.