🇰🇷 한글 설명
Linux 커널의 ALSA ac97 드라이버에서 snd_ac97_controller_register() 함수 호출 시 이중 해제(double free) 취약점이 발견되었습니다. ac97_add_adapter() 실패 시 잘못된 메모리 해제 방식이 사용되어 발생하며, 코드 리뷰를 통해 수정되었습니다.
💡 쉬운 설명
컴퓨터의 소리를 담당하는 부품을 설정하는 과정에서 메모리를 두 번 지우려고 시도하는 오류가 있었습니다. 이 오류가 발생하면 시스템이 갑자기 멈추거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ALSA: ac97: fix a double free in snd_ac97_controller_register()
If ac97_add_adapter() fails, put_device() is the correct way to drop
the device reference. kfree() is not required.
Add kfree() if idr_alloc() fails and in ac97_adapter_release() to do
the cleanup.
Found by code review.
📍 영향받는 시스템
ALSA ac97 드라이버를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
로컬 공격자가 특정 하드웨어 설정 과정을 유도하여 메모리 오류를 일으킴
🛡️ 대응 방법
최신 보안 패치가 적용된 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 수정된 최신 패치 버전인지 확인