[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <000000000000e560eb0609eda6e5@google.com>
Date: Sat, 11 Nov 2023 21:16:12 -0800
From: syzbot <syzbot+26eedf3631650972f17c@...kaller.appspotmail.com>
To: linux-kernel@...r.kernel.org
Subject: Re: [syzbot] [PATCH] Test memory leak in ovl_parse_param
For archival purposes, forwarding an incoming command email to
linux-kernel@...r.kernel.org.
***
Subject: [PATCH] Test memory leak in ovl_parse_param
Author: eadavis@...com
please test memory leak in ovl_parse_param
#syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 13d88ac54ddd
diff --git a/fs/overlayfs/params.c b/fs/overlayfs/params.c
index ddab9ea267d1..735ae0db404a 100644
--- a/fs/overlayfs/params.c
+++ b/fs/overlayfs/params.c
@@ -530,6 +530,7 @@ static int ovl_parse_param_lowerdir(const char *name, struct fs_context *fc)
return 0;
out_put:
+ ctr->nr = nr;
ovl_reset_lowerdirs(ctx);
out_err:
Powered by blists - more mailing lists