🇰🇷 한글 설명
Linux 커널의 ASoC MediaTek mt8365-afe-pcm 드라이버에서 mt8365_afe_suspend() 함수 호출 시 발생할 수 있는 NULL 포인터 역참조 취약점입니다. 레지스터 백업 버퍼 할당 실패 시 이를 확인하지 않고 접근하여 시스템 오류를 유발할 수 있습니다.
💡 쉬운 설명
기기 전원을 끌 때 메모리를 빌려오는 과정에서 문제가 생기면, 컴퓨터가 잘못된 주소를 참조하여 갑자기 멈추거나 오류가 발생할 수 있는 문제입니다. 메모리 할당이 실패했을 때 이를 미리 확인하도록 수정되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ASoC: mediatek: mt8365-afe-pcm: fix possible NULL-pointer dereferences in mt8365_afe_suspend()
mt8365_afe_suspend() allocates the register backup buffer with
devm_kcalloc(), but does not check for allocation failure before using the
returned pointer. This may lead to a NULL pointer dereference when
accessing afe->reg_back_up[i].
Add the missing NULL check and return -ENOMEM on allocation failure after
disabling the main clock.
Also propagate the return value of mt8365_afe_suspend() in
mt8365_afe_dev_runtime_suspend() so that the suspended state is not updated
when suspend fails.
📍 영향받는 시스템
MediaTek mt8365 플랫폼을 사용하는 Linux 커널 기반 시스템
⚔️ 공격 벡터
메모리 부족 상황을 유도하여 시스템을 중단시키는 로컬 공격 또는 시스템 불안정 유발
🛡️ 대응 방법
Linux 커널을 최신 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인하십시오.
💻 영향받는 소프트웨어
NVIDIA Cloud Gaming Guest Driver for Linux