All reports
Medium

kernel: KVM: x86/xen: Initialize Xen timer only once

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-50227

Probability of exploitation in the next 30 days: 0.21%

FIRST EPSS · 2026-11-17

Description

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

A flaw was found in the Linux kernel's KVM (Kernel-based Virtual Machine) subsystem. A local user with permissions to manage virtual machine interfaces can trigger a Denial of Service (DoS) by causing the host operating system to crash. When managing virtual machines using Xen emulation, repeatedly configuring timer attributes on an active virtual processor causes the kernel to reinitialize an existing timer without proper validation.