🇰🇷 한글 설명
Linux 커널의 ALSA OSS 믹서 레이어에서 사운드 카드가 연결 해제될 때 미처 처리되지 않은 호출이 남아 있어 Use-After-Free(UAF) 취약점이 발생할 수 있습니다. 이를 해결하기 위해 OSS 믹서 접근 시마다 카드 연결 상태를 확인하는 검사 로직이 추가되었습니다.
💡 쉬운 설명
사운드 카드를 갑자기 뽑을 때 컴퓨터가 잘못된 메모리 주소를 참조하여 시스템이 멈추거나 해킹될 수 있는 문제입니다. 이제 카드가 연결되어 있는지 매번 확인하여 이런 오류를 방지합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ALSA: mixer: oss: Add card disconnect checkpoints
ALSA OSS mixer layer calls the kcontrol ops rather individually, and
pending calls might be not always caught at disconnecting the device.
For avoiding the potential UAF scenarios, add sanity checks of the
card disconnection at each entry point of OSS mixer accesses. The
rwsem is taken just before that check, hence the rest context should
be covered by that properly.
📍 영향받는 시스템
ALSA OSS 믹서 레이어를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
사운드 장치 연결 해제 시점과 믹서 접근 시점 사이의 타이밍 차이를 이용한 로컬 공격
🛡️ 대응 방법
해당 패치가 적용된 최신 버전의 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 패치 버전 이후인지 확인