diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2018-08-24 15:32:43 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2018-09-06 16:18:04 +0200 |
commit | 8aaff15168cfbc7c8980fdb0e8a585f1afe56ec0 (patch) | |
tree | f006f46f881823faaa069d4261ebf6bd9cc1265f /arch/nios2 | |
parent | Linux 4.19-rc2 (diff) | |
download | linux-8aaff15168cfbc7c8980fdb0e8a585f1afe56ec0.tar.xz linux-8aaff15168cfbc7c8980fdb0e8a585f1afe56ec0.zip |
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>
Diffstat (limited to 'arch/nios2')
0 files changed, 0 insertions, 0 deletions