🇰🇷 한글 설명
Linux 커널의 meson vdec 드라이버에서 지원되지 않는 픽셀 형식을 사용할 때 NULL 포인터 역참조가 발생하는 취약점입니다. 특정 배포판에서 MPEG2 지원이 제거된 경우, 시스템이 잘못된 포맷을 참조하여 커널 패닉이나 시스템 충돌을 유발할 수 있습니다.
💡 쉬운 설명
동영상 재생 관련 기능에서 지원하지 않는 형식을 요청할 때, 컴퓨터가 존재하지 않는 정보를 참조하려다 멈춰버리는 문제입니다. 특정 설정이 된 리눅스 시스템에서 시스템이 갑자기 꺼질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
media: meson: vdec: fix NULL pointer deref in vdec_try_fmt_common
When VIDIOC_TRY_FMT is called with an unsupported pixel format on the
OUTPUT queue, vdec_try_fmt_common() falls back to V4L2_PIX_FMT_MPEG2.
However, if a distro has locally patched MPEG2 support out (as it has
been broken for some time) the platform format table does not contain
MPEG2 so find_format() returns NULL and the subsequent dereference of
fmt_out->max_width triggers a NULL pointer dereference.
Fix this by falling back to the first format in the platform's format
array instead of hardcoding V4L2_PIX_FMT_MPEG2. This is always valid
since every platform defines at least one format.
📍 영향받는 시스템
Linux kernel (media: meson: vdec 관련 드라이버 포함 버전)
⚔️ 공격 벡터
지원되지 않는 픽셀 형식을 포함한 VIDIOC_TRY_FMT 요청을 통해 발생
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.