summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorKeshav Verma <iganschel@gmail.com>2026-06-22 20:44:21 +0530
committerJaegeuk Kim <jaegeuk@kernel.org>2026-06-22 19:55:27 +0000
commit5ef5bc304f23c3fe255d4936472378dcb74d0e94 (patch)
treeb3df8a93ba973ec0b8ebb188c55ed4aee23b2d14 /include/linux/stackprotector.h
parent34636c6dcd6f75570c553a4188b5dbe0f758159a (diff)
f2fs: fix listxattr handling of corrupted xattr entries
Validate the xattr entry before reading its fields in f2fs_listxattr(). Return -EFSCORRUPTED when the entry is outside the valid xattr storage area instead of returning a successful partial result. Fixes: 688078e7f36c ("f2fs: fix to avoid memory leakage in f2fs_listxattr") Cc: stable@kernel.org Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Keshav Verma <iganschel@gmail.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions