Re: [RFC/PATCH 07/15 v3] kvm-s390: interrupt subsystem, cpu timer, waitpsw

Arnd Bergmann
2008-03-31T05:43:57Z

On Tuesday 25 March 2008, Carsten Otte wrote:

> + case KVM_S390_SIGP_SET_PREFIX:
> + VCPU_EVENT(vcpu, 4, "interrupt: set prefix to %x",
> + inti->prefix.address);
> + vcpu->stat.deliver_prefix_signal++;
> + vcpu->arch.sie_block->prefix = inti->prefix.address;
> + vcpu->arch.sie_block->ihcpu = 0xffff;
> + break;

This smells like a security bug. What happens if the guest sets the prefix
to an address outside of its address range?

Arnd <><

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.