summaryrefslogtreecommitdiffstats
path: root/fs/ceph/mdsmap.c
diff options
context:
space:
mode:
authorXiubo Li <xiubli@redhat.com>2020-07-23 09:32:25 +0200
committerIlya Dryomov <idryomov@gmail.com>2020-08-03 11:05:27 +0200
commita7caa88f8b72c136f9a401f498471b8a8e35370d (patch)
tree08efb231b4755dcc01756adf5e8f2817d6ec1e08 /fs/ceph/mdsmap.c
parentceph: remove unused variables in ceph_mdsmap_decode() (diff)
downloadlinux-a7caa88f8b72c136f9a401f498471b8a8e35370d.tar.xz
linux-a7caa88f8b72c136f9a401f498471b8a8e35370d.zip
ceph: fix use-after-free for fsc->mdsc
If the ceph_mdsc_init() fails, it will free the mdsc already. Reported-by: syzbot+b57f46d8d6ea51960b8c@syzkaller.appspotmail.com Signed-off-by: Xiubo Li <xiubli@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/mdsmap.c')
0 files changed, 0 insertions, 0 deletions