[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YLgzSwWuD4qN88+H@mit.edu>
Date: Wed, 2 Jun 2021 21:41:31 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: Ritesh Harjani <riteshh@...ux.ibm.com>
Cc: linux-ext4@...r.kernel.org, harshadshirwadkar@...il.com
Subject: Re: [PATCH] ext4: Fix accessing uninit percpu counter variable with
fast_commit
On Thu, Apr 29, 2021 at 04:13:44PM +0530, Ritesh Harjani wrote:
> When running generic/527 with fast_commit configuration, below issue is
> seen on Power.
> With fast_commit, during ext4_fc_replay() (which can be called from
> ext4_fill_super()), if inode eviction happens then it can access an
> uninitialized percpu counter variable.
>
> This patch adds the check b4 accessing the counters in ext4_free_inode() path.
Applied, thanks.
- Ted
Powered by blists - more mailing lists