🔍 CVE-2024-50238

5.5
CVSS Score
MEDIUM
2024-11-09
2026-06-17 08:03
✅ 완료

🇰🇷 한글 설명

Linux 커널의 qcom-qmp-usbc 드라이버에서 런타임 절전 모드(runtime suspend) 진입 시 NULL 포인터 역참조가 발생하는 취약점입니다. 드라이버 초기화 과정에서 데이터 구조체가 누락되어 발생하며, 시스템 충돌이나 커널 패닉을 유발할 수 있습니다.

💡 쉬운 설명

컴퓨터의 전원을 아끼기 위해 특정 부품을 잠시 끄는 과정에서, 필요한 정보를 찾지 못해 시스템이 멈추거나 오류가 발생하는 문제입니다. 드라이버 설정 과정에서 실수로 중요한 정보를 지워버린 것이 원인입니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: phy: qcom: qmp-usbc: fix NULL-deref on runtime suspend Commit 413db06c05e7 ("phy: qcom-qmp-usb: clean up probe initialisation") removed most users of the platform device driver data from the qcom-qmp-usb driver, but mistakenly also removed the initialisation despite the data still being used in the runtime PM callbacks. This bug was later reproduced when the driver was copied to create the qmp-usbc driver. Restore the driver data initialisation at probe to avoid a NULL-pointer dereference on runtime suspend. Apparently no one uses runtime PM, which currently needs to be enabled manually through sysfs, with these drivers.

📍 영향받는 시스템

Qualcomm QMP USB/USBC 드라이버를 사용하는 Linux 커널 기반 시스템

⚔️ 공격 벡터

로컬 공격자가 시스템의 런타임 전원 관리(Runtime PM) 기능을 활성화하여 유도 가능

🛡️ 대응 방법

커널 패치(Commit 413db06c05e7 포함)가 적용된 최신 버전의 Linux 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

💻 영향받는 소프트웨어

Linux Kernel