Batch of direct packet access fixes for BPF
Status from this message: Applied, Thanks
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | bpf: fix test suite to enable all unpriv program typestools/ | +13 | 0 replies | |
| 2/7 | bpf: disallow direct packet access for unpriv in cg_skbnet/ tools/ | +7 | 0 replies | |
| 3/7 | bpf: fix direct packet access for flow dissector progskernel/ | +4 | 0 replies | |
| 4/7 | bpf: fix cg_skb types to hint access type in may_access_direct_pkt_datakernel/ | +1 | 0 replies | |
| 5/7 | bpf: fix direct packet write into pop/peek helperskernel/ | +0 | 1 reply | |
| 6/7 | bpf: fix leaking uninitialized memory on pop/peek helperskernel/ | +2 | 1 reply | |
| 7/7 | bpf: make direct packet write unclone more robustkernel/ net/ | +16 | 3 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Alexei Starovoitov | Song Liu | Mauricio Vasquez B |
|---|---|---|---|
| Series | A-b | ||
| 1/7 | A-b | ||
| 2/7 | A-b | ||
| 3/7 | A-b | ||
| 4/7 | A-b | ||
| 5/7 | A-b | A-b | |
| 6/7 | A-b | A-b | |
| 7/7 | A-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH bpf 0/7] Batch of direct packet access fixes for BPF
Several fixes to get direct packet access in order from verifier side. Also test suite fix to run cg_skb as unpriv and an improvement to make direct packet write less error prone in future.
Thanks!
Daniel Borkmann (7):
bpf: fix test suite to enable all unpriv program types
bpf: disallow direct packet access for unpriv in cg_skb
bpf: fix direct packet access for flow dissector progs
bpf: fix cg_skb types to hint access type in may_access_direct_pkt_data
bpf: fix direct packet write into pop/peek helpers
bpf: fix leaking uninitialized memory on pop/peek helpers
bpf: make direct packet write unclone more robust
kernel/bpf/helpers.c | 2 -- kernel/bpf/queue_stack_maps.c | 2 ++ kernel/bpf/verifier.c | 13 ++++++++++--- net/core/filter.c | 17 +++++++++++++++++ tools/testing/selftests/bpf/test_verifier.c | 15 +++++++++++++-- 5 files changed, 42 insertions(+), 7 deletions(-)
Signature · 1 line
2.9.5