All of lore.kernel.org
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Daniel Borkmann <daniel@iogearbox.net>
Cc: memxor@gmail.com, eddyz87@gmail.com, puranjay@kernel.org,
	info@starlabs.sg, bpf@vger.kernel.org
Subject: Re: [PATCH bpf-next v2 1/6] bpf: Reject load-acquire from pointers requiring fault protection
Date: Fri, 07 Aug 2026 13:00:13 +0000	[thread overview]
Message-ID: <178610761364.1785508.378629022804300518.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260806201047.333389-1-daniel@iogearbox.net>

Hello:

This series was applied to bpf/bpf-next.git (master)
by Kumar Kartikeya Dwivedi <memxor@gmail.com>:

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



      parent reply	other threads:[~2026-08-07 13:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-06 20:10 [PATCH bpf-next v2 1/6] bpf: Reject load-acquire from pointers requiring fault protection Daniel Borkmann
2026-08-06 20:10 ` [PATCH bpf-next v2 2/6] bpf, riscv: Add and use bpf_atomic_is_load_acq() helper Daniel Borkmann
2026-08-06 20:10 ` [PATCH bpf-next v2 3/6] bpf, x86: Fix exception table metadata for arena load-acquire Daniel Borkmann
2026-08-06 20:30   ` sashiko-bot
2026-08-06 20:10 ` [PATCH bpf-next v2 4/6] bpf, arm64: " Daniel Borkmann
2026-08-06 20:10 ` [PATCH bpf-next v2 5/6] selftests/bpf: Add arena fault test for load-acquire Daniel Borkmann
2026-08-06 20:10 ` [PATCH bpf-next v2 6/6] selftests/bpf: Add load-acquire test for probe-memory pointer types Daniel Borkmann
2026-08-06 20:41 ` [PATCH bpf-next v2 1/6] bpf: Reject load-acquire from pointers requiring fault protection sashiko-bot
2026-08-07 13:00 ` patchwork-bot+netdevbpf [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=178610761364.1785508.378629022804300518.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=eddyz87@gmail.com \
    --cc=info@starlabs.sg \
    --cc=memxor@gmail.com \
    --cc=puranjay@kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.