Commit e8b205bf authored by Al Viro's avatar Al Viro Committed by Xie XiuQi
Browse files

autofs: fix use-after-free in lockless ->d_manage()



mainline inclusion
from mainline-5.2-rc1
commit ce285c26
category: bugfix
bugzilla: 14537
CVE: NA

---------------------------

autofs_d_release() can overlap with lockless ->d_manage(),
ending up with autofs_dentry_ino() freed under the latter.
Make freeing autofs_info instances RCU-delayed...

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarzhengbin <zhengbin13@huawei.com>
Reviewed-by: default avatarzhangyi (F) <yi.zhang@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 627ada44
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment