summaryrefslogtreecommitdiff
path: root/include/asm-powerpc/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2026-03-12 12:43:05 -0700
committerPeter Zijlstra <peterz@infradead.org>2026-04-02 13:49:16 +0200
commitdbde07f06226438cd2cf1179745fa1bec5d8914a (patch)
tree172e925be1d6d80e3f2abddf2ff420cc164bb63f /include/asm-powerpc/git@git.tavy.me:linux.git
parent7aaa8047eafd0bd628065b15757d9b48c5f9c07d (diff)
perf/x86: Fix potential bad container_of in intel_pmu_hw_config
Auto counter reload may have a group of events with software events present within it. The software event PMU isn't the x86_hybrid_pmu and a container_of operation in intel_pmu_set_acr_caused_constr (via the hybrid helper) could cause out of bound memory reads. Avoid this by guarding the call to intel_pmu_set_acr_caused_constr with an is_x86_event check. Fixes: ec980e4facef ("perf/x86/intel: Support auto counter reload") Signed-off-by: Ian Rogers <irogers@google.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Thomas Falcon <thomas.falcon@intel.com> Link: https://patch.msgid.link/20260312194305.1834035-1-irogers@google.com
Diffstat (limited to 'include/asm-powerpc/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions