linux/fs/ceph
Ilya Dryomov 8aaff15168 ceph: avoid a use-after-free in ceph_destroy_options()
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>
2018-09-06 16:18:04 +02:00
..
acl.c
addr.c
cache.c
cache.h
caps.c
ceph_frag.c
debugfs.c
dir.c
export.c
file.c The main things are support for cephx v2 authentication protocol and 2018-08-20 18:26:55 -07:00
inode.c
ioctl.c
ioctl.h
Kconfig
locks.c
Makefile
mds_client.c
mds_client.h
mdsmap.c
quota.c
snap.c
strings.c
super.c ceph: avoid a use-after-free in ceph_destroy_options() 2018-09-06 16:18:04 +02:00
super.h The main things are support for cephx v2 authentication protocol and 2018-08-20 18:26:55 -07:00
xattr.c