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-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 28 Jan 2014 20:20:11 +0800
From:	Zheng Liu <gnehzuil.liu@...il.com>
To:	Theodore Ts'o <tytso@....edu>
Cc:	Ian Nartowicz <claws@...towicz.co.uk>, linux-ext4@...r.kernel.org
Subject: Re: inline_data feature

On Sat, Jan 25, 2014 at 10:29:09PM -0500, Theodore Ts'o wrote:
> On Sat, Jan 25, 2014 at 08:22:56PM +0000, Ian Nartowicz wrote:
> > Ian Nartowicz <claws <at> nartowicz.co.uk> writes:
> > 
> > > 
> > > I have been trying to test the inline_data feature of EXT4.  I am using
> > > kernel 3.9.5 and have compiled e2fsprogs from the pu branch.  I am able to
> > > set the feature and apparently to use the filesystem, but I get a lot of
> > > warnings from the kernel and fsck reports several errors and then crashes.
> > > 
> > I wonder if I might have compiled against the wrong (clib?) headers?  Are
> > you aware of any version dependencies in the pu branch tools?
> 
> I doubt it; this looks like a straightforward memory bug of some kind
> (i.e., use after free, etc.)
> 
> Could you try running e2fsck under valgrind?  And could you also
> confirm the git commit ID of the e2fsprogs pu branch that you used to
> compile it?
> 
> A compressed raw e2image file would be useful as well, but one problem
> with inline data is that a raw e2image file will have some amount of
> file data (for the small files that are using inline data) in the
> e2image file.  We should probably look at teaching e2image to can zero
> out the contents of inline data files....

Ian,
Thanks for reporting the problem.  That would be great if you can run
e2fsck under valgrind as Ted suggested because it would help us to find
the root cause.

Further, Here is the latest patch set for making e2fsprogs support
inline_data feature [1], which isn't applied into e2fsprogs/pu branch.
This patch set is against e2fsprogs/next branch.  Could you please give
it a try?  Unfortunately the patch set contains a lot of patches.  I am
happy to provide a tar file to you.  Please let me know if you need any
help.

1. http://www.spinics.net/lists/linux-ext4/msg40852.html

Ted,
It seems that we should teach e2image to zero out the inline data files.
I will put this in my TODO list but I am afraid that it doesn't have a
higher priority. :(

Regards,
                                                - Zheng
--
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