🇰🇷 한글 설명
Linux 커널의 MediaTek 비디오 코덱 드라이버에서 디코더 queue_setup 과정 중 배열 범위 초과 취약점이 발견되었습니다. 사용자가 시스템 호출을 통해 전달하는 nplanes 값이 실제 배열 크기보다 클 수 있어 메모리 오류를 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터가 데이터를 처리할 때 정해진 칸보다 더 많은 데이터를 넣으려고 시도하여 오류가 발생하는 문제입니다. 이를 통해 시스템이 불안정해지거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
media: mediatek: vcodec: Fix potential array out-of-bounds in decoder queue_setup
variable *nplanes is provided by user via system call argument. The
possible value of q_data->fmt->num_planes is 1-3, while the value
of *nplanes can be 1-8. The array access by index i can cause array
out-of-bounds.
Fix this bug by checking *nplanes against the array size.
📍 영향받는 시스템
MediaTek 비디오 코덱을 사용하는 Linux 커널 기반 시스템
⚔️ 공격 벡터
사용자가 조작된 시스템 호출 인자(nplanes)를 전달하여 메모리 범위를 벗어난 접근 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 취약점이 해결된 최신 패치 버전인지 확인합니다.