🔍 CVE-2026-93145

0.0
CVSS Score
UNKNOWN
2026-09-17
2026-10-19 10:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 Qualcomm GDSC 구현에서 gdsc_unregister() 함수가 등록된 generic_pm_domain 구조체를 적절히 제거하지 않아 발생하는 취약점입니다. 이로 인해 전역 gpd_list에 잔류 항목이 남게 되어, 드라이버 재등록 시 이름 충돌로 인해 -EEXIST 오류가 발생할 수 있습니다.

💡 쉬운 설명

시스템이 하드웨어 전원 관리 설정을 해제할 때, 사용했던 기록을 완전히 지우지 않고 남겨두는 문제입니다. 이 때문에 나중에 같은 설정을 다시 사용하려고 하면 이미 사용 중인 것으로 오해하여 오류가 발생합니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: clk: qcom: gdsc: tear down per-domain genpds in gdsc_unregister() gdsc_unregister() removes the OF provider entry and tears down the parent/subdomain wiring, but never calls pm_genpd_remove() on the individual generic_pm_domain structures registered by gdsc_init(): void gdsc_unregister(struct gdsc_desc *desc) { struct device *dev = desc->dev; size_t num = desc->num; gdsc_pm_subdomain_remove(desc, num); of_genpd_del_provider(dev->of_node); } That leaves dangling entries on the global gpd_list. After a provider unbind/rebind cycle (deferred-probe replay during early boot, real module unload of a clk driver that owns GDSCs, or an OF-overlay tear- down) the next gdsc_init() will end up trying to re-register a name that is still in the list and pm_genpd_init() returns -EEXIST. While we are here, flip the order so the consumer-facing OF provider entry is the first thing removed -- otherwise a fresh of_genpd_get_from_provider() call racing with the teardown could attach to a domain that is mid-removal. Iterate the scs[] array and pm_genpd_remove() each registered domain after the subdomain links are torn down. The regulators stay devm- managed (devm_regulator_get_optional() in gdsc_register()), so the release happens automatically when the underlying device is unbound; just the genpd accounting needs to be undone explicitly.

📍 영향받는 시스템

Qualcomm 플랫폼을 사용하는 Linux 커널 (GDSC 관련 모듈 포함 버전)

⚔️ 공격 벡터

직접적인 공격보다는 드라이버 언로드/로드 또는 OF-overlay 제거 시 발생하는 시스템 서비스 거부(DoS) 가능성

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 gdsc_unregister() 내 pm_genpd_remove() 호출 로직을 적용해야 합니다.

🔧 검증 코드

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

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel