diff options
author | Xiubo Li <xiubli@redhat.com> | 2020-07-23 09:32:25 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2020-08-03 11:05:27 +0200 |
commit | a7caa88f8b72c136f9a401f498471b8a8e35370d (patch) | |
tree | 08efb231b4755dcc01756adf5e8f2817d6ec1e08 /fs/ceph/xattr.c | |
parent | ceph: remove unused variables in ceph_mdsmap_decode() (diff) | |
download | linux-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/xattr.c')
0 files changed, 0 insertions, 0 deletions