🇰🇷 한글 설명
Linux 커널의 ASoC SOF ipc3-control 구성 요소에서 발생하는 취약점입니다. snd_sof_update_control 함수가 펌웨어에서 제공된 요소 개수를 실제 할당된 버퍼 크기와 대조하지 않아, 잘못된 크기 값이 입력될 경우 메모리 범위를 벗어난 쓰기(out-of-bounds write)가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 소리 관련 장치를 제어하는 과정에서, 데이터의 크기를 제대로 확인하지 않아 메모리의 허용된 범위를 넘어 데이터를 저장하는 오류가 있습니다. 이로 인해 시스템이 불안정해지거나 해커가 악성 코드를 실행할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ASoC: SOF: ipc3-control: Validate size in snd_sof_update_control
In snd_sof_update_control(), firmware-provided cdata->num_elems is
checked against local_cdata->data->size but never against the actual
allocation size. If local_cdata->data->size was previously set to an
inconsistent value, the memcpy could write past the allocated buffer.
Add a bounds check to ensure num_elems fits within the available space
in the ipc_control_data allocation before copying.
📍 영향받는 시스템
Linux Kernel (ASoC SOF ipc3-control 구성 요소를 사용하는 시스템)
⚔️ 공격 벡터
조작된 펌웨어 데이터를 통해 메모리 버퍼 오버플로우 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인