[kernel] r12952 - in dists/lenny-security/linux-2.6/debian/patches: bugfix/all/CVE-2009-0029 series

Dann Frazier dannf at alioth.debian.org
Wed Feb 25 18:02:26 UTC 2009


Author: dannf
Date: Wed Feb 25 18:02:24 2009
New Revision: 12952

Log:
additional mips patches for CVE-2009-0029

Added:
   dists/lenny-security/linux-2.6/debian/patches/bugfix/all/CVE-2009-0029/mips-finish-fixing-CVE-2009-0029.patch
   dists/lenny-security/linux-2.6/debian/patches/bugfix/all/CVE-2009-0029/mips-wire-up-o32-syscall-to-the-right-function.patch
Modified:
   dists/lenny-security/linux-2.6/debian/patches/series/13lenny1

Added: dists/lenny-security/linux-2.6/debian/patches/bugfix/all/CVE-2009-0029/mips-finish-fixing-CVE-2009-0029.patch
==============================================================================
--- (empty file)
+++ dists/lenny-security/linux-2.6/debian/patches/bugfix/all/CVE-2009-0029/mips-finish-fixing-CVE-2009-0029.patch	Wed Feb 25 18:02:24 2009
@@ -0,0 +1,40 @@
+From: David Daney <ddaney at caviumnetworks.com>
+Date: Mon, 23 Feb 2009 17:33:14 +0000 (-0800)
+Subject: MIPS: Finish fixing CVE-2009-0029.
+X-Git-Url: http://www.linux-mips.org/git?p=linux.git;a=commitdiff_plain;h=3c48b84eb99cb7dd0255b32a6f1eba8279a32654
+
+MIPS: Finish fixing CVE-2009-0029.
+
+The initial patch for CVE-2009-0029 lacked a couple of changes in the
+syscall tables.  sys32_sysctl were renamed.
+
+Signed-off-by: David Daney <ddaney at caviumnetworks.com>
+Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
+---
+
+diff --git a/arch/mips/kernel/scall64-n32.S b/arch/mips/kernel/scall64-n32.S
+index e423ba2..7438e92 100644
+--- a/arch/mips/kernel/scall64-n32.S
++++ b/arch/mips/kernel/scall64-n32.S
+@@ -272,7 +272,7 @@ EXPORT(sysn32_call_table)
+ 	PTR	sys_munlockall
+ 	PTR	sys_vhangup			/* 6150 */
+ 	PTR	sys_pivot_root
+-	PTR	sys32_sysctl
++	PTR	sys_32_sysctl
+ 	PTR	sys_prctl
+ 	PTR	compat_sys_adjtimex
+ 	PTR	compat_sys_setrlimit		/* 6155 */
+diff --git a/arch/mips/kernel/scall64-o32.S b/arch/mips/kernel/scall64-o32.S
+index 98f89f7..b0fef4f 100644
+--- a/arch/mips/kernel/scall64-o32.S
++++ b/arch/mips/kernel/scall64-o32.S
+@@ -356,7 +356,7 @@ sys_call_table:
+ 	PTR	sys_ni_syscall			/* 4150 */
+ 	PTR	sys_getsid
+ 	PTR	sys_fdatasync
+-	PTR	sys32_sysctl
++	PTR	sys_32_sysctl
+ 	PTR	sys_mlock
+ 	PTR	sys_munlock			/* 4155 */
+ 	PTR	sys_mlockall

Added: dists/lenny-security/linux-2.6/debian/patches/bugfix/all/CVE-2009-0029/mips-wire-up-o32-syscall-to-the-right-function.patch
==============================================================================
--- (empty file)
+++ dists/lenny-security/linux-2.6/debian/patches/bugfix/all/CVE-2009-0029/mips-wire-up-o32-syscall-to-the-right-function.patch	Wed Feb 25 18:02:24 2009
@@ -0,0 +1,25 @@
+From: Ralf Baechle <ralf at linux-mips.org>
+Date: Mon, 23 Feb 2009 15:52:58 +0000 (+0000)
+Subject: MIPS: Wire up o32 syscall to the right function.
+X-Git-Tag: linux-2.6.29-rc6~1
+X-Git-Url: http://www.linux-mips.org/git?p=linux.git;a=commitdiff_plain;h=962d49e91781f7904b134d3bac700d516315764a
+
+MIPS: Wire up o32 syscall to the right function.
+
+Reported-by: David Daney <ddaney at caviumnetworks.com>
+Signed-off-by: Ralf Baechle <ralf at linux-mips.org>
+---
+
+diff --git a/arch/mips/kernel/scall64-o32.S b/arch/mips/kernel/scall64-o32.S
+index 6ee7997..98f89f7 100644
+--- a/arch/mips/kernel/scall64-o32.S
++++ b/arch/mips/kernel/scall64-o32.S
+@@ -320,7 +320,7 @@ sys_call_table:
+ 	PTR	compat_sys_wait4
+ 	PTR	sys_swapoff			/* 4115 */
+ 	PTR	compat_sys_sysinfo
+-	PTR	sys32_ipc
++	PTR	sys_32_ipc
+ 	PTR	sys_fsync
+ 	PTR	sys32_sigreturn
+ 	PTR	sys32_clone			/* 4120 */

Modified: dists/lenny-security/linux-2.6/debian/patches/series/13lenny1
==============================================================================
--- dists/lenny-security/linux-2.6/debian/patches/series/13lenny1	(original)
+++ dists/lenny-security/linux-2.6/debian/patches/series/13lenny1	Wed Feb 25 18:02:24 2009
@@ -50,3 +50,5 @@
 + bugfix/x86/dell_rbu-use-scnprintf-instead-of-sprintf.patch
 + bugfix/all/net-SO_BSDCOMPAT-leak.patch
 + bugfix/all/net-SO_BSDCOMPAT-leak-2.patch
++ bugfix/all/CVE-2009-0029/mips-wire-up-o32-syscall-to-the-right-function.patch
++ bugfix/all/CVE-2009-0029/mips-finish-fixing-CVE-2009-0029.patch



More information about the Kernel-svn-changes mailing list