Re: [PATCH v6.13 v2] fs/netfs/read_collect: fix crash due to uninitialized `prev` variable
From: Greg Kroah-Hartman
Date: Mon Mar 10 2025 - 07:51:36 EST
On Fri, Mar 07, 2025 at 03:27:41PM +0100, Johannes Berg wrote:
> On Fri, 2025-02-14 at 14:12 +0100, Max Kellermann wrote:
> > When checking whether the edges of adjacent subrequests touch, the
> > `prev` variable is deferenced, but it might not have been initialized.
> > This causes crashes like this one:
>
> [...]
>
> I believe we also need this in 6.12?
Now added, thanks.
greg k-h