commit | ad0784f4ca2dfb8d067f3a2a2f72e0c5f5801524 | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk@kernel.org> | Wed Dec 26 19:54:07 2018 -0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Wed Jan 02 15:56:25 2019 -0800 |
tree | 6776d3593af1856c8692f33a2733b8cd679944e8 | |
parent | bc6771eb3ac7d8792b96e9aba34e709e2302ff26 [diff] |
f2fs: sanity check of xattr entry size There is a security report where f2fs_getxattr() has a hole to expose wrong memory region when the image is malformed like this. f2fs_getxattr: entry->e_name_len: 4, size: 12288, buffer_size: 16384, len: 4 Cc: <stable@vger.kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>