[lvc-project] [PATCH v3] ext4: fix i_data_sem unlock order in ext4_ind_migrate()

Theodore Ts'o tytso at mit.edu
Thu Sep 5 17:53:40 MSK 2024


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 at mit.edu>



More information about the lvc-project mailing list