🇰🇷 한글 설명
Linux 커널의 amdgpu VCN 드라이버에서 정수 오버플로 취약점이 발견되었습니다. 특정 메시지의 버퍼 개수 값을 조작할 경우 경계 검사를 우회하여 메시지 범위를 벗어난 메모리 접근이 가능해집니다.
💡 쉬운 설명
컴퓨터가 숫자를 계산할 때 너무 큰 숫자가 들어오면 값이 갑자기 작아지는 오류를 이용한 공격입니다. 이를 통해 공격자는 허용되지 않은 메모리 영역에 접근하여 시스템에 문제를 일으킬 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu/vcn: fix integer overflow in dec_msg buffer count check
If the supplied msg[2] (num_buffers) is 0x3FFFFFFF, the expression
6 + num_buffers * 4 wraps to 2 and the bounds check passes, letting
the parser loop far past the end of the message BO. Triggering it
additionally requires a ~4GiB mapping so that msg[1] survives the
earlier "header does not fit in BO" check.
Rewrite the test in division form, which is overflow-free by
construction. Also update the message to reflect that msg is invalid.
📍 영향받는 시스템
Linux kernel (amdgpu/vcn 드라이버 포함 버전)
⚔️ 공격 벡터
조작된 메시지(msg[2] 값을 0x3FFFFFFF로 설정)를 전송하여 정수 오버플로 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 최신 패치 버전인지 확인