Thread (9 messages) 9 messages, 3 authors, 2d ago

Re: [PATCH 7.1.y 0/6] cBPF JIT spray hardening

From: Sasha Levin <sashal@kernel.org>
Date: 2026-07-10 21:03:35
Also in: bpf, linux-arm-kernel, linux-riscv, loongarch, stable

On Thu, Jul 09, 2026 at 03:22:54PM -0700, Pawan Gupta wrote:
These backports harden BPF JIT against spectre-v2 class of attacks. Without
a predictor flush, execution of new BPF program may use stale prediction
left behind by the freed one.

To avoid this, issue an IBPB flush on all CPUs on JIT program allocation.
The flush is conditional to spectre-v2 mitigation applied.
Queued the series for 7.1, thanks.

-- 
Thanks,
Sasha
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help