diff options
| author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2026-04-10 19:08:57 -0300 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2026-04-13 23:21:53 -0700 |
| commit | 4ba223016b0be7ec11aad63f480cd251cecad594 (patch) | |
| tree | b39a806f5bc0c723a2bfe59a2a12146a651edb25 /scripts/patch-kernel | |
| parent | 22a2e2b29217455cf337c765fc26ad2f55d7291a (diff) | |
perf header: Sanity check HEADER_NUMA_TOPOLOGY
Add validation to process_numa_topology() to harden against malformed
perf.data files:
- Upper bound check on nr_nodes (max 4096)
- Minimum section size check before allocating
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Ian Rogers <irogers@google.com>
Assisted-by: Claude Code:claude-opus-4-6
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
