Commit 5e20208d authored by yangyun's avatar yangyun Committed by Greg Kroah-Hartman
Browse files

fuse: fix memory leak in fuse_create_open



[ Upstream commit 3002240d ]

The memory of struct fuse_file is allocated but not freed
when get_create_ext return error.

Fixes: 3e2b6fdb ("fuse: send security context of inode on file")
Cc: stable@vger.kernel.org # v5.17
Signed-off-by: default avataryangyun <yangyun50@huawei.com>
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 4250ddda
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment