summaryrefslogtreecommitdiff
path: root/fs/fhandle.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2019-04-26 13:33:39 -0400
committerIlya Dryomov <idryomov@gmail.com>2019-05-07 19:22:37 +0200
commit69a10fb3f4b8769ffd44e4eaa662ab691fa61f4c (patch)
tree5a3503f0c6662a5767fecb4da4a41c45301493b8 /fs/fhandle.c
parentff4a80bf2d3f8005dc5890381bc8ca48e259c60d (diff)
downloadlinux-69a10fb3f4b8769ffd44e4eaa662ab691fa61f4c.tar.gz
linux-69a10fb3f4b8769ffd44e4eaa662ab691fa61f4c.tar.bz2
linux-69a10fb3f4b8769ffd44e4eaa662ab691fa61f4c.zip
ceph: fix potential use-after-free in ceph_mdsc_build_path
temp is not defined outside of the RCU critical section here. Ensure we grab that value before we drop the rcu_read_lock. Reported-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/fhandle.c')
0 files changed, 0 insertions, 0 deletions