🇰🇷 한글 설명
리눅스 커널의 ALSA dice 드라이버 내 detect_stream_formats() 함수에서 버퍼 오버플로우 취약점이 발견되었습니다. 악의적인 FireWire 장치가 MAX_STREAMS보다 큰 stream_count 값을 전달할 경우, 검증되지 않은 값이 읽혀 메모리 경계를 벗어난 쓰기 작업이 발생할 수 있습니다.
💡 쉬운 설명
FireWire라는 장치를 컴퓨터에 연결했을 때, 장치가 거짓 정보를 보내 컴퓨터의 메모리 영역을 망가뜨릴 수 있는 문제입니다. 이를 통해 시스템이 멈추거나 해킹될 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ALSA: dice: fix buffer overflow in detect_stream_formats()
The function detect_stream_formats() reads the stream_count value directly
from a FireWire device without validating it. This can lead to
out-of-bounds writes when a malicious device provides a stream_count value
greater than MAX_STREAMS.
Fix by applying the same validation to both TX and RX stream counts in
detect_stream_formats().
📍 영향받는 시스템
ALSA dice 드라이버를 사용하는 리눅스 커널 시스템
⚔️ 공격 벡터
악의적으로 조작된 stream_count 값을 전송하는 FireWire 장치를 시스템에 연결
🛡️ 대응 방법
detect_stream_formats() 함수에서 TX 및 RX 스트림 수에 대한 유효성 검사가 포함된 최신 리눅스 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 수정된 최신 패치 버전인지 확인