🇰🇷 한글 설명
리눅스 커널의 Qualcomm QMP USB 레거시 PHY 드라이버에서 초기화되지 않은 상태로 런타임 절전 모드가 실행될 때 NULL 포인터 역참조가 발생할 수 있는 취약점입니다. 이로 인해 시스템 충돌(Crash)이 발생할 수 있으며, 이를 방지하기 위해 PHY 초기화 상태를 확인하는 변수가 도입되었습니다.
💡 쉬운 설명
컴퓨터 부품이 완전히 준비되기 전에 절전 모드로 들어가려고 시도하면서 시스템이 멈추거나 꺼질 수 있는 오류입니다. 부품이 준비되었는지 확인하는 절차를 추가하여 이 문제를 해결했습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
phy: qcom: qmp-usb-legacy: Fix possible NULL-deref on early runtime suspend
There is a small window where the runtime suspend callback may run
after pm_runtime_enable() and before pm_runtime_forbid(). In this
case, a crash occurs because runtime suspend/resume dereferences
qmp->phy pointer, which is not yet initialized:
`if (!qmp->phy->init_count) {`
This can also happen if user re-enables runtime-pm via the sysfs
attribute before qmp phy is initialized.
Similarly to other qcom phy drivers, introduce a qmp->phy_initialized
variable that can be used to avoid relying on the possibly uninitialized
phy pointer.
📍 영향받는 시스템
Qualcomm QMP USB legacy PHY 드라이버를 사용하는 리눅스 커널 시스템
⚔️ 공격 벡터
로컬 사용자가 sysfs 속성을 통해 런타임 전원 관리(Runtime-PM)를 조작하여 시스템 충돌 유도 가능
🛡️ 대응 방법
해당 취약점이 수정된 최신 버전의 리눅스 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 배포판의 수정 버전인지 확인