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

Norbert Lange
2025-03-07T16:09:34Z

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@ionos.com/
https://lore.kernel.org/netfs/20250210223144.3481766-1-max.kellermann@ionos.com/
https://lore.kernel.org/netfs/20250210191118.3444416-1-max.kellermann@ionos.com/

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@gmail.com>