🇰🇷 한글 설명
Linux 커널의 amlogic-c3 미디어 드라이버에서 ae 및 awb 설정 시 유효성 검사가 누락되어 발생한 취약점입니다. zones_num 값이 zone_weight보다 클 경우 잘못된 메모리 접근이 발생하여 버퍼 오버플로우를 유발할 수 있습니다.
💡 쉬운 설명
카메라 설정 값을 처리하는 과정에서 숫자가 너무 커지면 메모리의 허용 범위를 벗어나 시스템 오류를 일으킬 수 있는 문제입니다. 이로 인해 시스템이 멈추거나 보안 문제가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
media: amlogic-c3: Add validations for ae and awb config
Avoid invalid memory access if the zones_num is bigger than
zone_weight.
This patch fixes the following smatch errors:
drivers/media/platform/amlogic/c3/isp/c3-isp-params.c:111 c3_isp_params_awb_wt() error: buffer overflow 'cfg->zone_weight' 768 <= u32max
drivers/media/platform/amlogic/c3/isp/c3-isp-params.c:111 c3_isp_params_awb_wt() error: buffer overflow 'cfg->zone_weight' 768 <= u32max
drivers/media/platform/amlogic/c3/isp/c3-isp-params.c:227 c3_isp_params_ae_wt() error: buffer overflow 'cfg->zone_weight' 255 <= u32max
drivers/media/platform/amlogic/c3/isp/c3-isp-params.c:227 c3_isp_params_ae_wt() error: buffer overflow 'cfg->zone_weight' 255 <= u32max
📍 영향받는 시스템
Linux kernel (amlogic-c3 media driver component)
⚔️ 공격 벡터
조작된 AE/AWB 설정 파라미터를 전달하여 메모리 버퍼 오버플로우 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인
📊 CVSS Vector String
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
💻 영향받는 소프트웨어
NVIDIA vGPU Guest Driver for Linux