Re: [PATCH] fs/netfs/read_collect: add to next->prev_donated

From: Norbert Lange
Date: Fri Mar 07 2025 - 11:10:06 EST


I reproduced with the available versions in debian:

linux-image-6.12.12-amd64 6.12.12-1 -> segfault
linux-image-6.12.17-amd64 6.12.17-1 -> segfault
linux-image-6.13-amd64 6.13.5-1~exp1 -> 'kernel BUG at
fs/netfs/read_collect.c:316!'

Then I took the debian 6.12.17-1 kernel (latest LTS), added those 3 patches:

https://lore.kernel.org/netfs/20250211093432.3524035-1-max.kellermann@xxxxxxxxx/
https://lore.kernel.org/netfs/20250210223144.3481766-1-max.kellermann@xxxxxxxxx/
https://lore.kernel.org/netfs/20250210191118.3444416-1-max.kellermann@xxxxxxxxx/

The resulting kernel apparently fixed the issue, I just testet in Qemu
so far (no signed kernel for secure boot).

Tested-by: Norbert Lange <nolange79@xxxxxxxxx>