r2733 - in trunk/kernel/source/kernel-source-2.6.11-2.6.11/debian: . patches patches/series
Simon Horman
horms@costa.debian.org
Fri, 18 Mar 2005 08:25:19 +0100
Author: horms
Date: 2005-03-18 08:25:18 +0100 (Fri, 18 Mar 2005)
New Revision: 2733
Added:
trunk/kernel/source/kernel-source-2.6.11-2.6.11/debian/patches/amd64-outs.dpatch
Modified:
trunk/kernel/source/kernel-source-2.6.11-2.6.11/debian/changelog
trunk/kernel/source/kernel-source-2.6.11-2.6.11/debian/patches/series/2.6.11-1
Log:
amd64-outs.dpatch: [CAN-2005-0204]: AMD64, allows local users to write to
Modified: trunk/kernel/source/kernel-source-2.6.11-2.6.11/debian/changelog
===================================================================
--- trunk/kernel/source/kernel-source-2.6.11-2.6.11/debian/changelog 2005-03-16 23:36:13 UTC (rev 2732)
+++ trunk/kernel/source/kernel-source-2.6.11-2.6.11/debian/changelog 2005-03-18 07:25:18 UTC (rev 2733)
@@ -56,8 +56,11 @@
* 2.6.11.4 [SECURITY] Fix remote Dos on ppp servers. (Maximilian Attems)
- -- Sven Luther <luther@debian.org> Sun, 13 Mar 2005 16:08:44 +0100
+ * amd64-outs.dpatch: [CAN-2005-0204]: AMD64, allows local users to write to
+ privileged IO ports via OUTS instruction. (Simon Horman)
+ -- Simon Horman <horms@debian.org> Fri, 18 Mar 2005 15:29:29 +0900
+
kernel-source-2.6.10 (2.6.10-6) unstable; urgency=low
* Updated kernel-tree description from Martin F Krafft
Added: trunk/kernel/source/kernel-source-2.6.11-2.6.11/debian/patches/amd64-outs.dpatch
===================================================================
--- trunk/kernel/source/kernel-source-2.6.11-2.6.11/debian/patches/amd64-outs.dpatch 2005-03-16 23:36:13 UTC (rev 2732)
+++ trunk/kernel/source/kernel-source-2.6.11-2.6.11/debian/patches/amd64-outs.dpatch 2005-03-18 07:25:18 UTC (rev 2733)
@@ -0,0 +1,24 @@
+#! /bin/sh -e
+## <PATCHNAME>.dpatch by <PATCH_AUTHOR@EMAI>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Description: [CAN-2005-0204]: AMD64, allows local users to write to privileged IO ports via OUTS instruction
+## DP: Patch author: Suresh Siddha (suresh.b.siddha@intel.com)
+## DP: Upstream status: unknown
+## DP: URL: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=146244
+## DP: Patch source: Micah Anderson <micah@riseup.net> (debian-kernel)
+
+. $(dirname $0)/DPATCH
+
+@DPATCH@
+--- linux-2.6.9/include/asm-x86_64/desc.h 2005-01-30 20:08:12.799247944 -0800
++++ linux-2.6.9/include/asm-x86_64/desc.h 2005-01-30 20:08:12.799247944 -0800
+@@ -128,7 +128,7 @@
+ {
+ set_tssldt_descriptor(&cpu_gdt_table[cpu][GDT_ENTRY_TSS], (unsigned long)addr,
+ DESC_TSS,
+- sizeof(struct tss_struct) - 1);
++ IO_BITMAP_OFFSET + IO_BITMAP_BYTES + 7);
+ }
+
+ static inline void set_ldt_desc(unsigned cpu, void *addr, int size)
Modified: trunk/kernel/source/kernel-source-2.6.11-2.6.11/debian/patches/series/2.6.11-1
===================================================================
--- trunk/kernel/source/kernel-source-2.6.11-2.6.11/debian/patches/series/2.6.11-1 2005-03-16 23:36:13 UTC (rev 2732)
+++ trunk/kernel/source/kernel-source-2.6.11-2.6.11/debian/patches/series/2.6.11-1 2005-03-18 07:25:18 UTC (rev 2733)
@@ -68,3 +68,4 @@
+ ia64-generic-nosmp.dpatch
+ fs-exec-fix-get_task_comm.dpatch
+ drivers-net-ppp_async.dpatch
++ amd64-outs.dpatch