🇰🇷 한글 설명
Linux 커널의 ALSA ctxfi 구성 요소에서 S/PDIF 재생 시 PLL 속도 값이 0으로 유지되는 취약점이 발견되었습니다. 특정 샘플링 레이트(32000 Hz)에서 MSR 계산 루프가 무한 루프에 빠져 시스템 성능 저하나 중단을 초래할 수 있습니다.
💡 쉬운 설명
사운드 카드가 특정 설정에서 소리를 재생하려고 할 때, 계산 오류로 인해 컴퓨터가 무한히 반복 계산을 수행하며 멈출 수 있는 문제입니다. 이를 방지하기 위해 기본값을 사용하도록 수정되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ALSA: ctxfi: Add fallback to default RSR for S/PDIF
spdif_passthru_playback_get_resources() uses atc->pll_rate as the RSR
for the MSR calculation loop. However, pll_rate is only updated in
atc_pll_init() and not in hw_pll_init(), so it remains 0 after the
card init.
When spdif_passthru_playback_setup() skips atc_pll_init() for
32000 Hz, (rsr * desc.msr) always becomes 0, causing the loop to spin
indefinitely.
Add fallback to use atc->rsr when atc->pll_rate is 0. This reflects
the hardware state, since hw_card_init() already configures the PLL
to the default RSR.
📍 영향받는 시스템
Linux Kernel (ALSA ctxfi 모듈 사용 시스템)
⚔️ 공격 벡터
로컬 사용자가 특정 샘플링 레이트(32000 Hz)를 사용하는 S/PDIF 오디오 재생을 시도하여 무한 루프 유발
🛡️ 대응 방법
ALSA ctxfi의 fallback 로직이 포함된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 버전인지 확인