Fix incorrect pruning for ARG_CONST_ALLOC_SIZE_OR_ZERO
Status from this message: This series was applied to bpf/bpf.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bpf: Do mark_chain_precision for ARG_CONST_ALLOC_SIZE_OR_ZEROkernel/ | +3 | 0 replies | Applied |
| 2/2 | selftests/bpf: Add regression test for pruning fixtools/ | +25 | 0 replies | Applied |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Andrii Nakryiko |
|---|---|
| Series | A-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf v1 0/2] Fix incorrect pruning for ARG_CONST_ALLOC_SIZE_OR_ZERO
A fix for a missing mark_chain_precision call that leads to eager pruning and loading of invalid programs when the more permissive case is in the straight line exploration. Please see the commit log for details, and selftest for an example.
Kumar Kartikeya Dwivedi (2):
bpf: Do mark_chain_precision for ARG_CONST_ALLOC_SIZE_OR_ZERO selftests/bpf: Add regression test for pruning fix
kernel/bpf/verifier.c | 3 +++ .../testing/selftests/bpf/verifier/precise.c | 25 +++++++++++++++++++ 2 files changed, 28 insertions(+)
Signature · 1 line
2.34.1