[Ocfs2-devel] [PATCH 0/7] xfstests: misc reflink test fixes

Darrick J. Wong darrick.wong at oracle.com
Sun Dec 11 13:52:45 PST 2016


Hi all,

The following patchset enable the use of xfstests to test reflink
functionality under ocfs2.  The first patch tests the ability to reflink
into and out of inline-data files on ocfs2.  Patches 2-6 fix various
problems with the tests that came up when qualifying ocfs2.

The last patch maliciously corrupts ext4 and xfs filesystems to
exploit nonexistent checking of i_size in order to coerce Linux into
loading a file with negative size.  It then exploits integer overflows
in the VFS writeback code to hard lock the kernel.  Don't run the tests
in this patch ({ext4,xfs}/40[01]) unless you have a fixed kernel (4.10?)

Comments and questions are, as always, welcome.

--D



More information about the Ocfs2-devel mailing list