🇰🇷 한글 설명
Linux 커널의 drm/mediatek 드라이버에서 OVL 어댑터 플랫폼 장치가 제대로 해제되지 않는 메모리 누수 취약점이 발견되었습니다. 초기화 단계에서 오류가 발생하거나 드라이버가 언바인드될 때, 이미 등록된 OVL 어댑터 장치가 시스템에 남아 있게 됩니다.
💡 쉬운 설명
컴퓨터 부품을 작동시키기 위해 등록한 장치가, 작업이 끝났거나 오류가 났을 때 제대로 목록에서 삭제되지 않는 문제입니다. 이로 인해 시스템 자원이 계속 낭비되는 현상이 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/mediatek: Fix ovl adaptor platform device leak
mtk_drm_probe() creates an OVL adaptor platform device with
platform_device_register_data() when the display pipeline requires the
OVL adaptor.
If a later initialization step fails, the probe error path releases
the DRM resources without unregistering the already registered OVL
adaptor device. The normal remove path likewise leaves the device
registered after the DRM driver is unbound.
Keep track of whether the OVL adaptor was successfully registered and
unregister it on probe failure. Also recover the platform device from
the stored DDP component device and unregister it during normal
removal.
The issue was identified by a static analysis tool I developed and
confirmed by manual review.
📍 영향받는 시스템
MediaTek 디스플레이 파이프라인을 사용하는 Linux 커널 기반 시스템
⚔️ 공격 벡터
직접적인 공격보다는 시스템의 지속적인 자원 고갈(Resource Exhaustion)을 유발할 수 있는 로컬 취약점입니다.
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 Linux 커널로 업데이트해야 합니다.
🔧 검증 코드
출력된 커널 버전을 확인하여 취약점이 패치된 버전인지 제조사의 보안 공지와 대조합니다.