🇰🇷 한글 설명
Linux 커널의 ASoC SOF Intel HDA 오디오 드라이버에서 머신 드라이버와 토폴로지 간 DAI 링크 불일치로 인해 playback/capture 위젯이 설정되지 않을 때 NULL 포인터 역참조 발생. 특히 loopback capture for echo reference 사용 시 크래시 발생 가능.
💡 쉬운 설명
리눅스 오디오 드라이버의 설정 오류로 인해 시스템이 존재하지 않는 메모리 주소에 접근하려 시도하면서 충돌 발생. 오디오 기능이 정상 작동하지 않거나 시스템이 다운될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ASoC: SOF: Intel: hda: Fix NULL pointer dereference
If there's a mismatch between the DAI links in the machine driver and
the topology, it is possible that the playback/capture widget is not
set, especially in the case of loopback capture for echo reference
where we use the dummy DAI link. Return the error when the widget is not
set to avoid a null pointer dereference like below when the topology is
broken.
RIP: 0010:hda_dai_get_ops.isra.0+0x14/0xa0 [snd_sof_intel_hda_common]
📍 영향받는 시스템
Linux kernel ASoC SOF Intel HDA 드라이버 (특정 버전의 토폴로지 설정 불일치 발생 시)
⚔️ 공격 벡터
손상된 오디오 토폴로지 파일 로드 또는 DAI 링크 설정 오류를 통한 로컬 서비스 거부
🛡️ 대응 방법
Linux 커널 패치 적용 (NULL 포인터 체크 추가 코드 포함된 버전으로 업그레이드)
🔧 검증 코드
해당 파일이 없거나 NULL 체크 관련 코드가 포함되어 있으면 안전 상태, 검색되지 않으면 영향받지 않는 커널 버전
grep -r 'hda_dai_get_ops' /lib/modules/$(uname -r)/kernel/sound/ 2>/dev/null | head -1