🇰🇷 한글 설명
Linux 커널의 MediaTek MT8192 ASoC 드라이버에서 runtime resume 시 반환 값을 확인하지 않아 발생하는 취약점입니다. 이로 인해 장치 초기화 실패 시 PM 사용 카운트가 누수되거나 장치 접근이 불가능한 상태로 프로브가 계속 진행될 수 있습니다.
💡 쉬운 설명
기기 전원을 켜는 과정에서 오류가 발생해도 이를 제대로 확인하지 않아 시스템 자원이 낭비되거나 장치가 제대로 작동하지 않을 수 있는 문제입니다. 이로 인해 시스템의 전원 관리 기능에 문제가 생길 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ASoC: mediatek: mt8192: Check runtime resume during probe
The MT8192 AFE probe enables runtime PM temporarily while reinitializing
the regmap cache from hardware, but it uses pm_runtime_get_sync()
without checking the return value. If runtime resume fails, probe keeps
going without the device necessarily being accessible, and
pm_runtime_get_sync() may leave the PM usage count incremented.
The regmap_reinit_cache() failure path also returns before dropping the
temporary PM reference and before clearing pm_runtime_bypass_reg_ctl.
Use pm_runtime_resume_and_get() so resume failures do not leak a usage
count, and clear the temporary bypass flag after dropping the probe PM
reference on all regmap_reinit_cache() outcomes.
📍 영향받는 시스템
MediaTek MT8192 AFE를 사용하는 Linux 커널 기반 시스템
⚔️ 공격 벡터
로컬 공격자가 하드웨어 상태를 조작하여 전원 관리 참조 카운트 누수를 유도할 수 있음
🛡️ 대응 방법
Linux 커널을 최신 패치가 적용된 버전으로 업데이트하여 pm_runtime_resume_and_get() 사용 및 참조 카운트 누수 방지 로직을 적용해야 함
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.