[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <172554793835.1268668.9896908315159460691.b4-ty@mit.edu>
Date: Thu, 5 Sep 2024 10:53:40 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: Artem Sadovnikov <ancowi69@...il.com>
Cc: "Theodore Ts'o" <tytso@....edu>, Andreas Dilger <adilger.kernel@...ger.ca>,
linux-ext4@...r.kernel.org, linux-kernel@...r.kernel.org,
lvc-project@...uxtesting.org, Ritesh Harjani <ritesh.list@...il.com>,
Mikhail Ukhin <mish.uxin2012@...dex.ru>
Subject: Re: [PATCH v3] ext4: fix i_data_sem unlock order in ext4_ind_migrate()
On Thu, 29 Aug 2024 15:22:09 +0000, Artem Sadovnikov wrote:
> Fuzzing reports a possible deadlock in jbd2_log_wait_commit.
>
> This issue is triggered when an EXT4_IOC_MIGRATE ioctl is set to require
> synchronous updates because the file descriptor is opened with O_SYNC.
> This can lead to the jbd2_journal_stop() function calling
> jbd2_might_wait_for_commit(), potentially causing a deadlock if the
> EXT4_IOC_MIGRATE call races with a write(2) system call.
>
> [...]
Applied, thanks!
[1/1] ext4: fix i_data_sem unlock order in ext4_ind_migrate()
commit: cc749e61c011c255d81b192a822db650c68b313f
Best regards,
--
Theodore Ts'o <tytso@....edu>
Powered by blists - more mailing lists