summaryrefslogtreecommitdiff
path: root/fs/binfmt_flat.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-03-26 04:38:58 +0300
committerIlya Dryomov <idryomov@gmail.com>2019-03-27 21:00:37 +0300
commitdaf5cc27eed99afdea8d96e71b89ba41f5406ef6 (patch)
tree388c0f95be488d43a4576b871657e38dfc7740e2 /fs/binfmt_flat.c
parent187df76325af5d9e12ae9daec1510307797e54f0 (diff)
downloadlinux-daf5cc27eed99afdea8d96e71b89ba41f5406ef6.tar.xz
ceph: fix use-after-free on symlink traversal
free the symlink body after the same RCU delay we have for freeing the struct inode itself, so that traversal during RCU pathwalk wouldn't step into freed memory. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/binfmt_flat.c')
0 files changed, 0 insertions, 0 deletions