diff options
| author | Sumanth Korikkar <sumanthk@linux.ibm.com> | 2026-07-06 12:46:31 +0200 |
|---|---|---|
| committer | Vasily Gorbik <gor@linux.ibm.com> | 2026-07-15 17:35:42 +0200 |
| commit | 49145bce539117db4b6e9e83c0e5ef528e361050 (patch) | |
| tree | 890142d9d94f8603b9b78c17bf3dfbcf6de64313 /scripts/objdump-func | |
| parent | 4bb06b60d982355e22647b3d12d6619419f8c1fa (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/objdump-func')
0 files changed, 0 insertions, 0 deletions
