REDHAT-BUG-563463: High severity Linux KVM vulnerability

Published Feb 10, 2010
·
Updated

Paolo Bonzini found a bug in KVM that can be used to bypass proper permission checking while loading segment selectors. Malicious guest userspace process running in SMP guest can trick the emulator into loading kernel segment selector if it has access to IO port or MMIO region. To do so it should run legitimate instruction that does IO and will cause vcpu to enter emulator in one thread and replace this instruction to kernel selector loading one from another thread. If instruction is replaced after KVM entered emulator, but before instruction is fetched emulator will be tricked to execute privileged instruction without permission checking.

Affected Software

1 affected component
Linux KVM

Event History

Feb 10, 2010
Data Sourced
via Red Hat·10:26 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which systems are realistically exposed to exploitation?

The issue applies to SMP KVM guests where a malicious userspace process can access an I/O port or MMIO region. The attack requires coordination between threads in the same guest.

2

What does an attacker need to do to trigger the flaw?

The attacker must cause a vCPU to enter the emulator through a legitimate I/O instruction, then replace that instruction from another thread with one that loads a kernel segment selector before the emulator fetches it. This race can cause the emulator to execute the privileged instruction without the intended permission check.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203