libfs: take cursors out of list when moving past the end of directory
mainline inclusion from mainline-v5.4-rc3 commit 26b6c984 category: bugfix bugzilla: 20810 CVE: NA --------------------------- that eliminates the last place where we accessed the tail of ->d_subdirs Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk> Signed-off-by: Nzhengbin <zhengbin13@huawei.com> Reviewed-by: Nzhangyi (F) <yi.zhang@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录