🇰🇷 한글 설명
Linux 커널의 ASoC SOF ipc4-topology 구성 요소에서 ALH 복사기를 찾는 루프 로직에 취약점이 발견되었습니다. 특정 조건에서 비-DAI 복사기 위젯이 동일한 스트림 이름을 가질 경우 NULL 포인터 역참조가 발생하여 시스템 충돌을 유발할 수 있습니다.
💡 쉬운 설명
오디오 장치를 처리하는 과정에서 잘못된 정보를 참조하여 컴퓨터가 갑자기 멈추거나 꺼질 수 있는 오류입니다. 특정 오디오 설정 환경에서 시스템이 불안정해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ASoC: SOF: ipc4-topology: Harden loops for looking up ALH copiers
Other, non DAI copier widgets could have the same stream name (sname) as
the ALH copier and in that case the copier->data is NULL, no alh_data is
attached, which could lead to NULL pointer dereference.
We could check for this NULL pointer in sof_ipc4_prepare_copier_module()
and avoid the crash, but a similar loop in sof_ipc4_widget_setup_comp_dai()
will miscalculate the ALH device count, causing broken audio.
The correct fix is to harden the matching logic by making sure that the
1. widget is a DAI widget - so dai = w->private is valid
2. the dai (and thus the copier) is ALH copier
📍 영향받는 시스템
Linux kernel (ASoC SOF ipc4-topology 관련 모듈 사용 시스템)
⚔️ 공격 벡터
특수하게 조작된 오디오 위젯 구성 또는 스트림 이름을 통해 NULL 포인터 역참조 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 ALH 복사기 매칭 로직을 강화해야 합니다.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인합니다.