aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorValentin Schneider <[email protected]>2023-09-01 15:10:37 +0000
committerSteven Rostedt (Google) <[email protected]>2023-09-02 01:27:22 +0000
commit1caf7adb9e000479d2bd29c86b6d7eaeb24b1b05 (patch)
treefaa19b680ff1a3028f8f80a622037398d5392656 /tools/testing/selftests/bpf/prog_tests/autoload.c
parenttracing/filters: Fix error-handling of cpulist parsing buffer (diff)
downloadkernel-1caf7adb9e000479d2bd29c86b6d7eaeb24b1b05.tar.gz
kernel-1caf7adb9e000479d2bd29c86b6d7eaeb24b1b05.zip
tracing/filters: Fix double-free of struct filter_pred.mask
When a cpulist filter is found to contain a single CPU, that CPU is saved as a scalar and the backing cpumask storage is freed. Also NULL the mask to avoid a double-free once we get down to free_predicate(). Link: https://lkml.kernel.org/r/[email protected] Cc: Masami Hiramatsu <[email protected]> Reported-by: Steven Rostedt <[email protected]> Signed-off-by: Valentin Schneider <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions