🇰🇷 한글 설명
Linux 커널의 mtk-pmic-keys 드라이버에서 발생한 취약점으로, 장치 트리(Device Tree)에 버튼 정보가 없는 경우 null 포인터를 역참조할 수 있는 문제입니다. 이로 인해 시스템이 충돌하거나 커널 패닉이 발생할 수 있습니다.
💡 쉬운 설명
하드웨어 설정 파일에 특정 버튼 정보가 빠져 있을 때, 컴퓨터가 존재하지 않는 정보를 읽으려다 멈춰버리는 오류입니다. 이 오류가 발생하면 시스템이 갑자기 꺼지거나 재부팅될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
Input: mtk-pmic-keys - fix possible null pointer dereference
In mtk_pmic_keys_probe, the regs parameter is only set if the button is
parsed in the device tree. However, on hardware where the button is left
floating, that node will most likely be removed not to enable that
input. In that case the code will try to dereference a null pointer.
Let's use the regs struct instead as it is defined for all supported
platforms. Note that it is ok setting the key reg even if that latter is
disabled as the interrupt won't be enabled anyway.
📍 영향받는 시스템
mtk-pmic-keys 드라이버를 사용하는 Linux 커널 기반 시스템
⚔️ 공격 벡터
로컬 공격자가 하드웨어 구성을 조작하거나 특정 드라이버 로드 조건을 유도하여 시스템 충돌 유발
🛡️ 대응 방법
해당 취약점이 수정된 최신 Linux 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 패치가 적용된 보안 업데이트 버전인지 확인