summaryrefslogtreecommitdiff
path: root/include/crypto
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2026-07-21 16:52:52 -0700
committerNamhyung Kim <namhyung@kernel.org>2026-08-07 09:43:36 -0700
commit093f58e60e9548d35c9a3c2eee7223add4d81aba (patch)
tree7386c9aaa4f2a3e539fe4f1604e5e8cf97a7cba6 /include/crypto
parent505a498a3757f188fe0ddd67b2d26794e8922cc5 (diff)
downloadlinux-next-093f58e60e9548d35c9a3c2eee7223add4d81aba.tar.gz
linux-next-093f58e60e9548d35c9a3c2eee7223add4d81aba.zip
perf synthetic-events: Fix stack buffer overflow and bounds in cgroup synthesis
Fix a pre-existing stack buffer overflow bug in perf_event__synthesize_cgroup() where an in-place null padding loop wrote bytes past the end of the cgrp_root stack array buffer during cgroup tree traversal. Eliminate in-place path mutation, use PERF_ALIGN for path_len, clamp raw_path_len to prevent sample ID header trailer overruns, and use strlcpy with combined zero padding for alignment and sample ID headers. Assisted-by: Antigravity:gemini-3.5-flash Signed-off-by: Ian Rogers <irogers@google.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'include/crypto')
0 files changed, 0 insertions, 0 deletions