Files
Ilya Dryomov 131a6926fa ceph: avoid a use-after-free in ceph_destroy_options()
[ Upstream commit 8aaff15168 ]

syzbot reported a use-after-free in ceph_destroy_options(), called from
ceph_mount().  The problem was that create_fs_client() consumed the opt
pointer on some errors, but not on all of them.  Make sure it always
consumes both libceph and ceph options.

Reported-by: syzbot+8ab6f1042021b4eed062@syzkaller.appspotmail.com
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-10-10 08:55:57 +02:00
..
2017-06-14 19:37:23 +02:00
…
2018-06-04 20:45:56 +02:00
2018-06-04 20:45:55 +02:00