On Wed, May 24, 2023 at 5:04 PM Greg KH gregkh@linuxfoundation.org wrote:
Great, any specific commits that fix this issue would be appreciated to be pointed at so we can apply them.
The problem was introduced by commit f4b8c0710ab6 ("selftests/bpf: Add verifier test for release_reference()") in your tree. Seems like fixup_map_ringbuf was introduced in upstream commit 4237e9f4a962 ("selftests/bpf: Add verifier test for PTR_TO_MEM spill") but that wasn't backported.
To restate my original question: how can we avoid breaking BPF selftests? From personal experience this happens somewhat regularly.
Best Lorenz