Skip to content

bpf: Keep fault protection when merging pointer types

Daniel Borkmann bpf sashiko-reviews 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 13 repliesIn review
  2. v14 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6bpf: Keep fault protection when merging pointer typesinclude/linux/bpf_verifier.h kernel/bpf/verifier.c+33 -262 replies
2/6bpf: Treat a fault prone PTR_TO_MEM as a pointer type mismatchkernel/bpf/verifier.c+2 -01 reply
3/6bpf: Reject a store through a fault prone pointerkernel/bpf/verifier.c+1 -13 replies
4/6bpf: Rewrite any fault prone load out of a mem or btf_id pointerinclude/linux/bpf_verifier.h kernel/bpf/fixups.c kernel/bpf/verifier.c+39 -341 reply
5/6selftests/bpf: Add tests for pointer type merge at a shared loadtools/testing/selftests/bpf/progs/mem_rdonly_untrusted.c+254 -04 replies
6/6selftests/bpf: Add tests for fault prone loads out of RCU pointerstools/testing/selftests/bpf/prog_tests/rcu_read_lock.c tools/testing/selftests/bpf/progs/rcu_read_lock.c+78 -02 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchEduard Zingerman
1/6A-b
2/6A-b
3/6A-b
4/6A-b
5/6A-b
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread