🇰🇷 한글 설명
Linux 커널의 drm/panthor 드라이버에서 펌웨어 빌드 정보의 경계 검사 로직에 결함이 발견되었습니다. u32 타입의 필드 합산 시 정수 오버플로가 발생하여 잘못된 범위 검증을 통과할 수 있으며, 메타데이터 길이를 확인하지 않고 특정 접두사를 읽는 과정에서 언더플로가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 그래픽 관련 부품을 제어하는 소프트웨어에서 숫자 계산 오류로 인해 허용되지 않은 메모리 영역에 접근할 수 있는 보안 약점이 발견되었습니다. 이를 통해 시스템의 안정성이 떨어지거나 잘못된 데이터가 읽힐 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/panthor: harden firmware build-info bounds checks
panthor_fw_read_build_info() checks whether the metadata range fits in the
firmware image with hdr.meta_start + hdr.meta_size. Both fields are u32, so
the addition can wrap and let an out-of-bounds range pass validation.
The function also reads the "git_sha: " prefix without first checking that
the metadata is long enough, and meta_size == 0 can underflow the NULL
terminator index.
Use subtraction-based bounds checking and reject metadata that is too short
to contain the expected prefix and trailing NULL byte.
📍 영향받는 시스템
Linux kernel (drm/panthor 드라이버 포함 버전)
⚔️ 공격 벡터
조작된 펌웨어 이미지의 메타데이터 필드(meta_start, meta_size)를 이용한 경계 검사 우회 및 메모리 범위 초과 접근
🔧 검증 코드
현재 실행 중인 커널 버전을 확인하여 해당 취약점이 수정된 패치 버전 이상인지 확인합니다.