🇰🇷 한글 설명
Linux 커널의 KVM(Xen x86) 구성 요소에서 Xen 타이머가 중복으로 초기화되는 취약점입니다. 타이머가 이미 설정되어 있음에도 불구하고 다시 초기화하려고 시도할 때 ODEBUG 크래시가 발생하여 시스템 안정성을 해칠 수 있습니다.
💡 쉬운 설명
컴퓨터의 시간 관리 도구를 이미 만들었는데, 실수로 똑같은 도구를 또 만들려고 하다가 시스템이 충돌하며 멈추는 문제입니다. 이로 인해 서버가 갑자기 꺼지거나 오류가 발생할 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
KVM: x86/xen: Initialize Xen timer only once
Add a check for existing xen timers before initializing a new one.
Currently kvm_xen_init_timer() is called on every
KVM_XEN_VCPU_ATTR_TYPE_TIMER, which is causing the following ODEBUG
crash when vcpu->arch.xen.timer is already set.
ODEBUG: init active (active state 0)
object type: hrtimer hint: xen_timer_callbac0
RIP: 0010:debug_print_object+0x16e/0x250 lib/debugobjects.c:502
Call Trace:
__debug_object_init
debug_hrtimer_init
debug_init
hrtimer_init
kvm_xen_init_timer
kvm_xen_vcpu_set_attr
kvm_arch_vcpu_ioctl
kvm_vcpu_ioctl
vfs_ioctl
📍 영향받는 시스템
Xen 하이퍼바이저를 사용하는 Linux 커널 (KVM x86/xen 구성 요소 포함)
⚔️ 공격 벡터
로컬 공격자가 특수하게 조작된 KVM_XEN_VCPU_ATTR_TYPE_TIMER 속성을 설정하여 시스템 크래시 유도
🛡️ 대응 방법
Xen 타이머 초기화 전 기존 타이머 존재 여부를 확인하도록 수정된 최신 Linux 커널로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 패치된 최신 보안 업데이트 버전인지 확인