🇰🇷 한글 설명
Linux 커널의 USB Type-C UCSI ACPI 드라이버에서 명령 완료 타임아웃이 1초로 잘못 줄어들어 문제가 발생했습니다. 이로 인해 일부 노트북에 USB-C로 연결된 모니터에서 PPM 초기화 실패 및 커넥터 상태 조회 실패가 발생하고, 분리 시 NULL 포인터 역참조가 일어날 수 있습니다. 타임아웃을 5초로 되돌리는 것으로 해결됩니다.
💡 쉬운 설명
USB-C 장치와 컴퓨터가 서로 응답을 기다리는 시간이 너무 짧게 설정되어 연결 오류가 생겼습니다. 이 문제는 커널 업데이트로 기다리는 시간을 정상값으로 되돌려 해결됩니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
usb: ucsi_acpi: Increase the command completion timeout
Commit 130a96d698d7 ("usb: typec: ucsi: acpi: Increase command
completion timeout value") increased the timeout from 5 seconds
to 60 seconds due to issues related to alternate mode discovery.
After the alternate mode discovery switch to polled mode
the timeout was reduced, but instead of being set back to
5 seconds it was reduced to 1 second.
This is causing problems when using a Lenovo ThinkPad X1 yoga gen7
connected over Type-C to a LG 27UL850-W (charging DP over Type-C).
When the monitor is already connected at boot the following error
is logged: "PPM init failed (-110)", /sys/class/typec is empty and
on unplugging the NULL pointer deref fixed earlier in this series
happens.
When the monitor is connected after boot the following error
is logged instead: "GET_CONNECTOR_STATUS failed (-110)".
Setting the timeout back to 5 seconds fixes both cases.
📍 영향받는 시스템
Linux 커널의 usb: ucsi_acpi 드라이버를 사용하는 USB Type-C 지원 시스템 (Lenovo ThinkPad X1 Yoga Gen 7 등, 해당 수정 이전 커널)
⚔️ 공격 벡터
로컬 물리적 연결 상황에서 발생하는 안정성 문제이며 원격 공격 경로는 확인되지 않음 (USB-C 장치 연결/분리 시 오류 및 NULL 포인터 역참조로 인한 서비스 장애 가능)
🛡️ 대응 방법
수정이 포함된 최신 Linux 커널로 업데이트하거나 배포판의 보안 업데이트를 적용하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 CVE의 수정 커널 버전 이상인지 배포판 보안 공지와 비교하여 확인하며, 결과가 없으면 패키지 관리자가 다른 방식이므로 rpm -q kernel 등으로 대체 조회합니다.
uname -r && dpkg -l linux-image-$(uname -r) 2>/dev/null | grep -E '^ii'