Hello:
This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <[email protected]>:
On Thu, 03 Sep 2026 15:51:29 +0200 you wrote:
> Hello,
> this is v9 of the series aiming to bring basic support for KASAN checks
> to BPF JITed programs. Among a few minor optimizations, this revision
> fixes some wrong kasan instrumentation on some unwanted stack access
> (stack access ending up being instrumented AND targeting the wrong stack
> offset). To mitigate this risk further, this revision introduces a
> systematic KASAN check skip when (addr_reg == BPF_REG_FP || addr_reg ==
> BPF_REG_PARAMS) in emit_kasan_check. This secondary check (on top of the
> non_stack_access flag), should hopefully prevent the issues raised in
> v8. I've also reworked the emit_st refactoring to realign it with
> BPF_STX management in the x86 JIT compiler, as the "arguments on stack"
> feature made me realize that it could be kept more symmetric with
> BPF_STX; so I've dropped Ihor's Acked-by on this.
>
> [...]
Here is the summary with links:
- [bpf-next,v9,1/8] bpf: mark instructions accessing program stack
https://git.kernel.org/bpf/bpf-next/c/d02bfbc49c8e
- [bpf-next,v9,2/8] bpf: add BPF_JIT_KASAN for KASAN instrumentation of JITed
programs
https://git.kernel.org/bpf/bpf-next/c/90769ad233ca
- [bpf-next,v9,3/8] bpf, x86: refactor BPF_ST management in do_jit
https://git.kernel.org/bpf/bpf-next/c/b3b45e9d72df
- [bpf-next,v9,4/8] bpf, x86: emit KASAN checks in x86 JITed programs
https://git.kernel.org/bpf/bpf-next/c/92b73b708b17
- [bpf-next,v9,5/8] bpf, x86: enable KASAN for JITed programs on x86
https://git.kernel.org/bpf/bpf-next/c/cfc821c029fd
- [bpf-next,v9,6/8] selftests/bpf: make cmdline_contains stricter
https://git.kernel.org/bpf/bpf-next/c/040ef1f8b02e
- [bpf-next,v9,7/8] selftests/bpf: add helpers for KASAN in JIT testing
https://git.kernel.org/bpf/bpf-next/c/9123a4d4c4f3
- [bpf-next,v9,8/8] selftests/bpf: add tests to validate KASAN on JIT programs
https://git.kernel.org/bpf/bpf-next/c/2cbbb035977a
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html