diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-12-27 06:54:07 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-09 19:38:46 +0300 |
commit | 5036fcd9b14516f62efae6ed0c42dfbb9798b643 (patch) | |
tree | fda08e93e2949ffda04d4a0d5aa89fe7cc5d78c0 /drivers | |
parent | 58d7ab7163d9119a05c576506692a4d90ca22f65 (diff) | |
download | linux-5036fcd9b14516f62efae6ed0c42dfbb9798b643.tar.xz |
f2fs: sanity check of xattr entry size
commit 64beba0558fce7b59e9a8a7afd77290e82a22163 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions