🇰🇷 한글 설명
Linux 커널의 remoteproc qcom_wcnss 드라이버에서 전원 도메인(PD) 레귤레이터 처리 중 배열 범위를 벗어나는 메모리 참조 오류가 발견되었습니다. 특정 플랫폼(pronto-v3)에서 전원 도메인 수와 레귤레이터 수가 다를 때 포인터가 배열 끝을 넘어서게 되어 메모리 오류를 유발합니다.
💡 쉬운 설명
컴퓨터 부품에 전기를 공급하는 설정을 관리하는 과정에서, 목록에 없는 잘못된 위치를 참조하여 오류가 발생하는 문제입니다. 이로 인해 특정 기기에서 시스템 오류나 예기치 않은 동작이 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
remoteproc: qcom_wcnss: Fix handling the lack of PD regulators in v3
The changes introduced to handle single power domain platforms have
swapped the info pointer increment from num_pd_vregs to num_pds, which
would shift the info pointer past the end of the array for pronto-v3,
which does not list power domain regulators in vregs.
This showed up as a difference between GCC- and LLVM-compiled kernels
on SDM632 devices, where only with LLVM one would get the
"regulator request with no identifier" error, because the out-of-bounds
memory ended up being zeroed. Fix by skipping the increment when there
are more power domains than regulators.
📍 영향받는 시스템
Linux kernel (qcom_wcnss driver affecting SDM632 devices)
⚔️ 공격 벡터
Local (커널 내부 로직 오류로 인한 시스템 불안정 유발)
🛡️ 대응 방법
Linux 커널을 최신 패치가 적용된 버전으로 업데이트하여 전원 도메인과 레귤레이터 수 불일치 시 포인터 증가를 건너뛰도록 수정해야 합니다.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인합니다.