diff options
Diffstat (limited to 'sysutils/xenkernel33/patches/patch-ac')
-rw-r--r-- | sysutils/xenkernel33/patches/patch-ac | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/sysutils/xenkernel33/patches/patch-ac b/sysutils/xenkernel33/patches/patch-ac new file mode 100644 index 00000000000..8a4210e9f3d --- /dev/null +++ b/sysutils/xenkernel33/patches/patch-ac @@ -0,0 +1,18 @@ +$NetBSD: patch-ac,v 1.1 2011/03/24 12:04:57 drochner Exp $ + +CVE-2011-1166 + +--- xen/arch/x86/domain.c.orig 2009-08-06 12:56:41.000000000 +0000 ++++ xen/arch/x86/domain.c +@@ -680,6 +680,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 |