Re: [PATCH bpf-next 1/2] bpf: Check load-acquire src ptr type before the load
[email protected] Wed, 05 Aug 2026 10:10:07 +0000
| Newsgroups | org.kernel.vger.bpf |
|---|---|
| Message-ID | <178592460714.4035557.13170719320539313553.git-patchwork-notify@kernel.org> |
Hello: This series was applied to bpf/bpf-next.git (master) by Kumar Kartikeya Dwivedi <[email protected]>: On Tue, 4 Aug 2026 22:19:16 +0200 you wrote: > check_atomic_load() calls check_load_mem() before atomic_ptr_type_ok(). > For a load-acquire that fetches into its own source register (dst_reg == > src_reg), check_load_mem() overwrites src_reg's type with the type of the > loaded value, so the subsequent atomic_ptr_type_ok() no longer sees the > source pointer and fails to reject the disallowed types (ctx, pkt, > flow_keys, sock). > > [...] Here is the summary with links: - [bpf-next,1/2] bpf: Check load-acquire src ptr type before the load https://git.kernel.org/bpf/bpf-next/c/b87803391baa - [bpf-next,2/2] selftests/bpf: Add load-acquire test for dst_reg == src_reg from ctx https://git.kernel.org/bpf/bpf-next/c/363b15d8551e You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html