diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-12-27 04:54:07 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-12-27 04:56:23 +0100 |
commit | 64beba0558fce7b59e9a8a7afd77290e82a22163 (patch) | |
tree | 11e6ed69e8bebe662f163f6480cc1aba8c43f5f7 /fs/ceph/super.h | |
parent | f2fs: fix use-after-free issue when accessing sbi->stat_info (diff) | |
download | linux-64beba0558fce7b59e9a8a7afd77290e82a22163.tar.xz linux-64beba0558fce7b59e9a8a7afd77290e82a22163.zip |
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>
Diffstat (limited to 'fs/ceph/super.h')
0 files changed, 0 insertions, 0 deletions