🇰🇷 한글 설명
Linux 커널의 qcom-cpucp mailbox 드라이버에서 NULL 데이터에 대한 처리 미흡으로 인해 커널 패닉이 발생할 수 있는 취약점입니다. mailbox_clear_channel() 함수가 NULL 데이터를 전달할 때 qcom_cpucp_mbox_send_data()가 이를 검증 없이 참조하여 시스템이 중단됩니다.
💡 쉬운 설명
컴퓨터의 핵심 부품인 커널이 비어있는 데이터(NULL)를 잘못 읽으려다 시스템이 갑자기 멈추거나 꺼지는 오류입니다. 특정 상황에서 데이터가 없음을 알리는 신호를 처리할 때 발생하는 문제입니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
mailbox: qcom-cpucp: handle NULL data in send_data callback
mailbox_clear_channel() calls mbox_send_message() with NULL data to
notify the remote side that the RX channel has been cleared.
qcom_cpucp_mbox_send_data() blindly dereferenced the data pointer,
causing a NULL pointer dereference kernel panic when invoked from
this path under PREEMPT_RT.
Add an explicit NULL check and return early without writing to the
TX register, which is the correct behaviour for a channel-clear
notification.
📍 영향받는 시스템
Linux kernel (qcom-cpucp mailbox driver 사용 시스템)
⚔️ 공격 벡터
PREEMPT_RT 환경에서 채널 클리어 알림이 발생하는 특정 시나리오를 통한 로컬 공격 또는 시스템 오류 유발
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 NULL 포인터 체크 로직을 적용해야 합니다.
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인합니다.