🇰🇷 한글 설명
리눅스 커널의 mailbox 구성 요소에서 fw_mbox_index_xlate() 함수 호출 시 경계 검사가 누락되어 발생하는 취약점입니다. 디바이스 트리에서 #mbox-cells가 0으로 설정된 경우, 적절한 함수 포인터가 제공되지 않으면 기본 함수를 사용하게 되며 이 과정에서 범위를 벗어난 메모리 접근이 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터 부품 간의 통신을 관리하는 소프트웨어에서 데이터의 범위를 확인하지 않아 발생하는 오류입니다. 잘못된 메모리 위치를 읽거나 쓸 수 있어 시스템의 안정성을 해칠 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
mailbox: Prevent out-of-bounds access in fw_mbox_index_xlate()
Although it is guided that `#mbox-cells` must be at least 1, there are
many instances of `#mbox-cells = <0>;` in the device tree. If that is
the case and the corresponding mailbox controller does not provide
`fw_xlate` and of_xlate` function pointers, `fw_mbox_index_xlate()` will
be used by default and out-of-bounds accesses could occur due to lack of
bounds check in that function.
📍 영향받는 시스템
Linux Kernel (mailbox driver 관련 구성 요소가 포함된 버전)
⚔️ 공격 벡터
조작된 디바이스 트리(Device Tree) 설정을 통한 메모리 경계 외 접근 유도
🛡️ 대응 방법
리눅스 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인하십시오.