🇰🇷 한글 설명
Linux 커널의 DRM(Direct Rendering Manager) 구성 요소에서 오류 발생 시 메모리 누수가 발생하는 취약점이 해결되었습니다. out_fence_ptr가 제공되었으나 특정 조건이 충족되지 않을 경우, 할당된 drm_pending_vblank_event가 적절히 해제되지 않아 시스템 자원이 낭비될 수 있습니다.
💡 쉬운 설명
그래픽 처리 과정에서 오류가 발생했을 때, 사용했던 메모리를 제대로 돌려주지 않고 남겨두는 버그가 있었습니다. 이 문제가 지속되면 시스템의 메모리가 조금씩 줄어들어 성능 저하나 불안정을 유발할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm: Fix drm_pending_vblank_event leak in error path for out_fence_ptr
When an out_fence_ptr is provided but DRM_MODE_PAGE_FLIP_EVENT is not
set, a drm_pending_vblank_event will be allocated. If later, there is an
allocation failure or another failure at setup_out_fence(), that event
will not have base.fence set and it will not be released at
complete_signaling().
Release the event and set crtc_state->event to NULL just like in the
DRM_MODE_PAGE_FLIP_EVENT case when there is a failure at
drm_event_reserve_init(). That is, prepare_signaling() releases the
event and there is nothing to be done at complete_signaling(). Use
drm_event_cancel_free() as that will also undo drm_event_reserve_init()
in case it has been called.
📍 영향받는 시스템
Linux Kernel (DRM subsystem 관련 버전)
⚔️ 공격 벡터
로컬 공격자가 특정 그래픽 드라이버 호출 시 오류를 유도하여 메모리 누수를 발생시킬 수 있음
🛡️ 대응 방법
최신 보안 패치가 적용된 Linux 커널로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux