From: Leon Hwang <leon.hwang@linux.dev>
To: Guillaume Laporte <glapt.pro@outlook.com>,
"stable@vger.kernel.org" <stable@vger.kernel.org>,
Vincent Thiberville <vincent@harfanglab.fr>
Cc: "yangtiezhu@loongson.cn" <yangtiezhu@loongson.cn>,
Alexei Starovoitov <ast@kernel.org>,
"daniel@iogearbox.net" <daniel@iogearbox.net>,
"bpf@vger.kernel.org" <bpf@vger.kernel.org>,
"linux@roblab.la" <linux@roblab.la>
Subject: Re: Please backport 7a0855e73757 ("bpf: Disallow interpreter fallback for BPF_ADDR_PERCPU insn") to 6.18.y and 6.12.y
Date: Wed, 25 Nov 2026 21:43:29 +0800 [thread overview]
Message-ID: <809f91e2-638d-4e54-9b60-e66098d173e0@linux.dev> (raw)
In-Reply-To: <BESPR02MB12296D62B1B3F33BA21C4F24AF1432@BESPR02MB12296.eurprd02.prod.outlook.com>
On 2026/11/25 16:56, Guillaume Laporte wrote:
> Dear maintainers,
>
> Could you please consider backporting the following commits to 6.18.y
> and 6.12.y:
>
> 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")
> 7a0855e73757 ("bpf: Disallow interpreter fallback for BPF_ADDR_PERCPU insn")
34746b5a84ec ("bpf: Disallow interpreter fallback for arena-related insns")
This commit will also be backported.
>
> All three were backported to 7.2.6, but not to the 6.18.y and 6.12.y
> trees, which seem to be the only affected longterm trees: if I'm not
> mistaken, the issue was introduced in 6.10 by 7bdbf7446305 ("bpf: add
> special internal-only MOV instruction to resolve per-CPU addrs").
>
[...]
>
> Unfortunately, the commits do not apply cleanly to these trees, as
> they modify kernel/bpf/fixups.c, which only exists since 7.1. Leon,
> thank you for fixing this upstream. In July you mentioned that the fix
> should be backported to 6.12 along with Tiezhu's jit_required series
> [2]. Would you have time to prepare the backports for 6.18.y and
> 6.12.y? We would be glad to test them with the reproducer and report
> back.
No worries. I will backport the aforementioned commits in near future,
will cc Vincent and you.
Thanks,
Leon
>
> Thank you for your help,
>
> Guillaume Laporte
>
> [1] https://lore.kernel.org/bpf/MR1P264MB331494502C9D13D8A9EAFB99B7E82@MR1P264MB3314.FRAP264.PROD.OUTLOOK.COM/
> [2] https://lore.kernel.org/bpf/b76ade17-44cb-4e60-97fc-41ba55258691@linux.dev/
prev parent reply other threads:[~2026-11-25 13:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 8:56 Please backport 7a0855e73757 ("bpf: Disallow interpreter fallback for BPF_ADDR_PERCPU insn") to 6.18.y and 6.12.y Guillaume Laporte
2026-11-25 13:43 ` Leon Hwang [this message]
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=809f91e2-638d-4e54-9b60-e66098d173e0@linux.dev \
--to=leon.hwang@linux.dev \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=glapt.pro@outlook.com \
--cc=linux@roblab.la \
--cc=stable@vger.kernel.org \
--cc=vincent@harfanglab.fr \
--cc=yangtiezhu@loongson.cn \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox