🇰🇷 한글 설명
Linux 커널의 remoteproc mediatek 드라이버에서 IPI 버퍼가 L2TCM(SRAM) 크기를 초과하는지 확인하지 않는 취약점이 발견되었습니다. 이로 인해 드라이버가 허용된 메모리 경계를 벗어나 읽기/쓰기 작업을 수행할 수 있으며, 이는 커널 패닉을 유발할 수 있습니다.
💡 쉬운 설명
컴퓨터의 보조 프로세서가 사용하는 메모리 공간이 실제 크기보다 크게 설정될 수 있는 문제입니다. 이 문제가 발생하면 시스템이 갑자기 멈추거나 오류가 발생하여 작동이 중단될 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
remoteproc: mediatek: Make sure IPI buffer fits in L2TCM
The IPI buffer location is read from the firmware that we load to the
System Companion Processor, and it's not granted that both the SRAM
(L2TCM) size that is defined in the devicetree node is large enough
for that, and while this is especially true for multi-core SCP, it's
still useful to check on single-core variants as well.
Failing to perform this check may make this driver perform R/W
operations out of the L2TCM boundary, resulting (at best) in a
kernel panic.
To fix that, check that the IPI buffer fits, otherwise return a
failure and refuse to boot the relevant SCP core (or the SCP at
all, if this is single core).
📍 영향받는 시스템
MediaTek 프로세서를 사용하는 Linux 커널 기반 시스템 (remoteproc mediatek 드라이버 포함 버전)
⚔️ 공격 벡터
펌웨어 로드 시 조작된 IPI 버퍼 크기 정보를 통해 메모리 경계 외 접근 유도 (로컬/펌웨어 수준)
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 IPI 버퍼 크기 검증 로직을 적용해야 합니다.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인합니다.