Home
last modified time | relevance | path

Searched hist:a0626e75 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/ext4/
H A Dxattr.ca0626e75 Tue Sep 16 13:34:59 CDT 2014 Darrick J. Wong <darrick.wong@oracle.com> ext4: check EA value offset when loading

When loading extended attributes, check each entry's value offset to
make sure it doesn't collide with the entries.

Without this check it is easy to crash the kernel by mounting a
malicious FS containing a file with an EA wherein e_value_offs = 0 and
e_value_size > 0 and then deleting the EA, which corrupts the name
list.

(See the f_ea_value_crash test's FS image in e2fsprogs for an example.)

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org