🔍 CVE-2021-47060

7.8
CVSS Score
HIGH
2024-02-29
2026-08-04 10:16
✅ 완료

🇰🇷 한글 설명

리눅스 커널의 KVM 구성 요소에서 버스(bus)가 파괴될 때 병합된 MMIO 존을 계속 탐색하려 시도하여 발생하는 취약점입니다. 메모리 할당 실패로 인해 버스가 제거되었음에도 불구하고 삭제된 리스트 항목을 참조하게 되어 시스템 오류를 유발할 수 있습니다.

💡 쉬운 설명

컴퓨터의 가상화 기능을 관리하는 프로그램에서, 이미 삭제된 데이터 영역을 다시 읽으려고 시도하다가 시스템이 멈추거나 오류가 발생하는 문제입니다. 이는 잘못된 메모리 참조로 인해 발생합니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: KVM: Stop looking for coalesced MMIO zones if the bus is destroyed Abort the walk of coalesced MMIO zones if kvm_io_bus_unregister_dev() fails to allocate memory for the new instance of the bus. If it can't instantiate a new bus, unregister_dev() destroys all devices _except_ the target device. But, it doesn't tell the caller that it obliterated the bus and invoked the destructor for all devices that were on the bus. In the coalesced MMIO case, this can result in a deleted list entry dereference due to attempting to continue iterating on coalesced_zones after future entries (in the walk) have been deleted. Opportunistically add curly braces to the for-loop, which encompasses many lines but sneaks by without braces due to the guts being a single if statement.

📍 영향받는 시스템

KVM(Kernel-based Virtual Machine)을 사용하는 리눅스 커널 버전

⚔️ 공격 벡터

특정 조건에서 버스 등록/해제 과정을 유도하여 메모리 오류를 일으키는 로컬 공격

🛡️ 대응 방법

KVM 관련 패치가 적용된 최신 리눅스 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 보안 패치 버전 이후인지 확인합니다.

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 curl