e2fsprogs/tests/f_ea_value_crash
Darrick J. Wong 551ab6d8e0 libext2fs: check ea value offset when loading
When reading extended attributes, check e_value_offs to make sure that
it starts in the value area and not the name area.  The attached test
case image will crash the kernel if it is mounted and you append more
than 4096 bytes of data to /a, due to insufficient validation.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2014-09-11 18:10:23 -04:00
..
expect.1 libext2fs: check ea value offset when loading 2014-09-11 18:10:23 -04:00
expect.2 libext2fs: check ea value offset when loading 2014-09-11 18:10:23 -04:00
image.gz libext2fs: check ea value offset when loading 2014-09-11 18:10:23 -04:00
name libext2fs: check ea value offset when loading 2014-09-11 18:10:23 -04:00