🔍 CVE-2024-50090

7.8
CVSS Score
HIGH
2024-11-05
2026-08-04 11:21
✅ 완료

🇰🇷 한글 설명

Linux 커널의 drm/xe/oa 드라이버에서 OA 배치 버퍼 처리 시 오버플로우가 발생하는 취약점입니다. 배치 버퍼를 재사용할 때마다 종료 표시(MI_BATCH_BUFFER_END)가 중복 추가되어 버퍼 크기를 초과하게 됩니다.

💡 쉬운 설명

그래픽 카드를 제어하는 소프트웨어에서 데이터를 저장하는 공간이 정해져 있는데, 데이터를 계속 쌓기만 하고 공간을 확인하지 않아 넘쳐버리는 문제입니다. 이로 인해 시스템이 멈추거나 오류가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: drm/xe/oa: Fix overflow in oa batch buffer By default xe_bb_create_job() appends a MI_BATCH_BUFFER_END to batch buffer, this is not a problem if batch buffer is only used once but oa reuses the batch buffer for the same metric and at each call it appends a MI_BATCH_BUFFER_END, printing the warning below and then overflowing. [ 381.072016] ------------[ cut here ]------------ [ 381.072019] xe 0000:00:02.0: [drm] Assertion `bb->len * 4 + bb_prefetch(q->gt) <= size` failed! platform: LUNARLAKE subplatform: 1 graphics: Xe2_LPG / Xe2_HPG 20.04 step B0 media: Xe2_LPM / Xe2_HPM 20.00 step B0 tile: 0 VRAM 0 B GT: 0 type 1 So here checking if batch buffer already have MI_BATCH_BUFFER_END if not append it. v2: - simply fix, suggestion from Ashutosh (cherry picked from commit 9ba0e0f30ca42a98af3689460063edfb6315718a)

📍 영향받는 시스템

Linux kernel (drm/xe/oa 드라이버를 사용하는 시스템)

⚔️ 공격 벡터

로컬 공격자가 특정 그래픽 작업(OA metric 관련)을 반복 실행하여 커널 메모리 오버플로우 유도

🛡️ 대응 방법

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

🔧 검증 코드

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

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel