🇰🇷 한글 설명
Linux 커널의 Rockchip DRM 드라이버 내 analogix_dp 구성 요소에서 발생한 취약점입니다. rockchip_dp_drm_encoder_enable() 함수가 장치 트리(Device Tree) 경로를 32바이트 스택 버퍼에 복사할 때 길이를 확인하지 않아 버퍼 오버플로가 발생할 수 있습니다.
💡 쉬운 설명
장치 정보를 담은 이름이 너무 길 경우, 준비된 메모리 공간을 넘쳐서 시스템을 망가뜨릴 수 있는 오류입니다. 이로 인해 시스템이 멈추거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/rockchip: analogix_dp: fix unchecked bound endpoint name length
rockchip_dp_drm_encoder_enable() uses sprintf() to format a device tree
path into a 32-byte stack buffer. Device tree paths are not limited to
this size, so a sufficiently long path can overflow the buffer.
Use snprintf() with the destination size to truncate the generated name
and keep the writes within bounds.
📍 영향받는 시스템
Linux kernel (Rockchip DRM driver, analogix_dp module)
⚔️ 공격 벡터
조작된 긴 장치 트리(Device Tree) 경로를 통한 스택 버퍼 오버플로 공격
🛡️ 대응 방법
sprintf() 대신 snprintf()를 사용하여 버퍼 크기를 제한하도록 커널 패치 적용
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 최신 패치 버전인지 확인하십시오.