Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim <jaeg...@kernel.org>:
On Fri, 17 Jan 2025 22:09:55 +0000 you wrote: > In f2fs_new_inode(), if we fail to get a new inode, we go iput(), followed by > f2fs_evict_inode(). If the inode is not marked as bad, it'll try to call > f2fs_remove_inode_page() which tries to read the inode block given node id. > But, there's no block address allocated yet, which gives a chance to access > a wrong block address, if the block device has some garbage data in NAT table. > > We need to make sure NAT table should have zero data for all the unallocated > node ids, but also would be better to take this unnecessary path as well. > Let's mark the faild inode as bad. > > [...] Here is the summary with links: - [f2fs-dev] f2fs: avoid trying to get invalid block address https://git.kernel.org/jaegeuk/f2fs/c/e02938613eb2 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel