[kernel] r12045 - in dists/etch-security/linux-2.6/debian: . patches/bugfix patches/series

Dann Frazier dannf at alioth.debian.org
Tue Aug 12 08:48:54 UTC 2008


Author: dannf
Date: Tue Aug 12 08:48:53 2008
New Revision: 12045

Log:
bugfix/x86-wrong-register-was-used-in-align-macro.patch
Fix regression introduced upstream by the fix for CVE-2008-0598

Added:
   dists/etch-security/linux-2.6/debian/patches/bugfix/x86-wrong-register-was-used-in-align-macro.patch
   dists/etch-security/linux-2.6/debian/patches/series/22etch2
Modified:
   dists/etch-security/linux-2.6/debian/changelog

Modified: dists/etch-security/linux-2.6/debian/changelog
==============================================================================
--- dists/etch-security/linux-2.6/debian/changelog	(original)
+++ dists/etch-security/linux-2.6/debian/changelog	Tue Aug 12 08:48:53 2008
@@ -1,3 +1,10 @@
+linux-2.6 (2.6.18.dfsg.1-22etch2) UNRELEASED; urgency=low
+
+  * bugfix/x86-wrong-register-was-used-in-align-macro.patch
+    Fix regression introduced upstream by the fix for CVE-2008-0598
+
+ -- dann frazier <dannf at debian.org>  Tue, 12 Aug 2008 00:22:20 -0600
+
 linux-2.6 (2.6.18.dfsg.1-22etch1) stable-security; urgency=high
 
   * bugfix/sctp-make-sure-n-sizeof-does-not-overflow.patch

Added: dists/etch-security/linux-2.6/debian/patches/bugfix/x86-wrong-register-was-used-in-align-macro.patch
==============================================================================
--- (empty file)
+++ dists/etch-security/linux-2.6/debian/patches/bugfix/x86-wrong-register-was-used-in-align-macro.patch	Tue Aug 12 08:48:53 2008
@@ -0,0 +1,29 @@
+commit afd962a9e8708c571c5c0c4a6d098f931742c229
+Author: Vitaly Mayatskikh <v.mayatskih at gmail.com>
+Date:   Wed Jul 30 13:30:14 2008 +0200
+
+    x86: wrong register was used in align macro
+    
+    New ALIGN_DESTINATION macro has sad typo: r8d register was used instead
+    of ecx in fixup section. This can be considered as a regression.
+    
+    Register ecx was also wrongly loaded with value in r8d in
+    copy_user_nocache routine.
+    
+    Signed-off-by: Vitaly Mayatskikh <v.mayatskih at gmail.com>
+    Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
+
+Backported to Debian's 2.6.18 by dann frazier <dannf at debian.org>
+
+diff -urpN linux-source-2.6.18.orig/arch/x86_64/lib/copy_user.S linux-source-2.6.18/arch/x86_64/lib/copy_user.S
+--- linux-source-2.6.18.orig/arch/x86_64/lib/copy_user.S	2008-07-27 16:46:41.000000000 -0600
++++ linux-source-2.6.18/arch/x86_64/lib/copy_user.S	2008-08-12 00:13:09.000000000 -0600
+@@ -52,7 +52,7 @@
+ 	jnz 100b
+ 102:
+ 	.section .fixup,"ax"
+-103:	addl %r8d,%edx			/* ecx is zerorest also */
++103:	addl %ecx,%edx			/* ecx is zerorest also */
+ 	jmp copy_user_handle_tail
+ 	.previous
+ 

Added: dists/etch-security/linux-2.6/debian/patches/series/22etch2
==============================================================================
--- (empty file)
+++ dists/etch-security/linux-2.6/debian/patches/series/22etch2	Tue Aug 12 08:48:53 2008
@@ -0,0 +1 @@
++ bugfix/x86-wrong-register-was-used-in-align-macro.patch



More information about the Kernel-svn-changes mailing list