🔍 CVE-2024-49876

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

🇰🇷 한글 설명

Linux 커널의 drm/xe 드라이버에서 큐 파괴 시 발생하는 Use-After-Free(UAF) 취약점이 해결되었습니다. 드라이버 인스턴스가 종료된 후에도 작업 큐가 남아 있어 메모리 오류를 유발할 수 있었으나, 작업 완료를 보장하는 단계가 추가되어 수정되었습니다.

💡 쉬운 설명

컴퓨터의 그래픽 관련 기능을 처리하는 프로그램이 종료될 때, 아직 끝나지 않은 작업이 남아 있어 메모리 오류를 일으키는 문제입니다. 이로 인해 시스템이 멈추거나 보안 문제가 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: drm/xe: fix UAF around queue destruction We currently do stuff like queuing the final destruction step on a random system wq, which will outlive the driver instance. With bad timing we can teardown the driver with one or more work workqueue still being alive leading to various UAF splats. Add a fini step to ensure user queues are properly torn down. At this point GuC should already be nuked so queue itself should no longer be referenced from hw pov. v2 (Matt B) - Looks much safer to use a waitqueue and then just wait for the xa_array to become empty before triggering the drain. (cherry picked from commit 861108666cc0e999cffeab6aff17b662e68774e3)

📍 영향받는 시스템

Linux kernel (drm/xe driver component)

⚔️ 공격 벡터

특정 타이밍에 드라이버를 강제로 종료하거나 조작하여 메모리 오류를 유발하는 로컬 공격

🛡️ 대응 방법

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