Re: [PATCH RESEND 3/3] lib: Fix length calculation in extract_kvec_to_sg
From: Andrew Morton
Date: Tue Mar 24 2026 - 15:26:43 EST
On Mon, 23 Mar 2026 22:23:50 +0100 "Christian A. Ehrhardt" <lk@xxxxxxx> 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 <dhowells@xxxxxxxxxx>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx # v6.5+
But 018584697533 was first released in 6.10?
I'll remove the " v6.5+" - it isn't needed when we have the Fixes: hash.
But please do check that 018584697533 was the correct target.
> Fixes: 018584697533 ("netfs: Add a function to extract an iterator into a scatterlist")