Re: [PATCH RESEND bpf v2 0/2] x86/bpf: Fixes for the BPF JIT with retbleed=stuff

Ingo Molnar
2024-04-03T07:26:48Z

* patchwork-bot+netdevbpf@kernel.org <patchwork-bot+netdevbpf@kernel.org> wrote:

> Hello:
>
> This series was applied to bpf/bpf.git (master)
> by Alexei Starovoitov <ast@kernel.org>:
>
> On Mon, 1 Apr 2024 20:55:28 +0200 you wrote:
> > From: Joan Bruguera Micó <joanbrugueram@gmail.com>
> >
> > Fixes two issues that cause kernels panic when using the BPF JIT with
> > the call depth tracking / stuffing mitigation for Skylake processors
> > (`retbleed=stuff`). Both issues can be triggered by running simple
> > BPF programs (e.g. running the test suite should trigger both).
> >
> > [...]
>
> Here is the summary with links:
> - [RESEND,bpf,v2,1/2] x86/bpf: Fix IP after emitting call depth accounting
> https://git.kernel.org/bpf/bpf/c/9d98aa088386
> - [RESEND,bpf,v2,2/2] x86/bpf: Fix IP for relocating call depth accounting
> https://git.kernel.org/bpf/bpf/c/6a537453000a

Just wondering, which kernel version is this targeted for?

The bug is upstream as well, so a fix needs to be sent to Linus.

I can pick all of this up into tip:x86/urgent, if that accelerates
things.

Thanks,

Ingo