🇰🇷 한글 설명
Linux 커널의 usbip 구성 요소 중 vhci_hcd에서 NULL 포인터 역참조 취약점이 발견되었습니다. VHCI 호스트 컨트롤러의 프로브가 실패하여 platform_get_drvdata()가 NULL을 반환할 경우, 적절한 검증 없이 이를 사용함으로써 시스템 오류가 발생할 수 있습니다.
💡 쉬운 설명
USB 장치를 네트워크를 통해 연결해주는 기능에서 프로그램이 예상치 못한 빈 값을 처리하지 못해 발생하는 오류입니다. 이로 인해 시스템이 갑자기 멈추거나 충돌할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
usbip: vhci_hcd: fix NULL deref in status_show_vhci
platform_get_drvdata() can return NULL if a VHCI host controller's
probe failed (e.g. due to USB bus number exhaustion). status_show_vhci()
checked for a NULL pdev but not for a NULL hcd returned by
platform_get_drvdata(). Passing NULL to hcd_to_vhci_hcd() does not
return NULL - it returns a pointer offset of 0x260, causing a NULL
pointer dereference when that value is subsequently dereferenced.
Add a NULL check on hcd before calling hcd_to_vhci_hcd(). Move
status_show_not_ready() above status_show_vhci() to make it callable
from the new error path without a forward declaration.
📍 영향받는 시스템
Linux Kernel (usbip/vhci_hcd 모듈 사용 환경)
⚔️ 공격 벡터
USB 버스 번호 고갈 등을 유도하여 VHCI 호스트 컨트롤러의 초기화(probe)를 실패하게 만듦으로써 발생
🛡️ 대응 방법
NULL 체크 로직이 포함된 최신 Linux 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 보안 업데이트 버전인지 확인
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux