🔍 CVE-2025-40340

0.0
CVSS Score
UNKNOWN
2025-12-09
2026-10-14 22:10
✅ 완료

🇰🇷 한글 설명

Linux 커널의 DRM/Xe 드라이버에서 core_hotunplug 테스트 실행 시 xe_gem_fault 함수에서 커널 Oops(패닉)가 발생하는 취약점입니다. 프로세스가 메모리 매핑 중 특정 조건에서 메모리 할당에 실패할 경우, NULL 포인터 참조로 인해 시스템이 중단될 수 있습니다.

💡 쉬운 설명

그래픽 카드 관련 소프트웨어에서 특정 작업을 수행할 때 컴퓨터 시스템이 갑자기 멈추거나 오류가 발생하는 문제입니다. 메모리를 관리하는 과정에서 잘못된 주소를 참조하여 발생하는 현상입니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: drm/xe: Fix oops in xe_gem_fault when running core_hotunplug test. I saw an oops in xe_gem_fault when running the xe-fast-feedback testlist against the realtime kernel without debug options enabled. The panic happens after core_hotunplug unbind-rebind finishes. Presumably what happens is that a process mmaps, unlocks because of the FAULT_FLAG_RETRY_NOWAIT logic, has no process memory left, causing ttm_bo_vm_dummy_page() to return VM_FAULT_NOPAGE, since there was nothing left to populate, and then oopses in "mem_type_is_vram(tbo->resource->mem_type)" because tbo->resource is NULL. It's convoluted, but fits the data and explains the oops after the test exits.

📍 영향받는 시스템

Linux kernel (DRM/Xe driver component)

⚔️ 공격 벡터

로컬 시스템에서 특정 그래픽 드라이버 테스트 또는 메모리 매핑 작업을 유도하여 발생 (Local)

🛡️ 대응 방법

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

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 최신 패치 버전인지 확인하십시오.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel