bpf fix to reject mixing ptr / scalar alu op on unpriv
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/2 | bpf: fix sanitation of alu op with pointer / scalar type from different pathsinclude/ kernel/ | +49 | 0 replies | |
| 2/2 | bpf: add various test cases for alu op on mixed dst register typestools/ | +120 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Alexei Starovoitov |
|---|---|
| 1/2 | A-b |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf 0/2] bpf fix to reject mixing ptr / scalar alu op on unpriv
Follow-up fix to 979d63d50c0c ("bpf: prevent out of bounds speculation on pointer arithmetic") in order to reject a corner case for sanitation when ptr / scalars are mixed in the same alu op.
Thanks!
Daniel Borkmann (2):
bpf: fix sanitation of alu op with pointer / scalar type from different paths
bpf: add various test cases for alu op on mixed dst register types
include/linux/bpf_verifier.h | 1 + kernel/bpf/verifier.c | 61 +++++++++++--- tools/testing/selftests/bpf/test_verifier.c | 120 ++++++++++++++++++++++++++++ 3 files changed, 169 insertions(+), 13 deletions(-)
Signature · 1 line
2.9.5