skb/arena bugfixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest11 patches 8 repliesIn review 8 of 11 applied
- v111 patches 8 repliesSuperseded
Patches in v2 8 of 11 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | bpf: Fix bounds check for skb-backed dynptrsinclude/ | +4 | 1 reply | Applied |
| 2/11 | selftests/bpf: Test dynptr slices past end of skbtools/ tools/ | +30 | 1 reply | Applied |
| 3/11 | bpf: Fix bpf_sock context code generationnet/ | +4 | 0 replies | Applied |
| 4/11 | selftests/bpf: Add selftests for rx_queue_mapping context accesstools/ | +38 | 0 replies | Applied |
| 5/11 | bpf: Reject pkt arguments in mutating subprogskernel/ | +10 | 1 reply | Applied |
| 6/11 | selftests/bpf: Test rejection of pkt args to mutating subprogstools/ | +53 | 0 replies | Applied |
| 7/11 | bpf: Prevent variable arena/non-arena register contentsinclude/ kernel/ | +24 | 0 replies | Applied |
| 8/11 | selftests/bpf: Test for mixed arena/nonarena code pathstools/ | +49 | 0 replies | Applied |
| 9/11 | bpf: Track whether dynptr type is knowninclude/ kernel/ kernel/ | +21 | 3 replies | |
| 10/11 | bpf: Track skb memory invalidation by packet-backed dynptrsinclude/ kernel/ kernel/ | +59 | 2 replies | |
| 11/11 | selftests/bpf: Test dynptr slice invalidation on skb clobbertools/ | +183 | 0 replies |
Reviews trailers per patch
4 of 11 patches have a Reviewed-by or Acked-by.
| Patch | Jiayuan Chen | Amery Hung |
|---|---|---|
| 1/11 | R-b | R-b |
| 2/11 | R-b | |
| 3/11 | R-b | |
| 4/11 | ||
| 5/11 | R-b | |
| 6/11 | ||
| 7/11 | ||
| 8/11 | ||
| 9/11 | ||
| 10/11 | ||
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf v2 00/11] skb/arena bugfixes
Set of verifier-focused bugfixes related to dynptrs, SKB management in BPF, and dynptrs.
v1 -> v2 (https://lore.kernel.org/bpf/[email protected]/)
- (01/11) Adjust typecasting to just be unsigned int (Jakub)
- (09/11) Test for the new field in stacksafe when comparing registers (bot-ci)
- (01/11, 03/11) Added Reviewed-by by Jiayuan
Emil Tsalapatis (11):
bpf: Fix bounds check for skb-backed dynptrs selftests/bpf: Test dynptr slices past end of skb
bpf: Fix bpf_sock context code generation selftests/bpf: Add selftests for rx_queue_mapping context access
bpf: Reject pkt arguments in mutating subprogs selftests/bpf: Test rejection of pkt args to mutating subprogs
bpf: Prevent variable arena/non-arena register contents selftests/bpf: Test for mixed arena/nonarena code paths
bpf: Track whether dynptr type is known
bpf: Track skb memory invalidation by packet-backed dynptrs selftests/bpf: Test dynptr slice invalidation on skb clobber
include/linux/bpf_verifier.h | 5 + include/linux/skbuff.h | 5 +- kernel/bpf/cfg.c | 10 +- kernel/bpf/states.c | 1 + kernel/bpf/verifier.c | 112 +++++++++-- net/core/filter.c | 7 +- .../testing/selftests/bpf/prog_tests/dynptr.c | 10 + .../testing/selftests/bpf/progs/dynptr_fail.c | 183 ++++++++++++++++++ .../selftests/bpf/progs/dynptr_success.c | 20 ++ .../selftests/bpf/progs/verifier_arena.c | 49 +++++ .../bpf/progs/verifier_global_ptr_args.c | 53 +++++ .../selftests/bpf/progs/verifier_sock.c | 38 ++++ 12 files changed, 475 insertions(+), 18 deletions(-)
Signature · 1 line
2.54.0