🇰🇷 한글 설명
Linux 커널의 ALSA dummy 시퀀서 포트에서 UMP 이벤트를 처리할 때 스택 오버리드(Stack Overread) 취약점이 발견되었습니다. 기존의 레거시 이벤트 저장 공간이 UMP 이벤트 구조체보다 작아, 데이터를 복사하는 과정에서 스택 경계를 넘어 메모리를 읽을 수 있는 문제가 있습니다.
💡 쉬운 설명
컴퓨터의 소리 관련 기능을 처리하는 과정에서, 데이터가 들어갈 공간보다 더 큰 데이터를 넣으려다 메모리의 잘못된 부분을 읽게 되는 오류입니다. 이로 인해 시스템 정보가 유출되거나 예기치 않은 동작이 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ALSA: seq: dummy: fix UMP event stack overread
The dummy sequencer port forwards events by copying an incoming
struct snd_seq_event into a stack temporary, rewriting source and
destination, and dispatching the temporary to subscribers. That legacy
event storage is smaller than struct snd_seq_ump_event.
When a UMP event reaches the dummy client, the copy leaves the UMP flag
set but only provides legacy-sized stack storage. The subscriber
delivery path then uses snd_seq_event_packet_size() and copies a
UMP-sized packet from that stack object, reading past the end of the
temporary.
Use the existing union __snd_seq_event storage and copy the packet size
reported for the incoming event before rewriting the common routing
fields. This preserves the full UMP packet for UMP events while keeping
legacy event handling unchanged.
📍 영향받는 시스템
Linux Kernel (ALSA dummy sequencer 관련 모듈 사용 시스템)
⚔️ 공격 벡터
조작된 UMP(Universal MIDI Packet) 이벤트를 dummy 시퀀서 포트로 전송
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인