summaryrefslogtreecommitdiffstats
path: root/kernel/capability.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2018-06-13 00:23:11 -0400
committerTheodore Ts'o <tytso@mit.edu>2018-06-13 00:23:11 -0400
commit5369a762c882c0b6e9599e4ebbb3a9ba9eee7e2d (patch)
treefe0425a2ac97acce9b8d68b051edad388813dc59 /kernel/capability.c
parent327eaf738ff97d19491362e30497954105d60414 (diff)
downloadlinux-5369a762c882c0b6e9599e4ebbb3a9ba9eee7e2d.tar.bz2
ext4: add corruption check in ext4_xattr_set_entry()
In theory this should have been caught earlier when the xattr list was verified, but in case it got missed, it's simple enough to add check to make sure we don't overrun the xattr buffer. This addresses CVE-2018-10879. https://bugzilla.kernel.org/show_bug.cgi?id=200001 Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Andreas Dilger <adilger@dilger.ca> Cc: stable@kernel.org
Diffstat (limited to 'kernel/capability.c')
0 files changed, 0 insertions, 0 deletions