🔍 CVE-2026-98176

0.0
CVSS Score
UNKNOWN
2026-10-06
2026-10-19 10:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 drm/amdkfd 구성 요소에서 EOP 링 크기를 계산할 때 정수 언더플로우가 발생할 수 있는 취약점이 발견되었습니다. ffs 함수 결과값에 따라 계산 오류가 발생할 수 있었으나, 로그 성질을 이용한 수식 변경을 통해 이를 해결했습니다.

💡 쉬운 설명

컴퓨터가 메모리 크기를 계산하는 과정에서 숫자가 너무 작아져 잘못된 값이 나오는 오류가 있었습니다. 이로 인해 시스템 계산 오류가 발생할 수 있었으나 최신 업데이트로 수정되었습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Avoid integer underflow with ffs in EOP ring size calc The low 6 bits of cp_hqd_eop_control store the base-2 logarithm of the EOP ring size. This was calculated as ffs(q->eop_ring_buffer_size / sizeof(unsigned int)) - 1 - 1 But ffs can in theory return 1 or 0, so this could underflow (although in practice the ring buffer size cannot be less than 4096). Change this to ffs(q->eop_ring_buffer_size / sizeof(unsigned int) / 4) using properties of logarithms. (cherry picked from commit 4f18c56630383c14bfc6b2d65f88f2f895d2121a)

📍 영향받는 시스템

Linux Kernel (drm/amdkfd 모듈을 사용하는 AMD GPU 환경)

⚔️ 공격 벡터

특수하게 조작된 메모리 크기 값을 전달하여 커널 내 정수 언더플로우 유도

🛡️ 대응 방법

최신 보안 패치가 적용된 Linux 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 패치 버전 이후인지 확인

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel