🇰🇷 한글 설명
리눅스 커널의 MediaTek vcodec 드라이버에서 mtk_vcodec_mem_free()가 대부분 존재하는 버퍼에 대해서만 호출되지만, 일부 경우 NULL 검사가 누락되어 실제 환경에서 경고가 발생했습니다. 누락된 NULL 검사를 추가하여 이 문제를 수정했습니다.
💡 쉬운 설명
MediaTek 칩이 탑재된 기기의 비디오 처리 드라이버에서 존재하지 않는 메모리를 해제하려는 실수가 있었습니다. 이로 인해 경고가 발생했으며, 이를 막기 위한 확인 절차를 다시 추가했습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
media: mediatek: vcodec: Only free buffer VA that is not NULL
In the MediaTek vcodec driver, while mtk_vcodec_mem_free() is mostly
called only when the buffer to free exists, there are some instances
that didn't do the check and triggered warnings in practice.
We believe those checks were forgotten unintentionally. Add the checks
back to fix the warnings.
📍 영향받는 시스템
MediaTek vcodec 드라이버를 사용하는 수정 이전 Linux 커널 (MediaTek SoC 탑재 Android/Linux 기기)
⚔️ 공격 벡터
로컬 사용자가 비디오 코덱 기능을 반복 호출해 NULL 버퍼 해제 경로를 유발하면 커널 경고 또는 서비스 거부가 발생할 수 있음
🛡️ 대응 방법
Linux 커널을 해당 수정이 포함된 최신 안정 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전을 배포판 보안 공지 또는 Linux 안정 브랜치의 수정 버전과 비교하여, 수정 패치가 포함된 버전인지 확인