Message ID | 20230821193311.3290257-1-davemarchevsky@fb.com (mailing list archive) |
---|---|
Headers | show |
Series | BPF Refcount followups 3: bpf_mem_free_rcu refcounted nodes | expand |
Hello: This series was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <ast@kernel.org>: On Mon, 21 Aug 2023 12:33:04 -0700 you wrote: > This series is the third of three (or more) followups to address issues > in the bpf_refcount shared ownership implementation discovered by Kumar. > This series addresses the use-after-free scenario described in [0]. The > first followup series ([1]) also attempted to address the same > use-after-free, but only got rid of the splat without addressing the > underlying issue. After this series the underyling issue is fixed and > bpf_refcount_acquire can be re-enabled. > > [...] Here is the summary with links: - [v2,bpf-next,1/7] bpf: Ensure kptr_struct_meta is non-NULL for collection insert and refcount_acquire https://git.kernel.org/bpf/bpf-next/c/f0d991a07075 - [v2,bpf-next,2/7] bpf: Consider non-owning refs trusted https://git.kernel.org/bpf/bpf-next/c/2a6d50b50d6d - [v2,bpf-next,3/7] bpf: Use bpf_mem_free_rcu when bpf_obj_dropping refcounted nodes https://git.kernel.org/bpf/bpf-next/c/7e26cd12ad1c - [v2,bpf-next,4/7] bpf: Reenable bpf_refcount_acquire https://git.kernel.org/bpf/bpf-next/c/ba2464c86f18 - [v2,bpf-next,5/7] bpf: Consider non-owning refs to refcounted nodes RCU protected https://git.kernel.org/bpf/bpf-next/c/0816b8c6bf7f - [v2,bpf-next,6/7] bpf: Allow bpf_spin_{lock,unlock} in sleepable progs https://git.kernel.org/bpf/bpf-next/c/5861d1e8dbc4 - [v2,bpf-next,7/7] selftests/bpf: Add tests for rbtree API interaction in sleepable progs https://git.kernel.org/bpf/bpf-next/c/312aa5bde898 You are awesome, thank you!