🔍 CVE-2026-68102

0.0
CVSS Score
UNKNOWN
2026-08-10
2026-08-17 05:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 amdgpu 드라이버에서 aperture 매핑 누수 취약점이 발견되었습니다. 드라이버 제거 시 특정 함수 호출 순서 문제로 인해 메모리 매핑 해제가 이루어지지 않아 x86 PAT 인터벌 트리에 고립된 항목이 남게 됩니다. 이로 인해 드라이버 재로드 시 메모리 매핑 충돌이 발생하여 하드웨어 발견에 실패할 수 있습니다.

💡 쉬운 설명

그래픽 카드 드라이버를 끄고 다시 켤 때, 이전에 사용하던 메모리 자원이 제대로 정리되지 않아 오류가 발생하는 문제입니다. 이로 인해 그래픽 카드가 정상적으로 인식되지 않을 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: fix aperture mapping leak amdgpu_pci_remove() calls drm_dev_unplug() before invoking the driver fini routines. This causes drm_dev_enter() in amdgpu_ttm_fini() to always return false, so iounmap(aper_base_kaddr) never runs on normal driver unload, leaving an orphaned entry in the x86 PAT interval tree. On connected_to_cpu hardware, the aperture is mapped write-back (WB) via ioremap_cache(). On reload, IP discovery calls memremap(..., MEMREMAP_WC) over the same range. The WC vs WB conflict causes: ioremap error for 0x..., requested 0x1, got 0x0 amdgpu: discovery failed: -2 Fix by switching to devres-managed mappings so cleanup is guaranteed regardless of drm_dev_enter() state: - connected_to_cpu path: devm_memremap(MEMREMAP_WB). For IORESOURCE_SYSTEM_RAM ranges this takes the try_ram_remap() shortcut, returning __va(offset) from the existing kernel direct map. No new ioremap VA or PAT entry is created, so there is nothing to orphan. - dGPU path: devm_ioremap_wc() registers iounmap() as a devres action, guaranteeing cleanup at device_del() time. Also remove iounmap(aper_base_kaddr) from amdgpu_device_unmap_mmio() since the mapping is now devres-owned. v2: Remove redundant x86_64 guard (Lijo) (cherry picked from commit d871e99879cb5fd1fa798b006b4888887e63a17a)

📍 영향받는 시스템

Linux kernel (amdgpu driver 사용 시스템)

⚔️ 공격 벡터

로컬 시스템에서 드라이버를 반복적으로 로드/언로드하여 메모리 자원 고갈 또는 하드웨어 인식 오류 유도

🛡️ 대응 방법

Linux 커널을 최신 버전으로 업데이트하여 devres 기반의 자동 메모리 관리 방식이 적용된 패치를 적용하십시오.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 수정된 커밋(d871e998)이 포함된 버전인지 확인하십시오.

Shell / Script
uname -r

💻 영향받는 소프트웨어

NVIDIA vGPU Guest Driver for Linux