🇰🇷 한글 설명
Linux 커널의 ALSA 타이머 구현에서 마스터 타이머가 해제될 때 종속된 슬레이브 타이머의 콜백을 적절히 처리하지 않아 발생하는 취약점입니다. 이로 인해 실행 중인 콜백이 종료되기 전에 메모리가 해제되어 Use-After-Free(UAF) 오류가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 소리 관련 장치를 관리하는 프로그램에서, 작업이 끝나기도 전에 메모리를 먼저 지워버리는 실수가 발견되었습니다. 이로 인해 시스템이 갑자기 멈추거나 해킹에 이용될 수 있는 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ALSA: timer: drain a slave's callback before its master detaches it
snd_timer_close_locked() drains the closing instance's own in-flight
callback (IFLG_CALLBACK) before freeing it, but not its slaves'. When a
master instance is closed, remove_slave_links() clears each slave's
->timer; the slave's own close then reads timer == NULL and takes the
branch that skips the drain entirely (snd_timer_stop_slave() also no-ops
on a NULL timer). So a slave whose callback is still running when the
master is closed is freed underneath the live callback, leading to
use-after-free.
Drain the slaves too before remove_slave_links() severs them.
snd_timer_stop() has already taken this instance off the active list, so
no new slave callback can be queued. Take the slaves off the ack list so
a pending one can't fire either, then wait for any that is already in
flight.
📍 영향받는 시스템
Linux Kernel (ALSA 타이머 관련 모듈 포함 버전)
⚔️ 공격 벡터
특정 타이머 설정 및 해제 과정을 유도하여 메모리 오류를 일으키는 로컬 공격
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.
📊 CVSS Vector String
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
NVIDIA vGPU Guest Driver for Linux