🇰🇷 한글 설명
Linux 커널의 hisilicon hibmc 드라이버 로드 실패 시 초기화되지 않은 뮤텍스에 NULL 포인터로 접근하는 취약점입니다. 드라이버 초기화 중 오류 발생 시 정리(cleanup) 루틴이 미초기화 상태의 리소스에 접근하여 커널 크래시를 유발합니다.
💡 쉬운 설명
Hisilicon BMC 비디오 드라이버가 시작될 때 준비되지 않은 메모리 영역에 접근하여 시스템이 멈추거나 충돌할 수 있습니다. 드라이버 시작 실패 시 정리 과정에서 문제가 발생합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/hisilicon/hibmc: fix the hibmc loaded failed bug
When hibmc loaded failed, the driver use hibmc_unload to free the
resource, but the mutexes in mode.config are not init, which will
access an NULL pointer. Just change goto statement to return, because
hibnc_hw_init() doesn't need to free anything.
📍 영향받는 시스템
Linux kernel drm/hisilicon/hibmc driver (드라이버 로드 실패 시나리오)
⚔️ 공격 벡터
Local DoS (kernel crash during driver initialization failure)
🛡️ 대응 방법
Linux kernel을 패치된 버전으로 업데이트 (hibmc driver 고정 버전 이상)
🔧 검증 코드
hibmc가 출력되면 드라이버가 로드된 상태이고, uname -r 결과로 커널 버전을 확인하여 패치 버전 이상인지 확인합니다.
lsmod 2>/dev/null | grep hibmc; uname -r