🇰🇷 한글 설명
Linux 커널의 DRM/DP MST 드라이버에서 사이드밴드 데이터 처리 중 버퍼 오버플로우가 발생하는 취약점입니다. 장치가 제공하는 메시지 길이를 검증하지 않아 발생하는 언더플로우, chunk 배열 초과, msg 배열 초과 등 세 가지 유형의 메모리 손상이 포함되어 있습니다.
💡 쉬운 설명
컴퓨터에 연결된 디스플레이 장치가 조작된 데이터를 보낼 경우, 운영체제의 메모리 영역을 넘어서는 잘못된 데이터를 써서 시스템을 망가뜨릴 수 있는 문제입니다. 악의적인 장치를 연결하면 시스템 제어권을 뺏길 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/dp/mst: fix buffer overflows in sideband chunk accumulation
drm_dp_sideband_append_payload() has three related bugs when processing
device-provided sideband reply data:
1. Zero-length curchunk_len underflow: msg_len is a 6-bit field taken
directly from the DP sideband header. If a device sends msg_len=0,
curchunk_len is set to zero. The condition (curchunk_idx >= curchunk_len)
is immediately true, and curchunk_len-1 wraps to 255 (u8 underflow).
drm_dp_msg_data_crc4() reads 255 bytes from chunk[48], then memcpy()
writes 255 bytes into msg[], both far out of bounds.
2. chunk[48] overflow: curchunk_len can reach 63 (6-bit field). chunk[] is
only 48 bytes. Multi-iteration payload assembly appends 16-byte blocks
until curchunk_idx reaches curchunk_len, writing up to 15 bytes past
the end of chunk[] into msg[].
3. msg[256] overflow: each chunk contributes (curchunk_len-1) bytes to
msg[]. No check ensures curlen + (curchunk_len-1) stays within msg[256],
so the memcpy can spill into adjacent struct fields.
All three are reachable from any DP MST device that can forge sideband
reply messages on a physical connection.
📍 영향받는 시스템
Linux kernel (drm/dp/mst 드라이버 포함 버전)
⚔️ 공격 벡터
물리적으로 연결된 DP MST 디스플레이 장치를 통한 조작된 사이드밴드 응답 메시지 전송
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.
💻 영향받는 소프트웨어
NVIDIA vGPU Guest Driver for Linux