🔍 CVE-2025-38064

7.8
CVSS Score
HIGH
2025-06-18
2026-10-30 13:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 virtio-console 장치가 장치 종료(device_shutdown) 시 적절히 해제되지 않아 발생하는 취약점입니다. 이로 인해 virtio-pci 장치가 리셋된 후에도 virtio-console가 MMIO에 계속 쓰기를 시도하여 IOMMU 오류 및 시스템 중단(hang)을 유발할 수 있습니다.

💡 쉬운 설명

가상 머신이 종료될 때 특정 장치가 완전히 꺼지지 않고 계속 메모리에 접근하려고 시도하여 시스템이 멈추는 문제입니다. 이 과정에서 메모리 접근 오류가 발생하여 가상화 환경의 안정성을 해칠 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: virtio: break and reset virtio devices on device_shutdown() Hongyu reported a hang on kexec in a VM. QEMU reported invalid memory accesses during the hang. Invalid read at addr 0x102877002, size 2, region '(null)', reason: rejected Invalid write at addr 0x102877A44, size 2, region '(null)', reason: rejected ... It was traced down to virtio-console. Kexec works fine if virtio-console is not in use. The issue is that virtio-console continues to write to the MMIO even after underlying virtio-pci device is reset. Additionally, Eric noticed that IOMMUs are reset before devices, if devices are not reset on shutdown they continue to poke at guest memory and get errors from the IOMMU. Some devices get wedged then. The problem can be solved by breaking all virtio devices on virtio bus shutdown, then resetting them.

📍 영향받는 시스템

virtio-console를 사용하는 Linux 커널 기반 가상화 환경

⚔️ 공격 벡터

직접적인 원격 공격보다는 가상 머신 종료 또는 kexec 프로세스 중 시스템 안정성을 저해하는 방식

🛡️ 대응 방법

virtio 버스 종료 시 모든 virtio 장치를 해제하고 리셋하도록 커널 패치를 적용하십시오.

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 해결된 최신 보안 패치 버전인지 확인하십시오.

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