🔍 CVE-2025-71130

7.8
CVSS Score
HIGH
2026-01-14
2026-10-19 19:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 i915 DRM 드라이버에서 eb_vma 배열이 제대로 초기화되지 않아 발생하는 NULL 포인터 역참조 취약점입니다. eb_lookup_vmas() 함수 실행 중 오류가 발생할 경우, 초기화되지 않은 슬랩 포이즌(slab poison) 값이 포함된 포인터를 참조하여 시스템 오류를 유발할 수 있습니다.

💡 쉬운 설명

컴퓨터의 그래픽 처리 과정에서 메모리를 정리할 때, 비어있어야 할 공간에 잘못된 값이 들어있어 시스템이 혼란을 겪는 문제입니다. 이로 인해 컴퓨터가 갑자기 멈추거나 오류가 발생할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: drm/i915/gem: Zero-initialize the eb.vma array in i915_gem_do_execbuffer Initialize the eb.vma array with values of 0 when the eb structure is first set up. In particular, this sets the eb->vma[i].vma pointers to NULL, simplifying cleanup and getting rid of the bug described below. During the execution of eb_lookup_vmas(), the eb->vma array is successively filled up with struct eb_vma objects. This process includes calling eb_add_vma(), which might fail; however, even in the event of failure, eb->vma[i].vma is set for the currently processed buffer. If eb_add_vma() fails, eb_lookup_vmas() returns with an error, which prompts a call to eb_release_vmas() to clean up the mess. Since eb_lookup_vmas() might fail during processing any (possibly not first) buffer, eb_release_vmas() checks whether a buffer's vma is NULL to know at what point did the lookup function fail. In eb_lookup_vmas(), eb->vma[i].vma is set to NULL if either the helper function eb_lookup_vma() or eb_validate_vma() fails. eb->vma[i+1].vma is set to NULL in case i915_gem_object_userptr_submit_init() fails; the current one needs to be cleaned up by eb_release_vmas() at this point, so the next one is set. If eb_add_vma() fails, neither the current nor the next vma is set to NULL, which is a source of a NULL deref bug described in the issue linked in the Closes tag. When entering eb_lookup_vmas(), the vma pointers are set to the slab poison value, instead of NULL. This doesn't matter for the actual lookup, since it gets overwritten anyway, however the eb_release_vmas() function only recognizes NULL as the stopping value, hence the pointers are being set to NULL as they go in case of intermediate failure. This patch changes the approach to filling them all with NULL at the start instead, rather than handling that manually during failure. (cherry picked from commit 08889b706d4f0b8d2352b7ca29c2d8df4d0787cd)

📍 영향받는 시스템

Linux kernel (i915 DRM driver 포함 버전)

⚔️ 공격 벡터

특수하게 조작된 메모리 요청을 통해 i915 드라이버의 실행 버퍼 처리 과정에서 오류를 유도하여 발생

🛡️ 대응 방법

i915_gem_do_execbuffer 함수에서 eb.vma 배열을 0(NULL)으로 초기화하는 최신 커널 패치 적용

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인합니다.

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