Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:charlesa:openSUSE11.2
xen
23034-x86-arch_set_info_guest-DoS.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 23034-x86-arch_set_info_guest-DoS.patch of Package xen
References: bnc#679344 # HG changeset patch # User Tim Deegan <Tim.Deegan@citrix.com> # Date 1300121989 0 # Node ID c79aae866ad8397e129b5801f8f97f604743a7c2 # Parent 84bacd800bf88e37434d49547ad8224be46e2a52 x86_64: fix error checking in arch_set_info_guest() Cannot specify user mode execution without specifying user-mode pagetables. Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com> Acked-by: Keir Fraser <keir@xen.org> --- a/xen/arch/x86/domain.c +++ b/xen/arch/x86/domain.c @@ -715,6 +715,11 @@ int arch_set_info_guest( v->arch.guest_table_user = pagetable_from_pfn(cr3_pfn); } + else if ( !(flags & VGCF_in_kernel) ) + { + destroy_gdt(v); + return -EINVAL; + } #endif } #ifdef CONFIG_COMPAT
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor