🇰🇷 한글 설명
Linux 커널의 ASoC SOF 오디오 드라이버에서 sof_widget_setup_unlocked() 함수 호출 중 오류가 발생할 경우, 위젯의 참조 횟수(use_count)를 중복으로 감소시키는 문제가 발견되었습니다. 이로 인해 sof_widget_free_unlocked()와 core_put()이 두 번 호출되어 메모리 관리 오류가 발생할 수 있습니다.
💡 쉬운 설명
오디오 장치를 설정하는 과정에서 오류가 나면, 컴퓨터가 메모리를 정리하는 과정에서 실수로 두 번 지우려고 시도하는 버그입니다. 이로 인해 시스템이 불안정해지거나 예기치 않은 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ASoC: SOF: sof-audio: Fix error path in sof_widget_setup_unlocked()
If either tplg_ops->dai_config or widget_kcontrol_setup fail during widget
setup we would double decrement the use_count of the widget because the
sof_widget_free_unlocked() would be called twice, similarly the core_put
would be invoked twice as well.
Since the use_count and core_put() is handled within the widget_free
function we need to return without falling through the pipe_widget_free
label.
The fixes tag is picked to the last change around this part of the code
which is adequately old enough for backporting purposes.
📍 영향받는 시스템
Linux Kernel (ASoC SOF audio driver 포함 버전)
⚔️ 공격 벡터
로컬 공격자가 특정 오디오 설정 오류를 유도하여 메모리 참조 횟수 불일치를 일으킴
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.