From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 C31DF32AAA8 for ; Tue, 24 Mar 2026 20:08:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774382910; cv=none; b=IooBldrH5RsG/q91wyD/K4wlslZigZcQazXFBYQMb4ucX7qNdQcg3HF0w79fMasj76btiHcSgEXXDLUsLZ4B5buAFIO66yJ9QbCNd4RE0zaMp5v7bF5n7rST5KiBMH00MQ5r/0pkTV/wnjDGySCkkPuI6NfGWCjCgaBBhokcxVU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774382910; c=relaxed/simple; bh=VgADDOhDZOi/DVo1O0CmBblpbyGfeBrDbCTxiyEmycE=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=la+RQYK956PwlqBDNpF5zVCbTFfZNSoyLOb2f07QT+Cj0wxo4+KaYEjdNkhLTU/nmFpnvdLbIXrfzTymYESdxMKZL3Ed37BO606KUTQEm+qYkVB0yvFCMOVHNR32rJBcyrjuu+3DqNupBkKXlFeUqDMZai01djxfl7ufQ/vCh8s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=Kw2e1nuM; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="Kw2e1nuM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA843C2BCB1; Tue, 24 Mar 2026 20:08:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1774382910; bh=VgADDOhDZOi/DVo1O0CmBblpbyGfeBrDbCTxiyEmycE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Kw2e1nuMvc/tixmytEhvxikyXKNVNm+F6Ydts89NanEawr+jfFUzuKkCZILsVHxSv DOoV44Sly2BCnHMpWa5I97nq1hP3OBan7q0D8V+proLsbUsQFtnEHBNLFRH67jtTt3 GbpkmPuwo2SbbV8LatAmhoXWiuQer/1BeCsuHYU8= Date: Tue, 24 Mar 2026 13:08:29 -0700 From: Andrew Morton To: "Christian A. Ehrhardt" Cc: linux-kernel@vger.kernel.org, David Howells , Kees Cook , Petr Mladek , David Gow Subject: Re: [PATCH RESEND 3/3] lib: Fix length calculation in extract_kvec_to_sg Message-Id: <20260324130829.7ee9ff049d199a89ac183ce8@linux-foundation.org> In-Reply-To: References: <20260323212350.807118-1-lk@c--e.de> <20260323212350.807118-4-lk@c--e.de> <20260324121552.c6da9b39ce378d14ac7c2d53@linux-foundation.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 24 Mar 2026 20:47:01 +0100 "Christian A. Ehrhardt" wrote: > > Hi Andrew, > > On Tue, Mar 24, 2026 at 12:15:52PM -0700, Andrew Morton wrote: > > On Mon, 23 Mar 2026 22:23:50 +0100 "Christian A. Ehrhardt" wrote: > > > > > When extracting from a kvec to a scatterlist, do not > > > cross page boundaries. The required length is already > > > calculated but not used as intended. > > > > > > The previous changes to the kunit_iov_iter.c demonstrate > > > that the patch is necessary. > > > > > > Cc: David Howells > > > Cc: Andrew Morton > > > Cc: stable@vger.kernel.org # v6.5+ > > > > But 018584697533 was first released in 6.10? > > No, it was first in 6.3: > | $ git log v6.3 | grep -A3 "commit 018584697533" > | commit 0185846975339a5c348373aa450a977f5242366b > | Author: David Howells > | Date: Thu Oct 27 16:19:44 2022 +0100 hp2:/usr/src/mm> git show --pretty=fuller 018584697533 | head -n10 commit 0185846975339a5c348373aa450a977f5242366b Author: David Howells AuthorDate: Thu Oct 27 16:19:44 2022 +0100 Commit: Steve French CommitDate: Mon Feb 20 17:25:43 2023 -0600 It obviously got stalled somewhere for a while. > > > I'll remove the " v6.5+" - it isn't needed when we have the Fixes: hash. > > Please don't. The patch will only apply without modification > for v6.5+ because the function was moved to a different file. > As the only stable kernels in that range are 6.1 and 6.6 the > v6.5+ should be sufficient? hp2:/usr/src/mm> git tag --contains 018584697533 | grep "^v[0-9]*" | head v6.10 v6.10-rc1 v6.10-rc2 v6.10-rc3 v6.10-rc4 v6.10-rc5 v6.10-rc6 v6.10-rc7 v6.11 > > But please do check that 018584697533 was the correct target. > > It is, see above. > > I have an updated verion of the series almost ready that addresses > some of the AI review comments. Should I send an updated version or > incremental patches? A new series will work, thanks.