Re: [PATCH linux-6.12.y 0/4] bpf: Fix interpreter-unsupported insns

From: Guillaume Laporte

Date: Mon Nov 30 2026 - 09:53:32 EST


On 26/11/2026 16:33, Leon Hwang wrote:
> cc Guillaume and Vincent.

Thanks a lot for the backports.

> Guillaume, please test them.

I applied the 6.12.y and 6.18.y series on top of v6.12.120 and v6.18.66
respectively, and tested them on x86-64 with Debian's config
(CONFIG_BPF_JIT_ALWAYS_ON not set). The results are the same on both
kernels:

- with net.core.bpf_jit_harden=2, the reproducer's program is now
rejected at load time with -ENOTSUPP, as expected, instead of
crashing the kernel;
- with net.core.bpf_jit_harden=0, it is JIT compiled and loads as
before;
- with net.core.bpf_jit_enable=0, it loads and runs in the interpreter
without any issue.

As this thread is about the 6.12.y series, please let me know if I
should also reply to the 6.18.y one.

Tested-by: Guillaume Laporte <glapt.pro@xxxxxxxxxxx>

Thanks,

Guillaume Laporte