From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from cae.in-ulm.de (cae.in-ulm.de [217.10.14.231]) (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 C88492F531F for ; Tue, 24 Mar 2026 19:47:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.10.14.231 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774381625; cv=none; b=FfoICFVpaFWq6mRdsblk4BrPUzd/rs8IWZqrNGkOub5Xwn2TWP9v4dBA+b2WjDFnVdrntEVULTVEsdKGpUeFl1PA1CwV/Azvs6b4OK+kEABfp9b1lhLkucCrdWp2As+zgIAjQ2LZmLS4qxodIwFfkYM778N1uJaqDUMDGSNQb30= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774381625; c=relaxed/simple; bh=km2V63QD7Fvl60LwF/4i2VfXxIQn9pr47291CJCgXK4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hFNjqTgw4ECovI/xJwtj4jhydHl7mQxBgK3T/x2rjsmWitd0gbs8KonJaG3rjGfMrU6mFh47Zssc39q8pBNjYIswbjUkzfIc5cFsLy0aYi4o6w9yDbFeqXVLdEfWSEPczN+DyneYctIfTxq/iTYgDikxg8Ysx3UmP7nY6MNtAHE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=c--e.de; spf=pass smtp.mailfrom=c--e.de; arc=none smtp.client-ip=217.10.14.231 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=c--e.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=c--e.de Received: by cae.in-ulm.de (Postfix, from userid 1000) id 628361400FB; Tue, 24 Mar 2026 20:47:01 +0100 (CET) Date: Tue, 24 Mar 2026 20:47:01 +0100 From: "Christian A. Ehrhardt" To: Andrew Morton 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: References: <20260323212350.807118-1-lk@c--e.de> <20260323212350.807118-4-lk@c--e.de> <20260324121552.c6da9b39ce378d14ac7c2d53@linux-foundation.org> 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-Disposition: inline In-Reply-To: <20260324121552.c6da9b39ce378d14ac7c2d53@linux-foundation.org> 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 > 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? > 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? Best regards, Christian