From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1CF4E3F1AB4 for ; Wed, 5 Aug 2026 21:21:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785964910; cv=none; b=EzVH9GwDDhjZVJkuipM1JMzI+7V0EPEOFqcpwmMOwD8FjAUQvIa5WkF//tzztqblyQC1RrfiPgJeg3cwBSmp1Tu2S3FQ3KC+ojTuGDlONggMBw7JRfaJelHRxWCssXGnSNRPl9+GFGmKS2l2okm5M8OtEFTTnnjJMT1Q8zAnQTs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785964910; c=relaxed/simple; bh=MGi0vQie+IoVvD0yggn/1PxIZXXAG9t3mk7gHQ8NU9E=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=ctZbdgdo1GEDYIjh7jzRxJSM1hath6GJipv4K068SRAp6WqwgpH00xwFrIZ4yt9/rg+DNDa8k4+AX9Zj/6+JNM50PsGqaM1YbEj9zu2chcDuDvTDRIAD5EpMhXVqMGlpVcAFuQSYqQbLxRlekiryNl2UDW9EHCIZwM3BqY0SB8U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=abxhiSM4; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="abxhiSM4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8F19F1F000E9; Wed, 5 Aug 2026 21:21:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1785964898; bh=POIG5wUNnozp2JrFP6brP6ig/f4ktVEtbb/m/xbmiSA=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=abxhiSM4Te1BbKGehvyaH9XZDo8PaTvqsZwf0+yusC7IgkKNoySR8C69/9yePOV+u jkKOLoogjXDV1xFIAyTdYsk+aqOvGtk8ov8/AINE6gUe4bGuGTiZCOCxL2q9h5145V yHW7wcmLHPSqFgNKRLRFd2EnSEvhQm6riyC6pyEPd+AQfdCKc9/QXxRYlqHo5Bc9eR lcRr9+nRNJ7BfE2tHaHG7SxB5O8LrupfVy40iPLoTktx2Terx9cxvs/cr2l0YMmD9d sn76fuxN9qowuaKqXEgZGMLGIp3eyaF4mGCf29w0C3UmT4ZXWABkmBWkB0j3SH7CkO RxExJNqMlzn4Q== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 93843392FFD1; Wed, 5 Aug 2026 21:20:59 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [f2fs-dev] [PATCH] f2fs: validate MOVE_RANGE destination size From: patchwork-bot+f2fs@kernel.org Message-Id: <178596485813.530543.10823312438985135960.git-patchwork-notify@kernel.org> Date: Wed, 05 Aug 2026 21:20:58 +0000 References: <20260630031700.2573819-1-qiwenjie@xiaomi.com> In-Reply-To: <20260630031700.2573819-1-qiwenjie@xiaomi.com> To: Wenjie Qi Cc: jaegeuk@kernel.org, chao@kernel.org, stable@kernel.org, qiwenjie@xiaomi.com, linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Tue, 30 Jun 2026 11:17:00 +0800 you wrote: > F2FS_IOC_MOVE_RANGE checks the source range, but not the destination end > before updating i_size. A source hole can expose this: __clone_blkaddrs() > skips NULL_ADDR entries and returns success, so the caller can still extend > the destination inode with unchecked pos_out + len. > > Reject destination overflow and use inode_newsize_ok() before extending > the destination inode. > > [...] Here is the summary with links: - [f2fs-dev] f2fs: validate MOVE_RANGE destination size https://git.kernel.org/jaegeuk/f2fs/c/e533889fc26a You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html