🇰🇷 한글 설명
Linux 커널의 Mediatek vcodec 미디어 처리 부분에서 시스템 반도체(SCP) 장치 관련 리소스 누수가 발생한다. 펌웨어 초기화 중 구조체 할당에 실패할 경우 mtk_scp 구조체가 명시적으로 해제되지 않아 메모리 누수가 발생한다.
💡 쉬운 설명
비디오 재생/인코딩 초기화 과정에서 실패했을 때 사용한 메모리가 반환되지 않고 계속 남아있는 문제이다. 이를 반복하면 시스템 메모리가 점차 부족해져 성능 저하나 장치 멈춤이 발생할 수 있다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
media: mediatek: vcodec: Fix a resource leak related to the scp device in FW initialization
On Mediatek devices with a system companion processor (SCP) the mtk_scp
structure has to be removed explicitly to avoid a resource leak.
Free the structure in case the allocation of the firmware structure fails
during the firmware initialization.
📍 영향받는 시스템
Linux 커널이 탑재된 Mediatek SCP 기반 ARM 장치 (모바일, 태블릿 등)
⚔️ 공격 벡터
로컬 사용자가 미디어 처리 초기화 오류를 반복적으로 유발하여 메모리 고갈 공격
🛡️ 대응 방법
커널 패치가 적용된 최신 Linux 커널 버전으로 업데이트
🔧 검증 코드
mtk_scp 모듈의 로드 여부와 최근 커널 로그에서 메모리 관련 경고나 오류가 있는지 확인하여 취약성 영향을 판단
grep -i 'mtk_scp_event\|vcodec' /proc/modules && dmesg | tail -20 | grep -i 'memory\|leak'