🔍 CVE-2026-31766

7.1
CVSS Score
HIGH
2026-05-01
2026-05-11 17:49
✅ 완료

🇰🇷 한글 설명

Linux 커널 AMD GPU 드라이버의 amdgpu_userq_get_doorbell_index() 함수가 사용자가 제공한 doorbell_offset 값에 대해 경계 검사를 수행하지 않아, 악의적으로 조작된 큰 값이 할당된 doorbell BO 범위를 벗어나 커널 doorbell 메모리 영역을 손상시킬 수 있습니다. 이는 u64 산술 오버플로우 방지 및 범위 검증을 추가하여 해결됩니다.

💡 쉬운 설명

AMD 그래픽 카드 드라이버가 사용자 입력값의 크기를 검증하지 않아, 악의적인 입력으로 시스템 커널 메모리를 손상시킬 수 있습니다. 커널 메모리 손상은 시스템 불안정성 및 권한 상승으로 이어질 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: validate doorbell_offset in user queue creation amdgpu_userq_get_doorbell_index() passes the user-provided doorbell_offset to amdgpu_doorbell_index_on_bar() without bounds checking. An arbitrarily large doorbell_offset can cause the calculated doorbell index to fall outside the allocated doorbell BO, potentially corrupting kernel doorbell space. Validate that doorbell_offset falls within the doorbell BO before computing the BAR index, using u64 arithmetic to prevent overflow. (cherry picked from commit de1ef4ffd70e1d15f0bf584fd22b1f28cbd5e2ec)

📍 영향받는 시스템

Linux kernel with AMD GPU (amdgpu) driver, versions before commit de1ef4ffd70e1d15f0bf584fd22b1f28cbd5e2ec

⚔️ 공격 벡터

Local attacker can create user queue with maliciously large doorbell_offset parameter to trigger out-of-bounds doorbell index calculation

🛡️ 대응 방법

Update Linux kernel to version including commit de1ef4ffd70e1d15f0bf584fd22b1f28cbd5e2ec or later with doorbell_offset validation patch

🔧 검증 코드

커널 버전 확인 및 amdgpu doorbell 관련 최신 로그를 확인하여 패치 적용 여부 판단; 패치된 버전이면 doorbell 검증 관련 메시지가 표시됩니다

Shell / Script
uname -r && dmesg | grep -i 'amdgpu.*doorbell' | tail -1

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel