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: <1353535421-25631-1-git-send-email-lczerner@redhat.com>
Date:	Wed, 21 Nov 2012 23:03:39 +0100
From:	Lukas Czerner <lczerner@...hat.com>
To:	linux-ext4@...r.kernel.org
Cc:	gnehzuil.liu@...il.com, tytso@....edu, dmonakhov@...nvz.org,
	bergwolf@...il.com
Subject: [PATCH 0/2 v5] ext4: Fix some fiemap problems

This patchset fixes mainly two problems in fiemap in ext4. First of all we
could hit BUG_ON() if the extent tree is changed while we are traversing it.
This particular problem has been revealed by xfstest 225 on s390x
architecture.

The other problem is that we potentially might miss some delayed extents
with fiemap if they are written after we've searched the extent tree and
before we're going to search for delayed extent in extent status tree.

Both problems are fixed by the first patch of the patch set. The second
contains just some cleanups.

This has been based on top of the ext4 git tree containing extent status
tree. It has been tested with xfstests on s390x.

Please review carefully since fiemap bugs might cause problems with cp
possibly corrupting user data.

Thanks!
-Lukas

--- 
[PATCH 1/2 v5] ext4: Prevent race while walking extent tree
[PATCH 2/2 v5] ext4: simple cleanup in fiemap codepath

fs/ext4/ext4_extents.h |   14 ----
fs/ext4/extents.c      |  156 ++++++++++++++++++++++++++---------------------
2 files changed, 86 insertions(+), 84 deletions(-)

--
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