]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
drop queue-6.1/fuse-fix-memory-leak-in-fuse_create_open.patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 8 Sep 2024 11:43:11 +0000 (13:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 8 Sep 2024 11:43:11 +0000 (13:43 +0200)
queue-6.1/fuse-fix-memory-leak-in-fuse_create_open.patch [deleted file]
queue-6.1/series

diff --git a/queue-6.1/fuse-fix-memory-leak-in-fuse_create_open.patch b/queue-6.1/fuse-fix-memory-leak-in-fuse_create_open.patch
deleted file mode 100644 (file)
index 0d32d50..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-From 3002240d16494d798add0575e8ba1f284258ab34 Mon Sep 17 00:00:00 2001
-From: yangyun <yangyun50@huawei.com>
-Date: Fri, 23 Aug 2024 16:51:46 +0800
-Subject: fuse: fix memory leak in fuse_create_open
-
-From: yangyun <yangyun50@huawei.com>
-
-commit 3002240d16494d798add0575e8ba1f284258ab34 upstream.
-
-The memory of struct fuse_file is allocated but not freed
-when get_create_ext return error.
-
-Fixes: 3e2b6fdbdc9a ("fuse: send security context of inode on file")
-Cc: stable@vger.kernel.org # v5.17
-Signed-off-by: yangyun <yangyun50@huawei.com>
-Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- fs/fuse/dir.c |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/fs/fuse/dir.c
-+++ b/fs/fuse/dir.c
-@@ -741,7 +741,7 @@ static int create_new_entry(struct fuse_
-       err = fuse_simple_request(fm, args);
-       kfree(security_ctx);
-       if (err)
--              goto out_put_forget_req;
-+              goto out_free_ff;
-       err = -EIO;
-       if (invalid_nodeid(outarg.nodeid) || fuse_invalid_attr(&outarg.attr))
index 6e2668d93e5ad6509c28d307f74741c3d17f6ca0..8140296df14712562b77c4ace6c55d517d1f1f78 100644 (file)
@@ -23,4 +23,3 @@ mmc-sdhci-of-aspeed-fix-module-autoloading.patch
 mmc-cqhci-fix-checking-of-cqhci_halt-state.patch
 fuse-update-stats-for-pages-in-dropped-aux-writeback-list.patch
 fuse-use-unsigned-type-for-getxattr-listxattr-size-truncation.patch
-fuse-fix-memory-leak-in-fuse_create_open.patch