lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070220151950.GV13958@stusta.de>
Date:	Tue, 20 Feb 2007 16:19:50 +0100
From:	Adrian Bunk <bunk@...sta.de>
To:	Chuck Ebbert <cebbert@...hat.com>
Cc:	Kirill Korotaev <dev@...nvz.org>, sct@...hat.com,
	akpm@...ux-foundation.org, adilger@...sterfs.com,
	linux-ext4@...r.kernel.org
Subject: [RFC: 2.6.16 patch] ext3: fix ext3 block bitmap leakage

On Mon, Feb 19, 2007 at 06:03:14PM -0500, Chuck Ebbert wrote:

> This was dropped from 2.6.16-stable somehow:
> 
> http://lkml.org/lkml/2006/6/30/54

Thanks for forwarding it.

This patch didn't went in this form into Linus' tree, I'd therefore like 
to get an ACK from the ext3 maintainers (Cc'ed) before applying it.

> Below is probably mangled by Thunderbird, you'll have
> to fetch it yourself if you want to merge it:

patch(1) has a nice -l option for applying such patches.  :-)

> From:	Kirill Korotaev <>
> 
> This patch fixes ext3 block bitmap leakage,
> which leads to the following fsck messages on
> _healthy_ filesystem:
> Block bitmap differences:  -64159 -73707
> 
> All kernels up to 2.6.17 have this bug.
> 
> Found by
>    Vasily Averin <vvs@...ru> and Andrey Savochkin <saw@...oct.com>
> Test case triggered the issue was created by
>    Dmitry Monakhov <dmonakhov@...ru>
> 
> Signed-Off-By: Vasiliy Averin <vvs@...ru>
> Signed-Off-By: Andrey Savochkin <saw@...oct.com>
> Signed-Off-By: Kirill Korotaev <dev@...nvz.org>
> CC: Dmitry Monakhov <dmonakhov@...ru>
> 
> --- ./fs/ext3/inode.c.e3crp	2006-06-28 05:22:40.000000000 +0400
> +++ ./fs/ext3/inode.c	2006-06-27 13:31:20.000000000 +0400
> @@ -585,6 +585,7 @@ static int ext3_alloc_branch(handle_t *h
> 
>   	branch[0].key = cpu_to_le32(parent);
>   	if (parent) {
> +		keys = 1;
>   		for (n = 1; n < num; n++) {
>   			struct buffer_head *bh;
>   			/* Allocate the next block */

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ