[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <171959506219.737463.11804303304019797243.b4-ty@mit.edu>
Date: Fri, 28 Jun 2024 13:17:46 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: Andreas Dilger <adilger@...ger.ca>, Zhang Yi <yi.zhang@...weicloud.com>,
Harshad Shirwadkar <harshadshirwadkar@...il.com>,
"Luis Henriques (SUSE)" <luis.henriques@...ux.dev>
Cc: "Theodore Ts'o" <tytso@....edu>, linux-ext4@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] ext4: fix infinite loop when replaying fast_commit
On Wed, 15 May 2024 09:28:57 +0100, Luis Henriques (SUSE) wrote:
> When doing fast_commit replay an infinite loop may occur due to an
> uninitialized extent_status struct. ext4_ext_determine_insert_hole() does
> not detect the replay and calls ext4_es_find_extent_range(), which will
> return immediately without initializing the 'es' variable.
>
> Because 'es' contains garbage, an integer overflow may happen causing an
> infinite loop in this function, easily reproducible using fstest generic/039.
>
> [...]
Applied, thanks!
[1/1] ext4: fix infinite loop when replaying fast_commit
commit: 907c3fe532253a6ef4eb9c4d67efb71fab58c706
Best regards,
--
Theodore Ts'o <tytso@....edu>
Powered by blists - more mailing lists