diff options
| author | 2026-07-06 12:46:31 +0200 | |
|---|---|---|
| committer | 2026-07-15 17:35:42 +0200 | |
| commit | 49145bce539117db4b6e9e83c0e5ef528e361050 (patch) | |
| tree | 890142d9d94f8603b9b78c17bf3dfbcf6de64313 /scripts/Makefile.thinlto | |
| parent | s390/checksum: Fix csum_partial() without vector facility (diff) | |
s390/perf_cpum_cf: Add missing array_index_nospec() to __hw_perf_event_init()
ev variable is userspace controlled via event->attr.config and used
as an array index after bounds checking, but without speculation
barriers.
Add the missing array_index_nospec() call to prevent speculative
execution.
Cc: stable@vger.kernel.org
Fixes: 212188a596d1 ("[S390] perf: add support for s390x CPU counters")
Signed-off-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>
Acked-by: Thomas Richter <tmricht@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
