diff options
author | Matt Bobrowski <[email protected]> | 2024-06-25 06:28:57 +0000 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2024-06-26 13:17:32 -0700 |
commit | aa293983d2020390e286544b120f3cd0a3d40749 (patch) | |
tree | a62f7dab25bae1f0f0ccd09e75b75c85ff97e2e7 /tools/perf/scripts/python/parallel-perf.py | |
parent | ec2b9a5e11e51fea1bb04c1e7e471952e887e874 (diff) |
bpf: add new negative selftests to cover missing check_func_arg_reg_off() and reg->type check
Add new negative selftests which are intended to cover the
out-of-bounds memory access that could be performed on a
CONST_PTR_TO_DYNPTR within functions taking a ARG_PTR_TO_DYNPTR |
MEM_RDONLY as an argument, and acceptance of invalid register types
i.e. PTR_TO_BTF_ID within functions taking a ARG_PTR_TO_DYNPTR |
MEM_RDONLY.
Reported-by: Kumar Kartikeya Dwivedi <[email protected]>
Acked-by: Kumar Kartikeya Dwivedi <[email protected]>
Acked-by: Eduard Zingerman <[email protected]>
Signed-off-by: Matt Bobrowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions