🇰🇷 한글 설명
Linux 커널의 drm/amd/display 구성 요소에서 DP alt mode 타임아웃 발생 시 prev_sink 참조를 해제하지 않는 메모리 누수 취약점이 발견되었습니다. 함수 진입 시 참조 카운트가 증가하지만 특정 오류 경로에서 이를 해제하지 않아 시스템 자원이 지속적으로 소모될 수 있습니다.
💡 쉬운 설명
컴퓨터 화면 연결 과정에서 오류가 발생했을 때, 사용했던 메모리 자원을 제대로 돌려주지 않고 계속 붙잡고 있는 버그입니다. 이 문제가 반복되면 시스템의 메모리가 점차 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: detect_link_and_local_sink: DP alt mode timeout path leaks prev_sink reference
prev_sink is unconditionally retained via dc_sink_retain at function
entry, but the DP alt mode timeout path inside SIGNAL_TYPE_DISPLAY_PORT
returns false without releasing prev_sink. All other return paths in the
function correctly call dc_sink_release(prev_sink), making this the only
missing cleanup.
(cherry picked from commit 45510cf662dcf46b5d8926d454f338809f107b9d)
📍 영향받는 시스템
AMD GPU를 사용하는 Linux 커널 (해당 패치가 적용되지 않은 버전)
⚔️ 공격 벡터
로컬 공격자가 특정 디스플레이 연결/해제 동작을 반복하여 메모리 누수를 유도할 수 있음
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 패치 버전(commit 45510cf66 적용 이후)인지 확인하십시오.