Re: [PATCH] ceph: KASAN: use-after-free Read in ceph_mdsc_destroy

2020-07-23 Thread Jeff Layton
On Thu, 2020-07-23 at 15:57 +0800, qiang.zh...@windriver.com wrote: > From: Zhang Qiang > > When the mdsc ptr is free, we should assign "thefsc->mdsc" a null ptr, > in ceph_mdsc_init func. > > CPU: 0 PID: 15653 Comm: syz-executor.3 Not tainted 5.8.0-rc5-syzkaller #0 > Hardware name: Google Googl

[PATCH] ceph: KASAN: use-after-free Read in ceph_mdsc_destroy

2020-07-23 Thread qiang.zhang
From: Zhang Qiang When the mdsc ptr is free, we should assign "thefsc->mdsc" a null ptr, in ceph_mdsc_init func. CPU: 0 PID: 15653 Comm: syz-executor.3 Not tainted 5.8.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump