From: Leon Hwang <leon.hwang@linux.dev>
To: Guillaume Laporte <glapt.pro@outlook.com>,
Vincent Thiberville <vincent@harfanglab.fr>,
stable@vger.kernel.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Alexei Starovoitov <ast@kernel.org>,
Daniel Borkmann <daniel@iogearbox.net>,
Andrii Nakryiko <andrii@kernel.org>,
bpf@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH linux-6.12.y 0/4] bpf: Fix interpreter-unsupported insns
Date: Thu, 26 Nov 2026 23:33:13 +0800 [thread overview]
Message-ID: <a3f3f62b-7642-423f-ab86-9faf6bbc0ffd@linux.dev> (raw)
In-Reply-To: <20261126153002.162337-1-leon.hwang@linux.dev>
cc Guillaume and Vincent.
Guillaume, please test them.
Thanks,
Leon
On 2026/11/26 23:29, Leon Hwang wrote:
> Request from Guillaume and Vincent [1][2], backport the following commits to
> linux-6.12.y with editing the commits manually.
>
> 9a6df65d5c6a ("bpf: Introduce jit_required flag and remove bpf_prog_has_kfunc_call()")
> f1c27922576e ("bpf: Reject programs with inlined helpers if JIT is not available")
> 34746b5a84ec ("bpf: Disallow interpreter fallback for arena-related insns")
> 7a0855e73757 ("bpf: Disallow interpreter fallback for BPF_ADDR_PERCPU insn")
>
> As there was a big code refactoring in linux 7.1, the changes in the new
> file kernel/bpf/fixups.c will be backported to the positions in
> kernel/bpf/verifier.c.
>
> Patch 1 introduces a new bit 'jit_required' in struct bpf_prog. The
> other patches set 'jit_required' to fix the issues.
>
> Links:
> [1] https://lore.kernel.org/bpf/BESPR02MB12296D62B1B3F33BA21C4F24AF1432@BESPR02MB12296.eurprd02.prod.outlook.com/
> [2] https://lore.kernel.org/bpf/MR1P264MB331494502C9D13D8A9EAFB99B7E82@MR1P264MB3314.FRAP264.PROD.OUTLOOK.COM/
>
> Leon Hwang (2):
> bpf: Disallow interpreter fallback for arena-related insns
> bpf: Disallow interpreter fallback for BPF_ADDR_PERCPU insn
>
> Tiezhu Yang (2):
> bpf: Introduce jit_required flag and remove bpf_prog_has_kfunc_call()
> bpf: Reject programs with inlined helpers if JIT is not available
>
> include/linux/bpf.h | 22 +++++++++++++++-------
> kernel/bpf/core.c | 7 ++-----
> kernel/bpf/verifier.c | 21 ++++++++++++---------
> 3 files changed, 29 insertions(+), 21 deletions(-)
>
> --
> 2.55.0
>
next prev parent reply other threads:[~2026-11-26 15:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 15:29 [PATCH linux-6.12.y 0/4] bpf: Fix interpreter-unsupported insns Leon Hwang
2026-11-26 15:29 ` [PATCH linux-6.12.y 1/4] bpf: Introduce jit_required flag and remove bpf_prog_has_kfunc_call() Leon Hwang
2026-11-26 15:30 ` [PATCH linux-6.12.y 2/4] bpf: Reject programs with inlined helpers if JIT is not available Leon Hwang
2026-11-26 15:30 ` [PATCH linux-6.12.y 3/4] bpf: Disallow interpreter fallback for arena-related insns Leon Hwang
2026-11-26 15:30 ` [PATCH linux-6.12.y 4/4] bpf: Disallow interpreter fallback for BPF_ADDR_PERCPU insn Leon Hwang
2026-11-26 15:33 ` Leon Hwang [this message]
2026-11-30 14:53 ` [PATCH linux-6.12.y 0/4] bpf: Fix interpreter-unsupported insns Guillaume Laporte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a3f3f62b-7642-423f-ab86-9faf6bbc0ffd@linux.dev \
--to=leon.hwang@linux.dev \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=glapt.pro@outlook.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=stable@vger.kernel.org \
--cc=vincent@harfanglab.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.