🔍 CVE-2023-52981

7.8
CVSS Score
HIGH
2025-03-27
2026-10-15 22:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 drm/i915 드라이버에서 GuC 지원 추가 시 요청 객체의 참조 횟수(reference counting) 관리가 잘못되어 발생하는 취약점입니다. 이로 인해 잘못된 메모리 참조나 Null 포인터 역참조, 메모리 누수 등의 문제가 발생할 수 있습니다.

💡 쉬운 설명

컴퓨터의 그래픽 카드를 관리하는 프로그램에서 데이터의 사용 횟수를 제대로 세지 못해 발생하는 오류입니다. 이 오류로 인해 시스템이 갑자기 멈추거나 예상치 못한 동작을 할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: drm/i915: Fix request ref counting during error capture & debugfs dump When GuC support was added to error capture, the reference counting around the request object was broken. Fix it up. The context based search manages the spinlocking around the search internally. So it needs to grab the reference count internally as well. The execlist only request based search relies on external locking, so it needs an external reference count but within the spinlock not outside it. The only other caller of the context based search is the code for dumping engine state to debugfs. That code wasn't previously getting an explicit reference at all as it does everything while holding the execlist specific spinlock. So, that needs updaing as well as that spinlock doesn't help when using GuC submission. Rather than trying to conditionally get/put depending on submission model, just change it to always do the get/put. v2: Explicitly document adding an extra blank line in some dense code (Andy Shevchenko). Fix multiple potential null pointer derefs in case of no request found (some spotted by Tvrtko, but there was more!). Also fix a leaked request in case of !started and another in __guc_reset_context now that intel_context_find_active_request is actually reference counting the returned request. v3: Add a _get suffix to intel_context_find_active_request now that it grabs a reference (Daniele). v4: Split the intel_guc_find_hung_context change to a separate patch and rename intel_context_find_active_request_get to intel_context_get_active_request (Tvrtko). v5: s/locking/reference counting/ in commit message (Tvrtko) (cherry picked from commit 3700e353781e27f1bc7222f51f2cc36cbeb9b4ec)

📍 영향받는 시스템

GuC(GuC submission)를 사용하는 Intel 그래픽 드라이버가 포함된 Linux 커널

⚔️ 공격 벡터

로컬 공격자가 특정 그래픽 요청을 조작하여 메모리 오류를 유발하거나 시스템 불안정성을 초래할 수 있음

🛡️ 대응 방법

해당 취약점이 수정된 최신 버전의 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