🇰🇷 한글 설명
Linux 커널의 ALSA virtio-snd 드라이버에서 장치가 제공하는 제어 메타데이터를 검증하지 않아 발생하는 취약점입니다. 악의적인 장치가 잘못된 제어 유형이나 크기를 전달할 경우, 배열의 범위를 벗어난 메모리 접근(Out-of-bounds access)이 발생할 수 있습니다.
💡 쉬운 설명
가상 사운드 장치가 컴퓨터에 잘못된 정보를 보내서 컴퓨터의 메모리 영역을 침범할 수 있는 문제입니다. 이를 통해 시스템이 멈추거나 보안이 뚫릴 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ALSA: virtio: Validate control metadata from the device
virtio-snd control handling trusts the device-provided control type and
value count returned by the device.
That metadata is then used directly to index g_v2a_type_map[] in
virtsnd_kctl_info(), and to size loops and memcpy() operations in
virtsnd_kctl_get() and virtsnd_kctl_put() against fixed-size
virtio_snd_ctl_value and snd_ctl_elem_value arrays.
A buggy or malicious device can therefore trigger out-of-bounds access by
advertising an invalid control type or an oversized value count.
Validate control type and count once in virtsnd_kctl_parse_cfg(), before
querying enumerated items or exposing the control to ALSA.
📍 영향받는 시스템
Linux kernel (ALSA virtio-snd driver components)
⚔️ 공격 벡터
악의적으로 조작된 메타데이터를 전달하는 가상 또는 물리적 virtio-snd 장치를 통한 공격
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 virtsnd_kctl_parse_cfg()의 검증 로직을 적용해야 합니다.
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 해당 취약점이 패치된 버전인지 배포판 보안 공지를 통해 대조합니다.