🇰🇷 한글 설명
Linux 커널의 ALSA USB 드라이버에서 MIDI2 엔드포인트의 지연된 해제 시 발생하는 Use-After-Free(UAF) 취약점이 발견되었습니다. ump_to_endpoint() 함수가 이미 해제된 엔드포인트 객체를 참조하려고 시도할 때 발생하며, 이를 방지하기 위해 private_free를 추가하여 관련 데이터를 초기화하도록 수정되었습니다.
💡 쉬운 설명
컴퓨터가 이미 사용이 끝나서 버린 메모리 공간을 실수로 다시 사용하려고 할 때 발생하는 오류입니다. 이 오류를 이용하면 시스템이 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ALSA: usb: Fix UAF at delayed release of MIDI2 EPs
The recent fix for UAF in ump_to_endpoint() caused another UAF because
it tries to dereference the UMP endpoint object, but this might be
executed at a delayed context where the endpoint has been already
released.
Add private_free to clear the associated data for avoiding the further
dereference for delayed releases.
📍 영향받는 시스템
Linux Kernel (ALSA USB MIDI2 관련 모듈 사용 시스템)
⚔️ 공격 벡터
특수하게 조작된 USB MIDI 장치를 연결하여 커널 메모리 오류 유도
🛡️ 대응 방법
ALSA USB MIDI2 UAF 패치가 적용된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인