🇰🇷 한글 설명
리눅스 커널의 KVM에서 장치 등록 실패 시 I/O 버스 장치를 해제하는 과정 중 발생하는 취약점입니다. SRCU 동기화 이전에 장치를 파괴할 경우, 버스가 null로 변경되기 전 참조를 유지하던 읽기 작업에서 Use-After-Free 오류가 발생할 수 있습니다.
💡 쉬운 설명
컴퓨터의 가상화 기능을 관리하는 핵심 프로그램에서 메모리 관리 순서가 잘못되어 발생하는 문제입니다. 이 오류를 이용하면 시스템이 갑자기 멈추거나 해커가 시스템 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
KVM: Destroy I/O bus devices on unregister failure _after_ sync'ing SRCU
If allocating a new instance of an I/O bus fails when unregistering a
device, wait to destroy the device until after all readers are guaranteed
to see the new null bus. Destroying devices before the bus is nullified
could lead to use-after-free since readers expect the devices on their
reference of the bus to remain valid.
📍 영향받는 시스템
KVM(Kernel-based Virtual Machine)을 사용하는 리눅스 커널 버전
⚔️ 공격 벡터
특정 조건에서 I/O 버스 장치 등록 실패를 유도하여 메모리 오류를 일으키는 방식
🛡️ 대응 방법
KVM 취약점이 패치된 최신 버전의 리눅스 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인