[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YMqiOJwJfvqPyOmy@mit.edu>
Date: Wed, 16 Jun 2021 21:15:36 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: Pavel Skripkin <paskripkin@...il.com>
Cc: adilger.kernel@...ger.ca, linux-ext4@...r.kernel.org,
linux-kernel@...r.kernel.org,
syzbot+d9e482e303930fa4f6ff@...kaller.appspotmail.com
Subject: Re: [PATCH v2] ext4: fix memory leak in ext4_fill_super
On Fri, Apr 30, 2021 at 09:50:46PM +0300, Pavel Skripkin wrote:
> static int kthread(void *_create) will return -ENOMEM
> or -EINTR in case of internal failure or
> kthread_stop() call happens before threadfn call.
>
> To prevent fancy error checking and make code
> more straightforward we moved all cleanup code out
> of kmmpd threadfn.
>
> Also, dropped struct mmpd_data at all. Now struct super_block
> is a threadfn data and struct buffer_head embedded into
> struct ext4_sb_info.
>
> Reported-by: syzbot+d9e482e303930fa4f6ff@...kaller.appspotmail.com
> Signed-off-by: Pavel Skripkin <paskripkin@...il.com>
Applied, thanks! (And apologies for the delay)
- Ted
Powered by blists - more mailing lists