🇰🇷 한글 설명
Linux 커널의 ALSA caiaq 드라이버에서 오류 처리 과정 중 리소스를 중복 해제하는 double-free 취약점이 발견되었습니다. 특정 오디오 리소스가 이미 해제된 상태에서 공통 소멸자가 다시 호출되어 발생하며, 이를 해결하기 위해 각 지점에서 리소스를 해제하고 포인터를 초기화하도록 수정되었습니다.
💡 쉬운 설명
컴퓨터가 사용하던 메모리 자원을 정리할 때, 이미 정리된 것을 또 정리하려고 시도하면서 발생하는 오류입니다. 이 과정에서 시스템이 예기치 않게 멈추거나 보안 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ALSA: caiaq: Fix potential double-free at error path
The fix for caiaq driver's resource management to handle the errors
tries to release the resources in a common destructor call, but as a
sashiko review for another patch suggested, some of the audio
resources such as URBs have been already freed, and this may lead to a
double-free.
For addressing the double-free, call the common destructor function
from each place, and assure that the resource pointers get cleared.
📍 영향받는 시스템
caiaq 드라이버를 사용하는 Linux 커널 버전
⚔️ 공격 벡터
드라이버의 오류 발생 경로를 유도하여 메모리 중복 해제를 일으키는 로컬 공격
🛡️ 대응 방법
caiaq 드라이버의 double-free 수정 사항이 포함된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 버전인지 확인합니다.