mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
ksmbd: fix possible refcount leak in smb2_open()
[ Upstream commit2624b44554] Reference count of acls will leak when memory allocation fails. Fix this by adding the missing posix_acl_release(). Fixes:e2f34481b2("cifsd: add server-side procedures for SMB3") Signed-off-by: ChenXiaoSong <chenxiaosong2@huawei.com> Acked-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
a4e6cd9253
commit
303f8e58cc
1 changed files with 4 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue