You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KVM: x86: Bug the VM if an accelerated x2APIC trap occurs on a "bad" reg
Bug the VM if retrieving the x2APIC MSR/register while processing an
accelerated vAPIC trap VM-Exit fails. In theory it's impossible for the
lookup to fail as hardware has already validated the register, but bugs
happen, and not checking the result of kvm_lapic_msr_read() would result
in consuming the uninitialized "val" if a KVM or hardware bug occurs.
Fixes: 1bd9dfe ("KVM: x86: Do not block APIC write for non ICR registers")
Reported-by: Dan Carpenter <[email protected]>
Cc: Suravee Suthikulpanit <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
(cherry picked from commit 70c8327)
Orabug: 34817119
Signed-off-by: Alejandro Jimenez <[email protected]>
Reviewed-by: Boris Ostrovsky <[email protected]>
(cherry picked from commit c5ed4c333d7f6fab0451f6524033aa4153ed125c)
Signed-off-by: Jack Vogel <[email protected]>
0 commit comments