🇰🇷 한글 설명
Linux 커널의 AMD 디스플레이 드라이버에서 DPMS(디스플레이 전원 관리) 시퀀스 처리 중 stream->sink 포인터를 null 검사 없이 역참조하던 문제를 수정한 패치입니다. sink 대신 stream->link를 사용하도록 변경하고 USB4 대역폭 할당 경로에 assert를 추가했습니다. 이 패치는 보안 취약점이 아닌 안정성 개선 성격의 수정입니다.
💡 쉬운 설명
그래픽 카드 드라이버가 일부 연결 정보가 없는 상태에서 잘못 접근할 수 있던 문제를 고쳤습니다. 이로 인해 화면 전원 관리 과정에서 시스템이 멈추거나 비정상 동작할 가능성이 줄어듭니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Remove sink usage from DPMS
[Why]
stream->sink is optional and can be null, so should always be checked
before dereference. Additionally, most of its usage in DPMS sequences
is for stream->sink->link, which can be replaced with stream->link,
as the two should always be the same.
[How]
* Replace stream->sink->link in DPMS on/off
* Add assert to USB4 BW allocation where sink is required
* Avoid inconsistencies in resource access, e.g. don't repeat
stream->link after it was already saved to a local variable
* Pull out effective VPG calculation to helper getter
* Formatting fixes
📍 영향받는 시스템
AMD 그래픽 드라이버(DC/DisplayCore)를 사용하는 Linux 커널 (패치 적용 이전 버전)
⚔️ 공격 벡터
CVSS 0.0으로 분류된 안정성 수정으로, 원격 공격 경로는 확인되지 않았으며 로컬 디스플레이 전원 상태 전환 시 null 역참조로 인한 커널 오류 가능성이 있음
🛡️ 대응 방법
배포판 제공 최신 Linux 커널 업데이트를 적용하여 해당 패치가 포함된 버전으로 재부팅
🔧 검증 코드
출력된 커널 버전을 배포판 보안 공지 또는 Linux 커널 git 로그에서 해당 패치(drm/amd/display: Remove sink usage from DPMS) 포함 여부를 확인하고, 해당 버전 이상이면 패치가 적용된 것입니다.