🇰🇷 한글 설명
리눅스 커널의 ASoC SOF 드라이버에서 압축 스트림의 포인터 연산 시 채널 수와 컨테이너 바이트 수가 0인 경우 0으로 나누는 오류가 발생합니다. 이 취약점은 스트림 파라미터 설정 전 기본값 0으로 인해 발생할 수 있으며, 해당 값이 0이 아닌지 검증하여 에러를 반환하도록 수정되었습니다.
💡 쉬운 설명
오디오 처리 과정에서 설정되지 않은 스트림에 대해 잘못된 계산을 수행할 수 있는 결함이 있습니다. 이 결함을 통해 시스템이 불안정해지거나 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ASoC: SOF: Don't allow pointer operations on unconfigured streams
When reporting the pointer for a compressed stream we report the current
I/O frame position by dividing the position by the number of channels
multiplied by the number of container bytes. These values default to 0 and
are only configured as part of setting the stream parameters so this allows
a divide by zero to be configured. Validate that they are non zero,
returning an error if not
📍 영향받는 시스템
Linux kernel (ASoC SOF subsystem)
⚔️ 공격 벡터
로컬에서 압축 오디오 스트림을 조작하여 0으로 나누기 오류 유발
🛡️ 대응 방법
리눅스 커널을 최신 안정 버전으로 업데이트하여 패치 적용
🔧 검증 코드
출력된 커널 버전이 취약한 버전인지 패치 노트를 통해 확인