[kernel] r13341 - in dists/etch-security/linux-2.6.24/debian: . patches/bugfix/all patches/series

Dann Frazier dannf at alioth.debian.org
Mon Apr 6 04:15:33 UTC 2009


Author: dannf
Date: Mon Apr  6 04:15:32 2009
New Revision: 13341

Log:
ext4: initialize the new group descriptor when resizing
(CVE-2009-0745)

Added:
   dists/etch-security/linux-2.6.24/debian/patches/bugfix/all/ext4-initialize-the-new-group-descriptor-when-resizing-the-filesystem.patch
      - copied, changed from r13322, dists/lenny-security/linux-2.6/debian/patches/bugfix/all/ext4-initialize-the-new-group-descriptor-when-resizing-the-filesystem.patch
Modified:
   dists/etch-security/linux-2.6.24/debian/changelog
   dists/etch-security/linux-2.6.24/debian/patches/series/6~etchnhalf.8etch1

Modified: dists/etch-security/linux-2.6.24/debian/changelog
==============================================================================
--- dists/etch-security/linux-2.6.24/debian/changelog	Mon Apr  6 04:03:35 2009	(r13340)
+++ dists/etch-security/linux-2.6.24/debian/changelog	Mon Apr  6 04:15:32 2009	(r13341)
@@ -18,6 +18,8 @@
   * copy_process: fix CLONE_PARENT && parent_exec_id interaction
     (CVE-2009-0028)
   * skfp: Fix inverted capabilities check logic (CVE-2009-0675)
+  * ext4: initialize the new group descriptor when resizing
+    (CVE-2009-0745)
 
  -- dann frazier <dannf at debian.org>  Tue, 24 Feb 2009 23:25:36 -0700
 

Copied and modified: dists/etch-security/linux-2.6.24/debian/patches/bugfix/all/ext4-initialize-the-new-group-descriptor-when-resizing-the-filesystem.patch (from r13322, dists/lenny-security/linux-2.6/debian/patches/bugfix/all/ext4-initialize-the-new-group-descriptor-when-resizing-the-filesystem.patch)
==============================================================================
--- dists/lenny-security/linux-2.6/debian/patches/bugfix/all/ext4-initialize-the-new-group-descriptor-when-resizing-the-filesystem.patch	Sat Apr  4 00:49:23 2009	(r13322, copy source)
+++ dists/etch-security/linux-2.6.24/debian/patches/bugfix/all/ext4-initialize-the-new-group-descriptor-when-resizing-the-filesystem.patch	Mon Apr  6 04:15:32 2009	(r13341)
@@ -24,11 +24,14 @@
  fs/ext4/resize.c |    2 ++
  1 file changed, 2 insertions(+)
 
---- a/fs/ext4/resize.c
-+++ b/fs/ext4/resize.c
-@@ -860,11 +860,13 @@ int ext4_group_add(struct super_block *s
- 	gdp = (struct ext4_group_desc *)((char *)primary->b_data +
- 					 gdb_off * EXT4_DESC_SIZE(sb));
+Adjusted to apply to Debian's 2.6.24 by dann frazier <dannf at debian.org>
+
+diff -urpN a/fs/ext4/resize.c b/fs/ext4/resize.c
+--- a/fs/ext4/resize.c	2008-01-24 15:58:37.000000000 -0700
++++ b/fs/ext4/resize.c	2009-04-05 22:09:24.000000000 -0600
+@@ -859,11 +859,13 @@ int ext4_group_add(struct super_block *s
+ 	/* Update group descriptor block for new group */
+ 	gdp = (struct ext4_group_desc *)primary->b_data + gdb_off;
  
 +	memset(gdp, 0, EXT4_DESC_SIZE(sb));
  	ext4_block_bitmap_set(sb, gdp, input->block_bitmap); /* LV FIXME */

Modified: dists/etch-security/linux-2.6.24/debian/patches/series/6~etchnhalf.8etch1
==============================================================================
--- dists/etch-security/linux-2.6.24/debian/patches/series/6~etchnhalf.8etch1	Mon Apr  6 04:03:35 2009	(r13340)
+++ dists/etch-security/linux-2.6.24/debian/patches/series/6~etchnhalf.8etch1	Mon Apr  6 04:15:32 2009	(r13341)
@@ -73,3 +73,4 @@
 + bugfix/all/CVE-2009-0029/compat-zero-upper-32bits-of-offset_high-and-offset_low.patch
 + bugfix/all/copy_process-fix-CLONE_PARENT-and-parent_exec_id-interaction.patch
 + bugfix/all/skfp-fix-inverted-cap-logic.patch
++ bugfix/all/ext4-initialize-the-new-group-descriptor-when-resizing-the-filesystem.patch



More information about the Kernel-svn-changes mailing list