🇰🇷 한글 설명
Linux 커널의 amdgpu 드라이버에서 유효하지 않은 UVD 차원 값이 입력될 경우 0으로 나누기 오류가 발생합니다. 너비나 높이가 16 미만일 때 계산 과정에서 0이 생성되어 H264 디코딩 경로에서 시스템 충돌을 유발할 수 있습니다.
💡 쉬운 설명
동영상 재생 시 화면 크기가 너무 작으면 컴퓨터가 계산을 하다가 0으로 나누는 실수를 하여 멈출 수 있는 문제입니다. 이를 방지하기 위해 화면 크기가 일정 수준 이하인 경우 미리 차단하도록 수정되었습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: fix division by zero with invalid uvd dimensions
When width or height is less than 16, width_in_mb or height_in_mb
becomes 0, leading to fs_in_mb being 0. This causes a division by
zero when calculating num_dpb_buffer in H264 and H264 Perf decode
paths.
Add validation to reject frames with width < 16 or height < 16
before performing any calculations that depend on these values.
V2: Format change - move up all vaiable definitions.
V3: Use warn_once to avoid spam.
(cherry picked from commit 3e41d26c70b0a459d041cc19482a226c4b7423cb)
📍 영향받는 시스템
Linux kernel (amdgpu driver component)
⚔️ 공격 벡터
조작된 크기 정보를 가진 비디오 파일(H264)을 재생하여 커널 패닉 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인
📊 CVSS Vector String
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
NVIDIA vGPU Guest Driver for Linux