🇰🇷 한글 설명
리눅스 커널의 ALSA seq: oss 레이어에서 SysEx 메시지를 처리할 때 발생하는 레이스 컨디션 취약점입니다. 6바이트 단위로 분할된 메시지를 결합하는 과정에서 내부 버퍼 접근 시 동기화 문제가 발생하여 경계 외 메모리 접근(Out-of-bounds access)이 가능할 수 있습니다.
💡 쉬운 설명
음악 장치를 제어하는 데이터가 처리되는 과정에서 여러 작업이 동시에 충돌하여 메모리 오류를 일으킬 수 있는 문제입니다. 이로 인해 시스템이 불안정해지거나 잘못된 메모리 영역에 접근할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ALSA: seq: oss: Fix races at processing SysEx messages
OSS sequencer handles the SysEx messages split in 6 bytes packets, and
ALSA sequencer OSS layer tries to combine those. It stores the data
in the internal buffer and this access is racy as of now, which may
lead to the out-of-bounds access.
As a temporary band-aid fix, introduce a mutex for serializing the
process of the SysEx message packets.
📍 영향받는 시스템
ALSA OSS 레이어를 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
특수하게 조작된 SysEx 메시지 패킷을 전송하여 레이스 컨디션을 유도하는 방식
🛡️ 대응 방법
커널 업데이트를 통해 SysEx 메시지 처리 시 뮤텍스(Mutex)를 사용하는 패치가 적용된 최신 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 최신 패치 버전인지 배포판 보안 공지를 통해 확인