commit | a7caa88f8b72c136f9a401f498471b8a8e35370d | [log] [tgz] |
---|---|---|
author | Xiubo Li <xiubli@redhat.com> | Thu Jul 23 15:32:25 2020 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Aug 03 11:05:27 2020 +0200 |
tree | 08efb231b4755dcc01756adf5e8f2817d6ec1e08 | |
parent | 8e298deb8d8c449d87acceab8c8bfef71b67b08d [diff] |
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>