🇰🇷 한글 설명
리눅스 커널의 DRM DisplayPort MST 드라이버에서 사이드밴드 응답 파서가 2바이트 필드를 읽을 때 경계 검사를 수행하기 전에 데이터를 읽는 Out-of-Bounds(OOB) 읽기 취약점이 발견되었습니다. 이로 인해 수신된 메시지 범위를 벗어난 메모리 영역을 참조하여 시스템의 민감한 정보가 노출될 수 있습니다.
💡 쉬운 설명
컴퓨터가 외부 장치로부터 데이터를 받을 때, 정해진 데이터 길이보다 더 많은 부분을 읽으려고 시도하여 메모리의 다른 부분을 훔쳐볼 수 있는 문제입니다. 이는 시스템 내부의 중요한 정보가 유출될 위험을 초래할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/dp/mst: fix OOB reads on 2-byte fields in sideband reply parsers
Three sideband reply parsers read 16-bit fields as:
val = (raw->msg[idx] << 8) | (raw->msg[idx+1]);
and check bounds only after the fact. When idx == raw->curlen,
raw->msg[idx+1] reads one byte past the received message data into
the following struct fields (curchunk_len, curchunk_idx, curlen).
Affected functions:
- drm_dp_sideband_parse_enum_path_resources_ack()
full_payload_bw_number and avail_payload_bw_number fields
- drm_dp_sideband_parse_allocate_payload_ack()
allocated_pbn field
- drm_dp_sideband_parse_query_payload_ack()
allocated_pbn field
Fix by using a single combined check (idx + 2 > curlen) before each
2-byte read. Since the check is strictly tighter than idx > curlen,
no separate step is needed.
[added fixes tag]
📍 영향받는 시스템
DisplayPort MST 기능을 사용하는 리눅스 커널 기반 시스템
⚔️ 공격 벡터
조작된 DisplayPort 사이드밴드 응답 메시지를 전송하여 메모리 경계 밖의 데이터를 읽도록 유도
🛡️ 대응 방법
해당 취약점이 수정된 최신 리눅스 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전을 확인하여 취약점이 해결된 패치 버전 이상인지 확인합니다.