CVE-2022-50227: KVM: x86/xen: Initialize Xen timer only once
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
Security readout for executives and security teams
Plain-English summary
This Linux kernel KVM issue can crash a host path when the Xen vCPU timer is initialized more than once. The public record does not provide CVSS, impact beyond the crash trace, or evidence of active exploitation.
Executive priority
Treat this as a targeted virtualization-host stability issue until vendor severity data is available. Prioritize patch validation on KVM hosts, especially where outages would affect multiple workloads.
Technical view
KVM x86 Xen timer handling called kvm_xen_init_timer() on every KVM_XEN_VCPU_ATTR_TYPE_TIMER update. If vcpu->arch.xen.timer was already set, hrtimer initialization hit an ODEBUG active-object crash. The fix adds a check for an existing Xen timer before initializing another one.
Likely exposure
Exposure appears limited to Linux systems running affected kernel versions with KVM x86 Xen timer functionality in use. The source bundle lists Linux 5.19 through 5.19.2 and 6.0-related affected version data, but downstream vendor backports are not shown.
Exploitation context
The bundle does not cite KEV listing, public exploitation, or exploit availability. The evidence supports a kernel crash condition in a KVM ioctl path, not remote unauthenticated exploitation.
Researcher notes
Key evidence is the Linux kernel fix description and stable commits. Missing data includes CVSS, CWE, detailed affected range semantics, privilege requirements, and whether a guest-controlled path is practically reachable in common deployments.
Mitigation direction
Update to a kernel build containing the referenced stable fixes.
Check Linux distribution advisories for backported fixes and package-specific status.
Restrict KVM device access to trusted virtualization processes only.
Prioritize review on virtualization hosts using KVM Xen compatibility features.
Validation and detection
Inventory kernel versions on KVM virtualization hosts.
Confirm whether the referenced stable commits or downstream backports are applied.
Review whether KVM x86 Xen timer features are enabled or used.
Check kernel logs for matching ODEBUG active hrtimer crash traces.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2022-50227 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
0CVSS vectors
3Timeline events
0ADP providers
3Source links
Vulnerability timeline
Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.
CVE reservedCVE Program
The CVE ID was reserved by the assigning CNA.
CVE publishedCVE Program
The CVE record was published.
Jun 18, 2025, 11:03 UTC (UTC+00:00)
CVE updatedCVE Program
The CVE record metadata indicates this as the latest update time.