🇰🇷 한글 설명
Linux 커널의 ALSA ctxfi 드라이버 오디오 믹서 처리 과정에서 경계 외(OOB) 접근 취약점이 발견되었습니다. conf 필드의 적절한 초기화 누락으로 인해 인덱스 콜백 함수에서 배열 범위를 벗어난 메모리에 접근할 수 있습니다.
💡 쉬운 설명
오디오 설정을 조절하는 프로그램이 정해진 메모리 범위를 벗어나 잘못된 위치를 읽거나 쓸 수 있는 오류입니다. 이로 인해 시스템이 불안정해지거나 보안 문제가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ALSA: ctxfi: Fix potential OOB access in audio mixer handling
In the audio mixer handling code of ctxfi driver, the conf field is
used as a kind of loop index, and it's referred in the index callbacks
(amixer_index() and sum_index()).
As spotted recently by fuzzers, the current code causes OOB access at
those functions.
| UBSAN: array-index-out-of-bounds in /build/reproducible-path/linux-6.17.8/sound/pci/ctxfi/ctamixer.c:347:48
| index 8 is out of range for type 'unsigned char [8]'
After the analysis, the cause was found to be the lack of the proper
(re-)initialization of conj field.
This patch addresses those OOB accesses by adding the proper
initializations of the loop indices.
📍 영향받는 시스템
Linux kernel (ctxfi driver 포함 버전, 특히 6.17.8 이전 버전)
⚔️ 공격 벡터
조작된 오디오 믹서 설정 값을 전달하여 커널 메모리의 경계 외 영역에 접근 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 패치 버전 이후인지 확인