Hello:
This series was applied to bpf/bpf-next.git (master)
by Kumar Kartikeya Dwivedi <[email protected]>:
On Thu, 6 Aug 2026 22:10:42 +0200 you wrote:
> A BPF_LOAD_ACQ is not rewritten to a BPF_PROBE_MEM load by the verifier,
> unlike a regular BPF_LDX, so the JIT emits a plain load with no exception
> table entry and a fault panics the kernel instead of being handled.
>
> Reject the source pointer types that a BPF_LDX would have had that fault
> protection applied to, i.e. the ones bpf_convert_ctx_accesses() turns
> into BPF_PROBE_MEM: a bare PTR_TO_BTF_ID, PTR_TO_BTF_ID | PTR_UNTRUSTED,
> PTR_TO_BTF_ID | MEM_ALLOC | PTR_UNTRUSTED and PTR_TO_MEM | MEM_RDONLY |
> PTR_UNTRUSTED.
>
> [...]
Here is the summary with links:
- [bpf-next,v2,1/6] bpf: Reject load-acquire from pointers requiring fault protection
https://git.kernel.org/bpf/bpf-next/c/7db0a00445f1
- [bpf-next,v2,2/6] bpf, riscv: Add and use bpf_atomic_is_load_acq() helper
https://git.kernel.org/bpf/bpf-next/c/e2577cd62060
- [bpf-next,v2,3/6] bpf, x86: Fix exception table metadata for arena load-acquire
https://git.kernel.org/bpf/bpf-next/c/4cf8def58b77
- [bpf-next,v2,4/6] bpf, arm64: Fix exception table metadata for arena load-acquire
https://git.kernel.org/bpf/bpf-next/c/af22d273aa1f
- [bpf-next,v2,5/6] selftests/bpf: Add arena fault test for load-acquire
https://git.kernel.org/bpf/bpf-next/c/007466d9e497
- [bpf-next,v2,6/6] selftests/bpf: Add load-acquire test for probe-memory pointer types
https://git.kernel.org/bpf/bpf-next/c/2b1f9f69ae25
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.