[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <175296153001.397842.8711554475973554905.b4-ty@mit.edu>
Date: Sat, 19 Jul 2025 17:45:54 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: linux-ext4@...r.kernel.org, libaokun@...weicloud.com
Cc: "Theodore Ts'o" <tytso@....edu>, adilger.kernel@...ger.ca, jack@...e.cz,
linux-kernel@...r.kernel.org, yi.zhang@...wei.com,
yangerkun@...wei.com, libaokun1@...wei.com
Subject: Re: [PATCH] ext4: fix inode use after free in ext4_end_io_rsv_work()
On Tue, 08 Jul 2025 19:15:04 +0800, libaokun@...weicloud.com wrote:
> In ext4_io_end_defer_completion(), check if io_end->list_vec is empty to
> avoid adding an io_end that requires no conversion to the
> i_rsv_conversion_list, which in turn prevents starting an unnecessary
> worker. An ext4_emergency_state() check is also added to avoid attempting
> to abort the journal in an emergency state.
>
> Additionally, ext4_put_io_end_defer() is refactored to call
> ext4_io_end_defer_completion() directly instead of being open-coded.
> This also prevents starting an unnecessary worker when EXT4_IO_END_FAILED
> is set but data_err=abort is not enabled.
>
> [...]
Applied, thanks!
[1/1] ext4: fix inode use after free in ext4_end_io_rsv_work()
commit: c678bdc998754589cea2e6afab9401d7d8312ac4
Best regards,
--
Theodore Ts'o <tytso@....edu>
Powered by blists - more mailing lists