🇰🇷 한글 설명
Linux 커널의 ALSA ctxfi 드라이버에서 DAIO 초기화 시 SPDIF1 항목을 잘못 열거하여 발생하는 취약점입니다. 특정 하드웨어 모델(hw20k2)에서 SPDIF1에 대한 정의가 누락되어 커널 크래시(Panic)를 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터의 소리 관련 장치를 초기화하는 과정에서 잘못된 정보를 읽어 시스템이 갑자기 멈추거나 꺼질 수 있는 문제입니다. 특정 사운드 카드 모델을 사용할 때 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ALSA: ctxfi: Don't enumerate SPDIF1 at DAIO initialization
The recent refactoring of xfi driver changed the assignment of
atc->daios[] at atc_get_resources(); now it loops over all enum
DAIOTYP entries while it looped formerly only a part of them.
The problem is that the last entry, SPDIF1, is a special type that
is used only for hw20k1 CTSB073X model (as a replacement of SPDIFIO),
and there is no corresponding definition for hw20k2. Due to the lack
of the info, it caused a kernel crash on hw20k2, which was already
worked around by the commit b045ab3dff97 ("ALSA: ctxfi: Fix missing
SPDIFI1 index handling").
This patch addresses the root cause of the regression above properly,
simply by skipping the incorrect SPDIF1 type in the parser loop.
For making the change clearer, the code is slightly arranged, too.
📍 영향받는 시스템
Linux Kernel (ALSA ctxfi driver 관련 특정 하드웨어 모델 사용 시스템)
⚔️ 공격 벡터
로컬 공격자가 특정 하드웨어 자원을 초기화하도록 유도하여 커널 크래시 유발 (DoS)
🛡️ 대응 방법
ALSA ctxfi 드라이버의 SPDIF1 열거 방식을 수정한 최신 Linux 커널로 업데이트
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 해당 패치가 적용된 버전인지 확인합니다.