🇰🇷 한글 설명
Linux 커널의 drm/panthor 드라이버에서 펌웨어 인터페이스 구조체의 크기를 검증하지 않아 발생하는 취약점입니다. 펌웨어가 제공한 가상 주소가 공유 섹션 내에 있더라도, 구조체 전체 크기를 고려하지 않아 경계 밖의 메모리에 접근할 수 있는 문제가 있습니다.
💡 쉬운 설명
컴퓨터의 그래픽 관련 부품이 사용하는 메모리 영역의 크기를 제대로 확인하지 않아 발생하는 오류입니다. 이로 인해 허용되지 않은 메모리 영역에 접근하여 시스템에 문제를 일으킬 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/panthor: validate firmware interface structure sizes
iface_fw_to_cpu_addr() only checks that the firmware-provided MCU virtual
address points inside the shared section. The returned pointer is later
used as a full firmware interface structure, so accepting an address near
the end of the shared section can still lead to out-of-bounds accesses.
Pass the expected object size to iface_fw_to_cpu_addr() and reject ranges
that do not fit entirely in the shared section.
📍 영향받는 시스템
Linux kernel (drm/panthor driver 포함 버전)
⚔️ 공격 벡터
조작된 펌웨어를 통해 공유 메모리 섹션 끝부분에 위치한 잘못된 주소를 전달하여 경계 밖 메모리 접근 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인