Files
linux/fs/ext4/xattr.h
Theodore Ts'o e7793f2a2a ext4: add extra checks to ext4_xattr_block_get()
commit 54dd0e0a1b upstream.

Add explicit checks in ext4_xattr_block_get() just in case the
e_value_offs and e_value_size fields in the the xattr block are
corrupted in memory after the buffer_verified bit is set on the xattr
block.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-24 09:36:31 +02:00

7.2 KiB