🇰🇷 한글 설명
Linux 커널의 drm/panthor 드라이버에서 펌웨어 제어 인터페이스의 경계 검사 오류가 발견되었습니다. 32비트 산술 연산 사용 시 오버플로가 발생하여 잘못된 메모리 주소에 접근할 수 있는 취약점입니다.
💡 쉬운 설명
컴퓨터가 숫자를 계산할 때 너무 큰 숫자가 들어오면 0으로 돌아가는 오류를 이용해 보안 검사를 우회하는 문제입니다. 이를 통해 공격자가 허용되지 않은 메모리 영역에 접근할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/panthor: fix firmware control interface bounds checks
panthor_init_cs_iface() and panthor_init_csg_iface() validate firmware
control interface offsets with 32-bit arithmetic and the size of the host
wrapper structures. The offsets are derived from firmware-provided strides,
so the arithmetic can wrap before the bounds check, and the host wrapper
size is not the size of the firmware control interface being mapped.
Use 64-bit arithmetic for the computed offsets and validate against the
actual firmware control interface structure sizes with subtraction-based
bounds checks. Also validate that the shared section is large enough for
the global control interface before using it.
📍 영향받는 시스템
Linux Kernel (drm/panthor 드라이버를 사용하는 시스템)
⚔️ 공격 벡터
조작된 펌웨어를 통해 잘못된 오프셋 값을 전달하여 메모리 경계 검사를 우회함
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.