🇰🇷 한글 설명
Linux 커널의 ALSA mtpav 드라이버에서 사운드 카드가 해제될 때 출력 타이머가 적절히 종료되지 않는 취약점이 발견되었습니다. 이로 인해 타이머 콜백 함수가 이미 해제된 메모리 영역에 접근하거나 타이머를 재설정하여 시스템 불안정성을 초래할 수 있습니다.
💡 쉬운 설명
컴퓨터의 사운드 장치를 끌 때, 작동 중이던 타이머가 완전히 멈추지 않아 시스템이 혼란을 겪는 문제입니다. 이로 인해 프로그램이 갑자기 멈추거나 시스템 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ALSA: mtpav: shut down output timer before card teardown
snd_mtpav_output_timer() rearms chip->timer while holding
chip->spinlock and accesses the card-private mtpav state.
snd_mtpav_free() currently takes the same lock and calls
timer_delete() when the timer is active. This only removes a
pending timer; it does not wait for a callback that is already
running and does not prevent the callback from rearming the timer.
A callback running on another CPU can therefore continue after
snd_mtpav_free() releases the lock and access the card-private
state while the card is being torn down. It can also rearm the
timer after timer_delete() has returned.
Call timer_shutdown_sync() without holding chip->spinlock. This
waits for any running callback to finish and prevents further
rearming before the card-private mtpav state is released.
📍 영향받는 시스템
Linux kernel (ALSA mtpav driver 포함 버전)
⚔️ 공격 벡터
로컬 시스템에서 사운드 장치 드라이버를 조작하여 메모리 오류 유도 (Race Condition)
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.