[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <824921067.4882112.1570209623167.JavaMail.zimbra@redhat.com>
Date: Fri, 4 Oct 2019 13:20:23 -0400 (EDT)
From: Bob Peterson <rpeterso@...hat.com>
To: Andrew Price <anprice@...hat.com>
Cc: cluster-devel@...hat.com,
syzbot+c2fdfd2b783754878fb6@...kaller.appspotmail.com,
syzkaller-bugs@...glegroups.com, linux-kernel@...r.kernel.org
Subject: Re: [Cluster-devel] [PATCH] gfs2: Fix memory leak when gfs2meta's
fs_context is freed
----- Original Message -----
> gfs2 and gfs2meta share an ->init_fs_context function which allocates an
> args structure stored in fc->fs_private. gfs2 registers a ->free
> function to free this memory when the fs_context is cleaned up, but
> there was not one registered for gfs2meta, causing a leak.
>
> Register a ->free function for gfs2meta. The existing gfs2_fc_free
> function does what we need.
>
> Reported-by: syzbot+c2fdfd2b783754878fb6@...kaller.appspotmail.com
> Signed-off-by: Andrew Price <anprice@...hat.com>
> ---
Thanks. Now pushed to for-next.
Bob Peterson
Powered by blists - more mailing lists