Re: [f2fs-dev] [PATCH] f2fs: fix to avoid use-after-free for cached IPU bio
From: patchwork-bot+f2fs
Date: Tue Apr 11 2023 - 13:00:59 EST
Hello:
This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@xxxxxxxxxx>:
On Mon, 10 Apr 2023 10:14:02 +0800 you wrote:
> xfstest generic/019 reports a bug:
>
> kernel BUG at mm/filemap.c:1619!
> RIP: 0010:folio_end_writeback+0x8a/0x90
> Call Trace:
> end_page_writeback+0x1c/0x60
> f2fs_write_end_io+0x199/0x420
> bio_endio+0x104/0x180
> submit_bio_noacct+0xa5/0x510
> submit_bio+0x48/0x80
> f2fs_submit_write_bio+0x35/0x300
> f2fs_submit_merged_ipu_write+0x2a0/0x2b0
> f2fs_write_single_data_page+0x838/0x8b0
> f2fs_write_cache_pages+0x379/0xa30
> f2fs_write_data_pages+0x30c/0x340
> do_writepages+0xd8/0x1b0
> __writeback_single_inode+0x44/0x370
> writeback_sb_inodes+0x233/0x4d0
> __writeback_inodes_wb+0x56/0xf0
> wb_writeback+0x1dd/0x2d0
> wb_workfn+0x367/0x4a0
> process_one_work+0x21d/0x430
> worker_thread+0x4e/0x3c0
> kthread+0x103/0x130
> ret_from_fork+0x2c/0x50
>
> [...]
Here is the summary with links:
- [f2fs-dev] f2fs: fix to avoid use-after-free for cached IPU bio
https://git.kernel.org/jaegeuk/f2fs/c/5cdb422c8391
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html