summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorBeata Michalska <beata.michalska@arm.com>2025-01-31 18:58:42 +0300
committerWill Deacon <will@kernel.org>2025-02-13 14:06:22 +0300
commitd923782b041218ef3804b2fed87619b5b1a497f3 (patch)
tree0d7ae430529e1ff32d81d145c8eff2cc55994e83 /tools/perf/scripts/python/export-to-sqlite.py
parent875d742cf5327c93cba1f11e12b08d3cce7a88d2 (diff)
downloadlinux-d923782b041218ef3804b2fed87619b5b1a497f3.tar.xz
arm64: amu: Delay allocating cpumask for AMU FIE support
For the time being, the amu_fie_cpus cpumask is being exclusively used by the AMU-related internals of FIE support and is guaranteed to be valid on every access currently made. Still the mask is not being invalidated on one of the error handling code paths, which leaves a soft spot with theoretical risk of UAF for CPUMASK_OFFSTACK cases. To make things sound, delay allocating said cpumask (for CPUMASK_OFFSTACK) avoiding otherwise nasty sanitising case failing to register the cpufreq policy notifications. Signed-off-by: Beata Michalska <beata.michalska@arm.com> Reviewed-by: Prasanna Kumar T S M <ptsm@linux.microsoft.com> Reviewed-by: Sumit Gupta <sumitg@nvidia.com> Reviewed-by: Sudeep Holla <sudeep.holla@arm.com> Link: https://lore.kernel.org/r/20250131155842.3839098-1-beata.michalska@arm.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions